Total Pageviews

Showing posts with label ST7735. Show all posts
Showing posts with label ST7735. Show all posts

Tuesday, July 3, 2018

128x160 1.8" TFT display with ST7735 controlled by ESP32

   I give an 1.8" TFT display with 128x160 resolution. It use ST7735 as driver.
   I wanted to use together with an ESP32 development board and first I search information about this connexion but just two article and an topic on Arduino forum was usefull.
   First usefull article was 128×128 Colour LCD to ESP32 from www.xtronical.com. Schematic for connexion is
It used Xtronical ST7735 library derivated from Adafruit ST7735 library... I tested, but I can't display all info in all four modes (0, 90, 180 and 270 degree) even if I change resolution in library as 128x160 not 128x128.
  I made 128x160 1.8" TFT display with ST7735 controlled by ESP32 to be more clear
   In article Cheap 1.77 Inch TFT-screen on ESP32 from https://www.hackster.io/ and  an topic on Arduino forum I discover Bodmer's TFT_eSPI library. After few time testing, I can see ok info on display.
   My changed User_Setup.h works fine for me, see in 128x160 1.8" TFT display with ST7735 controlled by ESP32 (2)


Wednesday, November 30, 2016

Another adjusting clock with alarm, hygrometer & thermometer on 1.8" ST7735 display

   I use feature from article Another adjusting clock with alarm & thermometer using DS3231 on 1.8" ST7735 display and change reading internal temperature of DS3231 with DHT22 senzor (AM2302), but you can use a cheaper and not very precise DHT11 senzor.
   Schematic is now:
   My test montage is
   By using educ8stv_rtctft160_alarm_dht.ino or much better educ8stv_rtctft160_alarm_eeprom_dht.ino sketch, on display you can see: name of day, date, hour clock, hour alarm, temperature and humidity
   In another adjusting clock with alarm, thermometer & hygrometer using DS3231 on 1.8" ST7735 display you can see info on display and hoe change/adjust hour, data, hour alarm, activate and deactivate alarm, etc:
   Alse, I made another movie, named another adjusting clock with alarm, thermometer & hygrometer using DS3231 on 1.8" ST7735 display (2), where I try to explain more detailed the feature of this clock...

Tuesday, November 22, 2016

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 !!!