Edzelf / Esp-radio

Internet radio based on Esp8266 and VS1053.
MIT License
618 stars 200 forks source link

ESP32+ILI9341 Wiring #179

Open AlexVichter opened 4 years ago

AlexVichter commented 4 years ago

Dear Ed, your Web Radio ESP32 project supports the ILI9341 display. I can find in your description only the wiring diagram for the Display with the following pins: D/C (A0), CLK/SCK, DIN/SDA CS GND BL VCC RST pins

But my display 3.2 TFT SPI 240x320 ILI9341 has another pins: SDO(MISO) LED SCK SDI(MOSI) DC RESET CS GND VCC http://www.lcdwiki.com/images/thumb/c/c4/MSP3218-021.jpg/500px-MSP3218-021.jpg

Can you please advise the wiring diagram for this variant to ESP32 device according to the actual .ino sketch?

Should I change any variables in your .ino sketch to adopt my ILI9341? If yes, which file and which lines in it?

Perhaps my questions are stupid, but I cannot find this information in project files.

Thanks a lot for your help and support!

Derek-K commented 3 years ago

I have ILI9341 connected to ESP8266 (not ESP32) You might want to take a look at ESP32-Radio project and get help from there.

But I can share some of my experience here... Pin D/C(A0) = DC Pin BL, That's the backlight, usually, you can just connect to 3.3V Pin SDI(MOSI) = DIN/SDA Pin SDO(MOSI), totally optional, not needed for TFT operation

But you will also need to use the correct TFT LCD library. The easiest approach is to use TFT_eSPI, with very minimal change to the original code.