Total Pageviews

033
144
240
343
4100
586
644
744
842
935
1032
1128
1238
1352
1437
1541
1643
1737
1838
1937
2049
2157
2240
2339
2428
2532
2642
2743
2830
2914
836504

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)


4 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