Display Picture using TFT Display and Arduino Mega | MCUFRIEND Library

preview_player
Показать описание
In this video, the program for displaying pictures in TFT lcd display is presented. Arduino mega is used for this purpose. TFT shield is easy to use with arduino uno but we can also use it with arduino mega with very small changes. MCUFRIEND library is used for the tft lcd display control purpose. This is one of the easiest tft lcd library to work with. The process for display picture in TFT display using arduino mega is as follows:
1. Resize the image and convert it to BMP format
2. Upload the image to the sd card
3. Insert the sd card to the 2.4 inch TFT lcd display shield
4. Install the necessary libraries and make the instructed changes
5. Upload the given code to the arduino mega
It's done....enjoy!

Рекомендации по теме
Комментарии
Автор

Compilation error: 'SdFatSoftSpi' does not name a type; did you mean 'SdFatConfig_h'?. For arduino mega its not necessary to change this pins SdFatSoftSpi<12, 11, 13> SD; and #define SD_CS 10 ?!?

tubexcriolina
Автор

I did everything and ran well but I receive this " cannot start SD " message on the serial monitor
Can you help ?

engsalah
Автор

Hello, thank you fir this video. How can I have a 5 second video loop on the display when I power it up? And is it possible for the display to be powered by a battery instead of being plugged in? Thank you.

trish
Автор

Sorry i enabled wrong class. But for Arduino mega i think its not going to work, wrong pins :(

tubexcriolina
Автор

I have the screen on the link page, but I couldn't run it and I tried a suitable code. it didn't work in any way with arduino mega there is only white screen lighting can you help with this thank you

volkanyolcubal
Автор

May I ask for some help: I am trying to render a BMP but I kepp getting a "bad bmp image" file. I have used the exiftool from linux to insepct the BMP images. Those that work "Pixels Per Meter X and Y of 2835 or 2834. The BMPs that do not work are 11811. I can force the 11811 files to render but they are rendered as garbage.
Any idea what that is and how to get around it?

fourc
Автор

i got error SdFatSoftSpi dosent name a type

anonymousghost