ESP32 to TFT ILI9341 PLEASE NEED YOUR HELP!

Dear members,

This is my first time posting a technical question on such matter, so please be understanding if I did not include something that could help you help me. :slight_smile:

I am trying to implement the following setup:

esp32 wroom 32 type C connected to 2.8" TFT ILI9341 display.

My true physical pin connections are:

#define TFT_MOSI 23
#define TFT_SCLK 18
#define TFT_CS 15
#define TFT_DC 2
#define TFT_RST 4

The problem that I am most likely experiencing lies within the code that I am using. I have found an interesting project for my railway system that outputs live train data. This repository can be found here, but I will link the code I am using additionally:

Project: [GitHub - florianlederer/mvv-display-for-ESP32: Show the departures for your station. Only for MVV.]

My code and TFT library edits: [GitHub - Cristian369/MVVProject]

The problem is that the project uses a TTGO 135x240 screen and the code is written for it. After multiple attempts I managed to expand the screen to the needed dimensions (240x320).

Currently, what I am seeing on my screen is a black backlit image which writes "Shutting Down" in green periodically. I am trying hard to understand what the problem is with my code that does not allow me to output the result show in GitHub project.

I would highly appreciate any input and how I can solve this problem. I have provided the type of ESP32 I am using and the display in the “Updated” file under my pinouts. This information is crucial to understanding what’s going on. Thank you very much in advance!

Hi @liltft ,
Welcome to the forum..

sounds like the button handler is going off repeatedly..
no idea on them buttons, never used that lib before..
as a quick test, try commenting out like below in your setup function..

// button_init();

you don't have a file extension in your git like Updated.ino..
it's all white, no coloring as a result..

commenting out that line, i'm hoping will disable the buttons, which by looking at the code, displays the shutdown message and tries to enter deep sleep..
instead it should display whatever it's suppose too, get that going then work again on buttons an sleep modes..

good luck.. ~q

Hi! Thank you so much for your response! Already tried that and all it does is prevent the “Shutting Down” window from appearing. But what I need is for it to display what the project is showcasing - which is live position of trains. I’m kinda lost as to what could be the problem. Either the pinouts or a faulty code. The wifi module is tested and working fine.

Nothing else is displayed on the screen??

What is written to the serial monitor??

~q

I moved your topic to a more appropriate forum category @liltft.

The Nano ESP32 category you chose is only used for discussions directly related to the Arduino Nano ESP32 board.

In the future, please take the time to pick the forum category that best suits the subject of your question. There is an "About the _____ category" topic at the top of each category that explains its purpose.

Thanks in advance for your cooperation.

The serial monitor ourputs rex1 POWERON 0x13 and then a bunch of gibberish.

really??
is the baud rate correct??

is something more like this..

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)

either way sounds like you are triggering an error..
the actual message is needed..

check the board, make simple sketch and blinks the onboard led or try one of the demos from the screen lib..

sorry.. ~q

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.