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)


5 comments:

  1. Hi Nicu!
    It looks like you really like ST7735 screens because you do a lot of sketching with them!
    I really enjoyed your ESP32 Clock project but the screens I own are ILI9341 and ILI9488, so I would like to know what I should change or add to the sketch to fit it for my screen, for example, ILI9341 2.8". Thanks

    ReplyDelete
  2. I think is not possible the changes, because is used a custom library... you must search more deep on internet

    ReplyDelete
  3. Change lines 626 and 632 in the file XTronical_ST7735.cpp.
    rowstart = 32; to rowstart = 0;. Now your problem should be solved.

    ReplyDelete
  4. Thanks for sharing this blog. Very useful Post. Contact STONE Tech for tft lcd modules

    tft lcd modules

    ReplyDelete