Project: To create a series of concentric hearts entirely using code, and alternating colors to achieve a "moving" outwards effect.
What you will need:
- A LilyGo T-Display board.
- Install the correct driver for the LilyGo T-Display.
- USB-cable with working data connections.
- Install the Arduino IDE
Arduino IDE Setup:
- Download the TFT_eSPI library by Bodmer:
- Open Arduino IDE
- Click Tools > Manage Libraries
- Search for "tft_espi" by Bodmer and click install.
- Navigate to the library on your computer's file manager (e.g., Documents/Arduino/libraries/tft_espi
- Open the file "User_Setup_Select.h"
- Comment out "#include <User_setup.h>" near the top of the page
- Uncomment "#include <User_Setups/Setup25_TTGO_T_Display.h>" further down the page (the lines are in numeric order).
- Install the ESP 32 Board Library:
- We will install it through Arduino IDE.
- First, go to this website and under "Installing using Arduino IDE" copy the "Stable release link".
- Open Arduino IDE.
- Click File > Preferences
- At the bottom of the "Settings" tab, in "Additional boards manager URLs", paste the stable release link in the text box, click OK.
- Click Tools > Board > Boards Manager
- Search for 'esp32' by Espressif and click Install
How to recreate this project:
- After setting up, connect your board to your computer with the USB-C cable.
- Open Arduino IDE. Click the upper-left dropdown menu to select your Board and Port. It will usually pop-up as "LilyGo T-Display" on port "COM xx".
- Open module.ino and click the right arrow button in the top-left to upload the code to your board.
- Marvel at the moving hearts~ And feel free to experiment--try changing the colors, the sizes of the hearts, whatever you'd like!
Read more about my creative process at: (https://tinyurl.com/ppg-heart-documentation)