Due to the new rules for public account articles, which no longer sort by publication time, please remember to click the “Look” button in the lower right corner so that you can receive our article notifications on time. Also, click the “ …” in the upper right corner of the public account homepage to mark Programmer Geek Laboratory as a favorite, so you won’t miss any exciting notifications~
This is a portable IoT display project that can be developed into various practical tools based on it and the Arduino_GFX library.
For example: WiFi signal analysis, electronic photo album, etc. With a well-designed 3D printed shell, it can be conveniently hung on a keychain or backpack for portability.
Materials List
-
TTGO T7 V1.0 (ESP32 WiFi Module) × 1
-
2-inch IPS LCD × 1
-
402035 Lipo Lithium Battery × 1
-
D-shaped Carabiner Clip × 1
3D Printed Shell
After downloading the 3D printing files from the project file library, print the shell. The download link is at the end of the article.
Wiring the Circuit
Refer to the LCD’s Datasheet to connect the pins. Make sure to read the Datasheet thoroughly, especially if the LCD model you ordered differs from the one here.
ESP32 -> LCD
GND -> Pin 1 GND
-> Pin 2 LED K
3v3. -> Pin 4 Vcc -> 20 Ohm -> Pin 3 LEDA
GPIO 27 -> Pin 7 D/C
GPIO 5 -> Pin 8 CS
GPIO 18 -> Pin 9 SCK
GPIO 23 -> Pin 10 MOSI
GPIO 33 -> Pin 11 RST
Assembly
Seal the soldered parts and exposed pins with tape.
Assemble the module and shell according to the video below.
Programming
Arduino IDE
If you have not installed the Arduino IDE, you need to download and install it: https://www.arduino.cc/en/main/software
ESP32 Support Install ESP32 support according to the instructions in the link: https://github.com/espressif/arduino-esp32
Arduino_GFX Library Download the latest version of the Arduino_GFX library: (“Clone or Download” -> “Download ZIP”) https://github.com/moononournation/Arduino_GFX
Import this library into the Arduino IDE. (Arduino IDE “Sketch” Menu -> “Include Library” -> “Add .ZIP Library” -> Select the downloaded ZIP file)
Compile and upload Connect to the computer via USB, open the Arduino IDE.
Open the ESPWiFiAnalyzer example code (“File” -> “Example” -> “Arduino_GFX” -> “ESPWiFiAnalyzer”)
Click the Arduino IDE “Upload” button.
The ESPWiFiAnalyzer.ino code file is also available for download in this project file library, and the download link is at the end of the article.
Completion
This 2-inch IoT display can not only be used for WiFi signal detection analysis but also has more possibilities with ESP32. It’s time to unleash your imagination to make it more fun!
Download link for the project file library:
http://make.quwj.com/project/332
via instructables.com/id/Portable-IoT-Display/
Recommended Reading: (Click the title to jump)
Likes and views are the greatest support