Impeccable timing. I was just about to look into displaying an image from SD card and I see this in my subscriber feed. Spot on! Looking forward to your next video as well with the custom bitmap loading, decoding and displaying, as well as the file system. Thanks!
I have tripple checked the wiring and only get an all white screen with the serial error being printed "SD begin() failed" Anything else I could be doing wrong? Is there any way to check that the screen is working in other ways by trying to draw a square or something for example? Is it possibly my SD card is not formatted right? Any other ways to check for the error? Thank you!
Are you using ESP32 with the screen? Are you using breadboard? Check your breadboard and wires. I got everything work except SD card when using the screen with ESP32/NodeMCU ESP8266. I found the solution on the internet that require you to solder the tft board that bypass voltage regulator. I haven't tried it because I'm afraid it might fry both of my ESP32 and TFT screen.Another method is store you files on ESP32 internal memory using LittleFS library and avoid all SD troubles.
With the BMP files on the SD card, is there a need to include the forward slash ("/logo.bmp") before the file name as you did...???? ....or can we just name it as ("logo.bmp") ...??? I now have an ILI9341 TFT with SD card and a DS3231 RTC and trying to start on the birthday clock. Idea is, as before, look at names and dates in a struct and display the photo of the person who's birthday it is, on the given day. If I just write the image to the screen the one time, will it then stay there until I write something else when the date no longer matches?
The backslash is probably not needed - try it to find out. Sounds like a great project. Yes, the image will stay there until you write something else to the screen, or the screen is reset or powered off.
@@BytesNBits Thanks....yes, project is a bit over my head but will see how I go. Intention is to break the programming up into sections and combine into one as I get sections to work successfully.
Yes, but you'll need to code it. Basically you can convert an image file to a base64 text string, send that down to the arduino over the serial channel and have it decode it back to the image data. There may well be libraries already written to do this sort of thing.
@BytesNBits Hi. Thanks for your answer but its doesnt work, the SD card wont start. I think i have to change the SD library config files or have to use the Arduino memory to insert the icons i need for my project.
The download button was hidden down the bottom and with the wrong text on the button. It's a bit more obvious now. Thanks for finding that. Hope you get it working.
Been working on changing one of my projects, birthday clock, to display peoples photo on given dates from an RTC and looking at how you display the bmp. See how it goes....Cheers@@BytesNBits
For everyone in this proyect using a ESP32 instead of a Arduino uno, replace this: if(!SD.begin(SD_CS)){ with this: if(!SD.begin(SD_CS, SD_SCK_MHZ(25))) {
Make sure you've got all the libraries up to date and included into your sketch at the top of the listing. Then make sure all the pins are correctly assigned. After that it should compile and run.
I bought a TFT SD7735S display which appears the similar to yours here (not touch screen thought) but, even trying 3 different software sketches, I cannot get anything to display other than a screen full of minute different coloured pixels. The software is correctly loading the 128 x 160 bmp images (24 bit) from the sd card as far as I know given the readout from the serial monitor. I was hoping to use this or any slide show in a birthday clock however cannot get past the first requirement. Original sketch writer did not link to a particular library which I think could be the problem. Also all attempts to get an answer have been zero reply. Can only imagine the number of libraries out there and getting the correct one is like a needle in a haystack. video I used ...... th-cam.com/video/X8syt55ITUo/w-d-xo.html
Where I load a library for the ILI9341 you'll need to load one for the SD7735S. The library I used may well have the code for your chip, you'll have to check the documentation. Once you've got a working driver you should be OK.
Impeccable timing. I was just about to look into displaying an image from SD card and I see this in my subscriber feed. Spot on! Looking forward to your next video as well with the custom bitmap loading, decoding and displaying, as well as the file system.
Thanks!
Glad it was helpful! Bitmap decoding video is just processing in TH-cam at the moment.
Very good. I appreciate your video. Thank you for sharing and taking the time to help us out!
Glad it was helpful!
I have tripple checked the wiring and only get an all white screen with the serial error being printed
"SD begin() failed"
Anything else I could be doing wrong? Is there any way to check that the screen is working in other ways by trying to draw a square or something for example? Is it possibly my SD card is not formatted right? Any other ways to check for the error?
Thank you!
I have a couple of othet videos that focus on getting the screen and touchpanel working. Try those to confirm the device is OK.
Are you using ESP32 with the screen? Are you using breadboard? Check your breadboard and wires.
I got everything work except SD card when using the screen with ESP32/NodeMCU ESP8266.
I found the solution on the internet that require you to solder the tft board that bypass voltage regulator.
I haven't tried it because I'm afraid it might fry both of my ESP32 and TFT screen.Another method is store you files on ESP32 internal memory using LittleFS library and avoid all SD troubles.
With the BMP files on the SD card, is there a need to include the forward slash ("/logo.bmp") before the file name as you did...???? ....or can we just name it as ("logo.bmp") ...???
I now have an ILI9341 TFT with SD card and a DS3231 RTC and trying to start on the birthday clock.
Idea is, as before, look at names and dates in a struct and display the photo of the person who's birthday it is, on the given day.
If I just write the image to the screen the one time, will it then stay there until I write something else when the date no longer matches?
The backslash is probably not needed - try it to find out. Sounds like a great project. Yes, the image will stay there until you write something else to the screen, or the screen is reset or powered off.
@@BytesNBits Thanks....yes, project is a bit over my head but will see how I go. Intention is to break the programming up into sections and combine into one as I get sections to work successfully.
Hello is it possible to display an image file on the computer to the arduino lcd screen without having to upload to eeprom or sd card?
Yes, but you'll need to code it. Basically you can convert an image file to a base64 text string, send that down to the arduino over the serial channel and have it decode it back to the image data. There may well be libraries already written to do this sort of thing.
Hello. Nice video. But for Arduino Mega it would be great
The code should work on the Mega. You just need to alter the IO pins it uses to make sure you're using the SPI channel on the Mega, etc.
@BytesNBits Hi. Thanks for your answer but its doesnt work, the SD card wont start. I think i have to change the SD library config files or have to use the Arduino memory to insert the icons i need for my project.
Nice!
Thank you! Cheers!
Could not find complete code on the link "circuit diagrams and code".
The download button was hidden down the bottom and with the wrong text on the button. It's a bit more obvious now. Thanks for finding that. Hope you get it working.
Been working on changing one of my projects, birthday clock, to display peoples photo on given dates from an RTC and looking at how you display the bmp. See how it goes....Cheers@@BytesNBits
Nice!
very thank you sir
You're welcome!
Hello sir, does this work with an esp32? I am completely new to this and struggling with my project.
Hi. Yes. The Arduino library should be fine but you'll need to remap the pins to the correct ones for the ESP32.
@@BytesNBits Thank you so much for replying sir, a really helpful video..
For everyone in this proyect using a ESP32 instead of a Arduino uno, replace this:
if(!SD.begin(SD_CS)){
with this:
if(!SD.begin(SD_CS, SD_SCK_MHZ(25))) {
Thanks for the code. That's a great help.
what is sd_sck_mhz(25)? what does it do?
Anyway, it gives me error. sd_sck_mhz not declared.
mine says SD begin() failed. why is that?
Make sure you've got all the libraries up to date and included into your sketch at the top of the listing. Then make sure all the pins are correctly assigned. After that it should compile and run.
I bought a TFT SD7735S display which appears the similar to yours here (not touch screen thought) but, even trying 3 different software sketches, I cannot get anything to display other than a screen full of minute different coloured pixels.
The software is correctly loading the 128 x 160 bmp images (24 bit) from the sd card as far as I know given the readout from the serial monitor.
I was hoping to use this or any slide show in a birthday clock however cannot get past the first requirement.
Original sketch writer did not link to a particular library which I think could be the problem.
Also all attempts to get an answer have been zero reply.
Can only imagine the number of libraries out there and getting the correct one is like a needle in a haystack.
video I used ...... th-cam.com/video/X8syt55ITUo/w-d-xo.html
Where I load a library for the ILI9341 you'll need to load one for the SD7735S. The library I used may well have the code for your chip, you'll have to check the documentation. Once you've got a working driver you should be OK.