ASAP! My esp32 and TFT don't work

I have just got my esp32, my 2.8 inch tft with touch screen and I wanted to make an esp 32 marauder. So I went on numerous apps and websites researching and after 2 days I finally got the website. I have an esp32 devkit v4 and a 2.8 inch TFT with touch and when I flashed the esp32 4 TIMES I connected it to the TFT ,but all it shows is a white screen as soon as I turn it on and nothing else. I wanted to check if I placed the pins correctly but my Arduino ide with board preferences set and port set says that it cant recognize the board. At this point I don't know what to do, because my Mac version is 10.11 other apps on my phone dont work and I don't have another computer. I have tried every pin combo but my esp32 either doesn't have the pins or lights up white. I don't know if I flashed it wrong or something but I know that everything works but every other chat I have been to I don't understand anything. My trip is in 2 days and I probably won't have time to finish it but if someone can help me out I will be very thankful.

Did the ide report a successful upload of your code?
If your board is not recognized: probably not...
Do you happen to have a M1? (Without usb-B connection?)
You cannot expect the board to do anything if the code is not uploaded. So that needs fixing first...

which specific ESP32? give a link
which specific 2.8 inch TFT display? give a link
how have you connected the TFT to the ESP32?
which display library are you using?

Where does it say that?

On the bottom of the Arduino ide

Esp32 devkit v4
2.8 inch lli9341

I did try out some YouTube tutorials with code but when I try the code it says error esp34 dev board not recognized maybe its because I'm using an older version

is it anything like HiLetgo 240X320 Resolution 2.8" SPI TFT LCD Display Touch Panel ILI9341

with the IL19341 display I used ESP32 pins

#define TFT_CS   15 
#define TFT_MOSI MOSI 
#define TFT_SCLK SCK 
#define TFT_MISO MISO 

#define TFT_DC   2
#define TFT_RST  4

with the TFT_eSPI library

The wiring is:
Vcc>3v3
Gnd>gnd
Cs>5 gpio
Reset>4 gpio
DC>2 gpio
SDI>23 gpio
Sck>18 gpio
Led>V5
Sdo>13 gpio
T_clk>13 gpio
T_cs>17 gpio
T_din>32 gpio
T_do>19 gpio
T_irq>34 gpio

I have rewired it but it's still the same, at one moment I took out something it started blinking but currently its just white with this wiring

Since my Arduino ide is not working tomorrow I'm gonna go to my mom's job computer and try install the newest Arduino ide, then flash it again and then try the define features but I don't know all the code should I just define each connected pin, what should pop out in the output?

This has some similarities to another current thread: My touchscreen does not work with ESP32 DEVKIT V2 and ili9341

Usually the touch screen controller and the tft display controller are on the same SPI bus. That means, for example, that pins T_clk (touch screen clock) and Sck (TFT display clock) are actually connected to the same pin on the ESP32.

On an SPI bus, pins SCK, MOSI and MISO are shared. Note these pins often have slightly different names depending on the peripheral. Only the chip select pin (usually CS or something similar) is unique and this is used to determine which peripheral device, in this case the touch screen controller or the TFT screen controller, is currently active on the bus.

Maybe it is a good idea to first focus on a successfull upload of the code...

AND posting your SCHEMATIC.

Yes, thank for reaching out but I am not sure what code to write I have reached out to some more people and some have responded, but I still don't understand #define functions and what to write when I go to my mom's computer.

Thank you, but I still don't know which wires have to be the same and how to connect them together because I connected them by Arduino wires and no pcb or breadboard.

have a look at sample code for a 2.8_ SPI TFT LCD Display Touch Panel ILI9341 in my-touchscreen-does-not-work-with-esp32-devkit-v2

the touch and display interfaces use common MOSI, MISO and SCK pins but separate CS pins

You will have to solve at least that one problem if you are making connections using jumper wires directly between the MCU and the screen without a bread board. That is three pairs of screen pins connect to a single pin on the MCU (for the SPI bus).

Shared SPI bus pins:
SDI and T_din are the same MCU pin (MOSI)
Sdo and T_do are the same MCU pin (MISO)
Sck and T_clk are the same MCU pin (SCK clock)

You should write nothing.
Install the ide.
Select the board.
Connect the board.
From examples choose the most simple one (the one that makes the built in led blink, or some 'hello world' example).
Compile and upload to your board.
Let us know if you have success... if not, report what happens instead...
After that it might make sense to look at your tft issues...

for now i give up until i figure out the situation with the pc but as soon as i get it i will try to get it working once again

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