Lilygo T8 1.7.1 and 3.5" TFT LCD for Arduino Uno #1230
Replies: 4 comments
-
Running the Read_User_Setup gives indication that my config is not getting applied. [D][esp32-hal-psram.c:47] psramInit(): PSRAM enabled [code] MOSI = GPIO 23 Font GLCD loaded Display SPI frequency = 27.00 |
Beta Was this translation helpful? Give feedback.
-
Found the correct place to put my defines (User_Setup.h) and now Read_User_Setup gives a sane response, however I'm still unable to get examples to run and the Read_Write test returns 2104 for all reads. [D][esp32-hal-psram.c:47] psramInit(): PSRAM enabled [code] TFT_CS = GPIO 33 TFT_D0 = GPIO 12 Font GLCD loaded [/code] |
Beta Was this translation helpful? Give feedback.
-
I've run through the ILI9341_DRIVER, ILI9341_2_DRIVER, HX8357D_DRIVER, ILI9481_DRIVER, ILI9486_DRIVER, ILI9488_DRIVER, R61581_DRIVER in an attempt to get anything back. Tried the mcufriend library as well to verify the screen and ESP32 are connected correctly (and they work fine over there). I'm sure it is settings related. |
Beta Was this translation helpful? Give feedback.
-
Well it appears I have defective screens. After getting them running on mcufriend_kbv, they freeze, reboot, don't scale correctly against the touch screen... All in all disappointing. |
Beta Was this translation helpful? Give feedback.
-
I have a pair of these screens and though I'd give a go to hooking them up to ESP-WROOM. I know I won't have any pins left, but for the purpose, that's okay. I'd just like to get a bit of use from them. Looking at a macro controller as a simple project for them.
Digging through the User_setups, I found one that looks pretty close. I modified it to replace pins 16 -> 19 and 17 -> 23.
`#define ESP32_PARALLEL
#define ILI9488_DRIVER
// ESP32 pins used for the parallel interface TFT
#define TFT_CS 33 // Chip select control pin
#define TFT_DC 15 // Data Command control pin - must use a pin in the range 0-31
#define TFT_RST 32 // Reset pin
#define TFT_WR 4 // Write strobe control pin - must use a pin in the range 0-31
#define TFT_RD 2
#define TFT_D0 12 // Must use pins in the range 0-31 for the data bus
#define TFT_D1 13 // so a single register write sets/clears all bits
#define TFT_D2 26
#define TFT_D3 25
#define TFT_D4 17
#define TFT_D5 16
#define TFT_D6 27
#define TFT_D7 14`
I tacked that into the front of the TFT_ReadWrite_Test example, and clearly I've got something wrong. All reads return a zero value.
Is there a guide, or has someone else succeeded in connecting an ESP32 to one of these? Am I missing something obvious? Thanks in advance!
Mike
Beta Was this translation helpful? Give feedback.
All reactions