Trying to remember but I think I've only ever used the tft screens on 3.3v boards the Due, Teensy and ESP's. Didn't even notice if there was a jumper on my display. I'm really enjoying playing with the ESP32. Keep up the good work......
I have also been told if you are using the SDCard on 3.3V you want to remove the resistors R1, R2, R3 as they are there to protect the SDCard from 5V SPI and will interfere with 3.3V SPI.
My man! That was it. I've been playing with those screens on stm32 and raspberry pi for some time now, just tried to use SD card reader for the first time and the screen crashed. My guess was that the spi on both are somehow shared and I can't talk to it with two SPI on my mcu at different speeds. BUT! Then I found this, soldered the jumper and it works! BIG THANKS!
Man, thank you. This saves my day. I was sure i had done my wiring right... But the touch only works sometimes or after along while powered up. With this tweak my application works flawlessly! Big thumbs Up!
@@XTronical yes. Kept reporting no SD card mounted randomly.. I was PWM the lcd light. That was causing voltage fluctuations I guess. Not had it happen since shorting the j1
God blesses you, i was using stm32 blue pill with ili9341 2.8 inch v1.2 and after i connected j1 it fixed my problem and it recocnized the sd card, thank you so mutch
Wow! Very awesome! I'm just starting with the ESP32. And I'm now learning and having to do new things. Arduino was straight forward. But the ESP32 you gotta go a little further. But this would have made me give up. Very good to know! I just got the ILI9341 up and running with the demos. Thanks for the video!
Thanks for sharing! I was using an ST7796 and was pulling my hair out as to why the SD Card wasn't working even if I had your code in another video copied. This was what I was missing!
Thanks for the video. To recap. The ESP32 VIN is 5VDC. I connect the 3.3 VDC (pin 16) to the IL19341 VCC pin. With this power supply arrangement, both the display and the touch screen work correctly. I have had erratic results with the SD card. Sometimes, the JPG files are displayed correctly and other times nothing is displayed. Does the SD require 5VDC? Thanks
Do these screens have logic level conversion for the sdcard data pins in case you power them with 5V? I never used the sdcard because I don't think they do
I got a new one in the post. 2.4" with touch screen + SD. Says "V1.3" on it. different PCB layout and different (visually) screen make. It doesn't work. Spent hours debugging it. Then swapped it like for like on the breadboard for another one without touch. Worked instantly. Swap back to the new V1.3, nothing, just white screen. I suppose this is the way with these chinese modules. For every few batches of fine ones, there is a batch of garbage.
uuuuuhm. Well, tried this, and when inserting an SD-Card it fried my Esp32 instantly. Lots of "brownout detector triggered" messages, and that was the last thing I heard from the device. I really have no idea why. I do get the idea of bypassing the voltage regulator if you power the screen with 3.3v anyways - still, for me it did just harm the setup. You might not have any idea or suffered from the same effect at any point?
Yeah, will. If not, by any chance, there's 5v coming from wemos d1 minis 3.3v port, I've no idea. Will triple check, thanks anyway! It's a journey, every single time 🙂
Man, thanks a Lot! I was checking and rechecking all 😅! I would like to aski something: I was trying to use another esp32 gpios like: SD_CS = GPIO32 SD_MOSI = GPIO33 SD_MISO = GPIO25 SD_SCK = GPIO26 I have initialized all without any problems, but esp32 could not run the firmware after i flashed it. It's work just if I force a reboot from button dev kit. I was wondering why it's happened. If I use the default gpio communications, with SPI, works all fine.
I double checked those gpios and can't see any problems. I did have a problem a few weeks ago where I couldn't upload and switch some connections around and all worked fine but I can't remember what the connections were. Sorry can't be more helpful
I'm confused here! The VCC voltage was not mentioned. I have an ESP-32 dev board. I have connected the 5V pin on the dev board to VCC on the ILI9341 board. Were you connecting 3.3V or 5V to the VCC pin on the ILI9341 board. Thanks.
Hello, me again, sorry, the 2.4'' screen did not work so I decided to buy the 2.8'' the same as yours. Now on the serial monitor I get "Card Mount Failed", do you know what could be the problem?
Did you try the hardware mod suggested on the back of the board to basically disable the voltage regulator on the screen? Also check your size of memory card. There's a max limit, think it's 32gb, could be 16, can't quite remember. Fairly sure 32. Bigger than this and won't work. I tend to use 8gb cards. Nice and cheap.
Hey Xtronical, using our videos I have been able to fill the screen via code. i have the same display but with backlight support. aka the ST7789V driver. I updated my User setup to make it work. but now I also bridged the gap between the joints but when i insert a sd card my esp disconnects from the pc. do you have any idea as to why? P.S. having it not bridged makes it so that i cant mount an sd card
Yes, it could be done. But would require some form of communication between the two to ensure they don't access at the same time. Doable but not trivial.
I am using these on DUE which is 3.3v by default,should I still modify this?, the SD card does not initialize currently, while I have connected screen and SD card to SPI pins and CS 4,10 pins of DUE,and use SPI.begin(4) and for 10,but does not work.
@@XTronical Thanks for your reply no it is connected to 5V of Due's SPI, Main LCD to SPI1 and SD to the extended SPI, but whatever I tried,card does not initialize
@@XTronical it has extended SPI ,which could be initialised from setup by SPI.begin(CS), SPI ports offer 5V and gnd for the client, the TFT works on one SPI port ,but SD fails to initialize on 2nd port, there are few documents available,
i just uncomment what you said in the video, is that ok ? i conected the sd's cs pin to pin 5, and the screen's cs pin to pin 15 #define TFT_MISO 19 #define TFT_MOSI 23 #define TFT_SCLK 18 #define TFT_CS 15 // Chip select control pin #define TFT_DC 2 // Data Command control pin #define TFT_RST 4 // Reset pin (could connect to RST pin) //#define TFT_RST -1 // Set TFT_RST to -1 if display RESET is connected to ESP32 board RST // For ESP32 Dev board (only tested with GC9A01 display) // The hardware SPI can be mapped to any pins //#define TFT_MOSI 15 // In some display driver board, it might be written as "SDA" and so on. //#define TFT_SCLK 14 //#define TFT_CS 5 // Chip select control pin //#define TFT_DC 27 // Data Command control pin //#define TFT_RST 33 // Reset pin (could connect to Arduino RESET pin) //#define TFT_BL 22 // LED back-light
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:1 load:0x3fff0030,len:1344 load:0x40078000,len:13964 load:0x40080400,len:3600 entry 0x400805f0 SD Card Type: SDHC SD Card Size: 7680MB initialisation done. ERROR: File "220_30fps.mjpeg" not found! ERROR: File "220_15fps.gif" not found! ERROR: File "rishabh.avi" not found! ERROR: File ".fe_tmp" not found! ERROR: File "risha.jpg" not found! ERROR: File "cropped_11zon.jpg" not found! ERROR: File "risha.jpeg" not found! ERROR: File "220_30fps.mjpeg" not found! ERROR: File "220_15fps.gif" not found! ERROR: File "rishabh.avi" not found! ERROR: File ".fe_tmp" not found! serial monitor output, its it not able to open it.
Trying to remember but I think I've only ever used the tft screens on 3.3v boards the Due, Teensy and ESP's. Didn't even notice if there was a jumper on my display.
I'm really enjoying playing with the ESP32.
Keep up the good work......
Thank you, appreciated, I love the esp32, my favourite
I have also been told if you are using the SDCard on 3.3V you want to remove the resistors R1, R2, R3 as they are there to protect the SDCard from 5V SPI and will interfere with 3.3V SPI.
Really, that's interesting. Never had problems but if I do will give it a go.
My man! That was it.
I've been playing with those screens on stm32 and raspberry pi for some time now, just tried to use SD card reader for the first time and the screen crashed. My guess was that the spi on both are somehow shared and I can't talk to it with two SPI on my mcu at different speeds.
BUT! Then I found this, soldered the jumper and it works!
BIG THANKS!
This was just what I needed! Thanks for this quick but, as always, clear video!
That's very kind, thank you
Man, thank you. This saves my day. I was sure i had done my wiring right... But the touch only works sometimes or after along while powered up. With this tweak my application works flawlessly! Big thumbs Up!
Thanks for sharing!! Pretty sure I have had this issue and even trashed a screen because I thought it was faulty.
Oh no,least future screens might be saved 😁
@@XTronical i have ILI9225 and sd card not working with arduino if i connect the jumper it will work?
Brilliant!!! I was experiencing issues.. will try this tomorrow. Thanks
Fingers crossed. Let me know how you get on, what were the issues, was it the SD card like mine?
@@XTronical yes. Kept reporting no SD card mounted randomly.. I was PWM the lcd light. That was causing voltage fluctuations I guess. Not had it happen since shorting the j1
Brilliant
God blesses you, i was using stm32 blue pill with ili9341 2.8 inch v1.2 and after i connected j1 it fixed my problem and it recocnized the sd card, thank you so mutch
i have ILI9225 and sd card not working with arduino if i connect the jumper it will work?
Note as well ... not all of these have the touch control chip. Your small one doesn't. The large one does.
Wow! Very awesome!
I'm just starting with the ESP32. And I'm now learning and having to do new things. Arduino was straight forward. But the ESP32 you gotta go a little further.
But this would have made me give up. Very good to know!
I just got the ILI9341 up and running with the demos.
Thanks for the video!
Your welcome, thanks for the feedback
These "standard"breakout boards are a bit annoying to use with 3.3V devices. Question: Is the big flat chip (U2 on the big screen) a level shifter?
It's the xpt2046, a touch screen controller. Had to get my magnifier out!
I have the marauder installer on my esp32, I use this tft screen, but I always get a message, I don't initialize the sd card
Thanks for sharing! I was using an ST7796 and was pulling my hair out as to why the SD Card wasn't working even if I had your code in another video copied. This was what I was missing!
Great when something helps.
Nice info, well done, and thanks for the heads-up will save a lot of time.
Thanks for the video. To recap. The ESP32 VIN is 5VDC. I connect the 3.3 VDC (pin 16) to the IL19341 VCC pin.
With this power supply arrangement, both the display and the touch screen work correctly. I have had erratic results with the SD card. Sometimes, the JPG files are displayed correctly and other times nothing is displayed. Does the SD require 5VDC?
Thanks
I have same problem.
Do these screens have logic level conversion for the sdcard data pins in case you power them with 5V? I never used the sdcard because I don't think they do
Mmmm.... You may be right I've never investigated, I'm not near one right now. I'll try to remember to see if I can see tomorrow.
I got a new one in the post. 2.4" with touch screen + SD. Says "V1.3" on it. different PCB layout and different (visually) screen make. It doesn't work. Spent hours debugging it. Then swapped it like for like on the breadboard for another one without touch. Worked instantly. Swap back to the new V1.3, nothing, just white screen. I suppose this is the way with these chinese modules. For every few batches of fine ones, there is a batch of garbage.
Yes, very possibly. The heart pulse sensors are also very hit and miss. Least they used to be.
uuuuuhm. Well, tried this, and when inserting an SD-Card it fried my Esp32 instantly. Lots of "brownout detector triggered" messages, and that was the last thing I heard from the device. I really have no idea why. I do get the idea of bypassing the voltage regulator if you power the screen with 3.3v anyways - still, for me it did just harm the setup. You might not have any idea or suffered from the same effect at any point?
No, never happened, done it around 3 times. I'd double check everything, ensure 5v wasn't getting through somewhere to your esp32.
Yeah, will. If not, by any chance, there's 5v coming from wemos d1 minis 3.3v port, I've no idea. Will triple check, thanks anyway! It's a journey, every single time 🙂
Man, thanks a Lot! I was checking and rechecking all 😅!
I would like to aski something:
I was trying to use another esp32 gpios like:
SD_CS = GPIO32
SD_MOSI = GPIO33
SD_MISO = GPIO25
SD_SCK = GPIO26
I have initialized all without any problems, but esp32 could not run the firmware after i flashed it. It's work just if I force a reboot from button dev kit. I was wondering why it's happened.
If I use the default gpio communications, with SPI, works all fine.
I double checked those gpios and can't see any problems. I did have a problem a few weeks ago where I couldn't upload and switch some connections around and all worked fine but I can't remember what the connections were. Sorry can't be more helpful
I'm confused here! The VCC voltage was not mentioned.
I have an ESP-32 dev board. I have connected the 5V pin on the dev board to VCC on the ILI9341 board.
Were you connecting 3.3V or 5V to the VCC pin on the ILI9341 board.
Thanks.
3.3v pin to ili9341, sorry for any confusion
@@XTronical No problem, thanks for replying. And thanks very much for your videos.
Hello, me again, sorry, the 2.4'' screen did not work so I decided to buy the 2.8'' the same as yours. Now on the serial monitor I get "Card Mount Failed", do you know what could be the problem?
Did you try the hardware mod suggested on the back of the board to basically disable the voltage regulator on the screen? Also check your size of memory card. There's a max limit, think it's 32gb, could be 16, can't quite remember. Fairly sure 32. Bigger than this and won't work. I tend to use 8gb cards. Nice and cheap.
Great info, thanks for sharing
Hey Xtronical, using our videos I have been able to fill the screen via code. i have the same display but with backlight support. aka the ST7789V driver. I updated my User setup to make it work. but now I also bridged the gap between the joints but when i insert a sd card my esp disconnects from the pc. do you have any idea as to why? P.S. having it not bridged makes it so that i cant mount an sd card
extra info. I grabbed my second display which is the same and not bridged. when I insert the sd card the screen goes black
May I know if two esp32 can be connected to one sd card? If so, how to connect it? Please help me know about it.
Yes, it could be done. But would require some form of communication between the two to ensure they don't access at the same time. Doable but not trivial.
I am using these on DUE which is 3.3v by default,should I still modify this?, the SD card does not initialize currently, while I have connected screen and SD card to SPI pins and CS 4,10 pins of DUE,and use SPI.begin(4) and for 10,but does not work.
If you are powering the screen with that 3.3v then yes, you should do the alt.
@@XTronical Thanks for your reply no it is connected to 5V of Due's SPI, Main LCD to SPI1 and SD to the extended SPI, but whatever I tried,card does not initialize
I'm not familier with the DUE, are you sure the spi runs at 5v? Sorry I can't help more.
@@XTronical it has extended SPI ,which could be initialised from setup by SPI.begin(CS), SPI ports offer 5V and gnd for the client, the TFT works on one SPI port ,but SD fails to initialize on 2nd port, there are few documents available,
The Gold Nugget" here:" 1:17
Why the SD card reader didn't work on the 2.4'' screen? I have the same screen and when I plug in the SD card the screen turns black.
Make sure different chip select lines for sd card and screen. They can share the other connections but not chip select
@@XTronical do you mean in the user setup?
i just uncomment what you said in the video, is that ok ? i conected the sd's cs pin to pin 5, and the screen's cs pin to pin 15
#define TFT_MISO 19
#define TFT_MOSI 23
#define TFT_SCLK 18
#define TFT_CS 15 // Chip select control pin
#define TFT_DC 2 // Data Command control pin
#define TFT_RST 4 // Reset pin (could connect to RST pin)
//#define TFT_RST -1 // Set TFT_RST to -1 if display RESET is connected to ESP32 board RST
// For ESP32 Dev board (only tested with GC9A01 display)
// The hardware SPI can be mapped to any pins
//#define TFT_MOSI 15 // In some display driver board, it might be written as "SDA" and so on.
//#define TFT_SCLK 14
//#define TFT_CS 5 // Chip select control pin
//#define TFT_DC 27 // Data Command control pin
//#define TFT_RST 33 // Reset pin (could connect to Arduino RESET pin)
//#define TFT_BL 22 // LED back-light
@@jumbo999614 did you found the solution?
Perfect solution
I will try it
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1344
load:0x40078000,len:13964
load:0x40080400,len:3600
entry 0x400805f0
SD Card Type: SDHC
SD Card Size: 7680MB
initialisation done.
ERROR: File "220_30fps.mjpeg" not found!
ERROR: File "220_15fps.gif" not found!
ERROR: File "rishabh.avi" not found!
ERROR: File ".fe_tmp" not found!
ERROR: File "risha.jpg" not found!
ERROR: File "cropped_11zon.jpg" not found!
ERROR: File "risha.jpeg" not found!
ERROR: File "220_30fps.mjpeg" not found!
ERROR: File "220_15fps.gif" not found!
ERROR: File "rishabh.avi" not found!
ERROR: File ".fe_tmp" not found!
serial monitor output, its it not able to open it.
never worked for me :(