How to Display Images on your Arduino SPI LCD Screen - Easy Version!

preview_player
Показать описание
Once you've got an LCD panel and SD card connected to your Arduino you can save bitmap images to the SD card and display them on your screen. Use this for photo viewers, splash screens, logo displays or as a photo background for your control panel or buttons.

In this video I'll show you the fast and easy way to get the images from your SD card onto the LCD panel. We'll use some ready made library code to do all the heavy lifting for us.

Adafruit Tutorial

Libraries You'll Need
Adafruit_ImageReader library
Adafruit fork of the SdFat library

Circuit Diagrams and Code

How to set up your LCD screen

How to set up your SD card
Рекомендации по теме
Комментарии
Автор

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!

patrickk
Автор

Very good. I appreciate your video. Thank you for sharing and taking the time to help us out!

hossman
Автор

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.

jeffbluejets
Автор

Could not find complete code on the link "circuit diagrams and code".

jeffbluejets
Автор

mine says SD begin() failed. why is that?

tantarantantan_
Автор

Hello sir, does this work with an esp32? I am completely new to this and struggling with my project.

aspirin
Автор

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?

DiyintheGhetto
Автор

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?

jeffbluejets
Автор

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))) {

christianplay