Hey everyone
Today I am back with an interesting and easy project. In this post, you will learn about making your own customizable Arduino digital screensaver picture frame. Read on further to learn how to do this project.
Hardware components needed for this project
- Arduino Uno
- 2.8" TFT Touch Shield for Arduino w/Capacitive Touch
- MicroSD card
Software apps
- Arduino IDE
Setup
Schematic
The connection is pretty simple if you are using an Arduino Uno: simply plug in the shield and you are ready to go. To use this board with the Arduino Leonardo, you have to solder three jumpers.
Refer to this guide to learn how to connect your Adafruit TFT display with your favorite microcontroller: https://learn.adafruit.com/adafruit-2-8-tft-touch-shield-v2/connecting
Code
Before you start coding, you will have to download and install two libraries to use this TFT:
- Adafruit ILI9341 Library: contains the low-level code specific to this device
- Adafruit GFX Library: handles graphics operations common to many displays we carry
Open your Arduino IDE, go to Sketch ---> Include Library---> Manage Libraries...
To install the required libraries, type in the names and you will see the libraries pop up, make sure you install the latest version.
Follow this guide to learn about drawing bitmaps on your TFT display: https://learn.adafruit.com/adafruit-2-8-tft-touch-shield-v2/drawing-bitmaps
As you may have seen in the link, you will have to convert the images into 24-bit BMP format before uploading them to your microSD card.
You can add in as many pictures as you want and edit the code before uploading it to your Arduino Uno microcontroller. Insert your microSD card in the Adafruit TFT Touch shield and you are good to go.
If anyone has any questions or suggestions about the coding, please feel free to comment below.
Final Look
If anyone has any questions, or suggestions, about this project, please feel free to comment below.
Comments
Post a Comment