Total Pageviews

Tuesday, November 22, 2016

Vintage HDLO-2416 display

original article


    I received from an enthusiast of wintage displays, Janos Baricz, a module with 5 HDLO-2416 displays.
   HDLO-2416 display was made by Avago Technologies and has this datasheet.
    After I talk with Janos, him made a module with 5 displays after test one display with sketch from http://gorgusgfx.se/?page_id=62 and IntMatrixDisp library.
    Module has this schematic:
and has different colour for eatch wire...
    First, I test sketch from http://gorgusgfx.se/?page_id=62 with next connexions:
and on displays I can see 5 texts identical:
   After that, I put CE1 at A0, CE2 at A1, CE3 la A2, CE4 at A3 and CE5 at A4.
   I write a sketch for test this schematic:
  Because this schematic need too much wires, I put an 74HC138 chipo like in docs from IntMatrixDisp library to have free more pins from Arduino:
or more detailled:
   Real montage is now
   Next step was to put an humidity and temperature sensor (DHT22/AM2302) at D12 pin.
 I use sketch from https://github.com/tehniq3/HDLO-2416/blob/master/HDLO2416_DHT1.ino and on display I see few seconds humidity and than temperature:
   Further, I put an DS3231 RTC module at i2c pins and use HDLO2416_DHT_RTC1.ino sketch.
   In movie named RTC clock with DHT weather data on HDLO-2416 display you can see how animate is display (few seconds you can see temperatura, few seconds you can see relative humidity from air, more seconds you can see data and hour):


Adjusting dual clock using DS3231 on 1.8" ST7735 display

  I change the sketch for create a dual clock (GMT/UTC and local time), but I use same schemtic as in article Adjuting clock with thermometer using DS3231 on 1.8" ST7735 display
  Last version of uploaded sketch is TFT_DualDigitalClock_RTC2.ino. Also, I made a movie named adjuting dual clock using DS3231 on 1.8" ST7735 display for see how the clock can be adjusted (hour, minute, name of day, year, month, day, difference between local time and UTC/GMT):


Wednesday, November 9, 2016

Another adjusting clock with alarm & thermometer using DS3231 on 1.8" ST7735 display

   I use some schematic as in previous article  but is different sketch.
   I adapted original sketch from educ8s.tv to use manual adjustment for date and hour, alarm. Also, I remove RTC library and use subroutines for set and read data and hour, for read inside temperature of DS3231, alse I stored in EEPROM memory hour, minute and state of alarm.
  Last sketch is educ8stv_rtctft160_alarm_eeprom.ino with all features. Also state of alarm is shown by colour of alarm value and sign:
- alarm is waiting (activated)
- alarm is off (deactivated)
- alarm is on 
   You can see how work tthis version of the clock with alarm, hour & data adjustment in movie named another adjusting clock with alarm & thermometer using DS3231 on 1.8" ST7735 display

Tuesday, November 8, 2016

Adjusting clock with alarm & thermometer using DS3231 on 1.8" ST7735 display

   In previous article I made a clock with manual adjust for date and hour, noow I put a push button for activate and deactivate alarm, also in menu I can change hour and minute for alarm.
   When alarm is activated a small sign and hour for alamr is with whilte
when alarm is deactivated sign and hour is with blue colour.
    When is time alarm (1 minute), if alarm is activate sign is red and LED is lit (instead led you can put a relay module for power a radio, a bulb light, etc)
but if you push ALARM button alarm is deactivade
   Schematic for made this clock is
and the sketch is TFT_DigitalClock_RTC1d.ino.
   I made a movie named adjuting clock with alarm & thermometer using DS3231 on 1.8" ST7735 display when you can see who the clock work:

   PS: I made some changes in last sketch to store hour and state of alarm in EEPROM memory of ATmega, see TFT_DigitalClock_RTC1e.ino !!!

Friday, November 4, 2016

Adjusting clock with thermometer using DS3231 on 1.8" ST7735 display

   I made a clock with manual adjust for data and hour without RTC library, just use subroutines.
   For 1.8"display with ST7735 driver I use TFT_ST7735 library adapted by Bodmer after Adafruit library.
   I use next schematic:
with TFT_DigitalClock_RTC1c.ino sketch (in sketch you will find links with original info about some soubroutines).
   If you push MENU button, enter in mode to adjust hours, then minutes, day of week, years, mounth, day, after that Arduino send data to DS3231 to store and after that clock will work normally, see in adjuting clock with thermometer using DS3231 on 1.8" ST7735 display movie:


Bibliography:
https://github.com/Bodmer/TFT_ST7735
http://andydoz.blogspot.ro/2014_08_01_archive.html
http://www.goodliffe.org.uk/arduino/rtc_ds3231.php
http://forum.arduino.cc/index.php?topic=398891.0
http://nicuflorica.blogspot.ro/2016/11/afisaj-tft-de-18-cu-driver-st7735b-3.html

Saturday, October 29, 2016

1.8" TFT display with ST7735B

   I buy an small 1.8" TFT display with ST7735B driver and I try to connect directly to Arduino Uno board as I see on net... but result was not good... display is almost white
and just disconnect accidentaly the GND I can see something...
   So, I search on Arduino forums and on net (article INSTRUCTABLES: Arduino TFT display and font library ) and I found a solution like Nokia 5110 monochrome display .. I put 1k resistor on each data pins to Arduino to display:
and I tested more Arduino library for this display with ST7735 driver (from Adafruit, TFT library, ucglib library, etc) and I made  move to see .. movie is named ST7735B display with Arduino board

NOTE: Original article is in roumanian language, see Afisaj TFT de 1,8" cu driver ST7735B !!!