logo elektroda
logo elektroda
X
logo elektroda

How to connect ESP32 to ILI9341 display? ArduinoIDE does not display errors.

Atypowy256 2259 11
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 19954334
    Atypowy256
    Level 3  
    Hello,
    I have recently purchased an esp32 and would like to replace it in my project, which is on an arduino mega 2560. The problem is that I have no idea how to connect the esp32 to the Ili9341 display. Connecting everything according to some tutorial, the display lights up but does not display anything.
    The ArduinoIDE does not display any errors.
    Esp32: https://allegro.pl/oferta/esp-wroom-32-esp-32-wifi-bluetooth-microusb-esp32-9940443730
    Do you have a problem with Arduino? Ask question. Visit our forum Arduino.
  • ADVERTISEMENT
  • ADVERTISEMENT
  • #3 19954444
    Atypowy256
    Level 3  
    khoam wrote:
    Have you used this guide? Link
    .
    Not yet, thanks for the info. Will try it tomorrow.
  • ADVERTISEMENT
  • #4 19955345
    Atypowy256
    Level 3  
    Unfortunately nothing helped, when I uploaded the code the display glows grey and there is a thin line of the background colour I set.
  • #5 19955450
    khoam
    Level 42  
    Post maybe a picture of the underside of this display module or a link to this particular model. Did it work correctly with the mega 2560?
  • #6 19955656
    Atypowy256
    Level 3  
    khoam wrote:
    Maybe post a picture of the underside of this display module

    How to connect ESP32 to ILI9341 display? ArduinoIDE does not display errors. How to connect ESP32 to ILI9341 display? ArduinoIDE does not display errors. How to connect ESP32 to ILI9341 display? ArduinoIDE does not display errors. .
  • ADVERTISEMENT
  • #7 19955806
    khoam
    Level 42  
    How do you power this display module?
  • #8 19955825
    Atypowy256
    Level 3  
    khoam wrote:
    How do you power this display module?
    .
    This is how I have it connected:
    How to connect ESP32 to ILI9341 display? ArduinoIDE does not display errors. .
  • #9 19955833
    khoam
    Level 42  
    What pin on the ESP32 do you have power connected to for the display module? This picture is poorly readable.
  • #10 19955837
    Atypowy256
    Level 3  
    The Vcc of the display is connected together with the LED to 3.3v in the esp32.
  • #11 19955843
    khoam
    Level 42  
    Then, if this display is to operate with a 3V3 supply, the connector (pad) J1 on the display module should be shorted:

    How to connect ESP32 to ILI9341 display? ArduinoIDE does not display errors. .
  • #12 19958571
    Atypowy256
    Level 3  
    khoam wrote:
    If this display is to operate with a 3V3 supply, then connector (pad) J1 on the display module should be shorted:

    How to connect ESP32 to ILI9341 display? ArduinoIDE does not display errors.
    .
    Soldering and connecting the VCC to the VIN worked, thanks!

Topic summary

The discussion revolves around connecting an ESP32 to an ILI9341 display. The user initially faced issues with the display lighting up but not showing any content, despite no errors in the Arduino IDE. Various troubleshooting steps were suggested, including checking the power connections and ensuring the display module was compatible with the ESP32's 3.3V output. A critical solution involved soldering and connecting the display's VCC to the VIN, which resolved the issue and allowed the display to function correctly.
Summary generated by the language model.
ADVERTISEMENT