TFT32 – IoT gateway/control hub with TFT
The TFT32 project is an ESP32 powered multi-purpose IoT gateway/control hub with TFT, touch and various other helper peripherals.
Features
- Powered by the popular ESP32 SoC
- ILI9341 based 2.4″ TFT with resistive touch, PWM dimming control
- Light sensor (LDR)
- 433Mhz RFM69HW ISM radio
- One WS2812B RGB LED (Neopixel)
- Piezo buzzer for audible feedback
- HTU21D/SHT21 temperature/humidity sensor
- DS1338 real-time clock with battery backup (CR1220 battery not included)
- Four multi-purpose buttons
- Option for ATSHA204 crypto authentication device (not included)
Logical peripherals diagram
Schematic
Powering it
The TFT32 can be powered from the micro USB port or the FTDI programming socket (P1). Alternatively, the board can be powered from 12-6V source using the auxiliary power connector (P4).
Programming it
The micro-USB port is only used to provide power, not for programming the TFT32. The TFT32 is programmed using FTDI programming socked located on the back of the product. To program the TFT, please use 3.3V logic level FTDI programmer that can supply at least 500mA current.
Note: In order to flash the TFT32 with new firmware, you need to press and hold button 1 (marked with S1 on the silk, connected to GPIO 0) for a short time as the firmware upload starts
Code examples
Github repository with examples: here
I highly recommend using LittlevGL for GUI development on the TFT32.
LittlevGL is a free and open-source graphics library providing everything you need to create embedded GUI with easy-to-use graphical elements, beautiful visual effects, and low memory footprint.
Example Arduino source code for touchscreen Christmas lights controller with MQTT backend is available to get you started with LittlevGL and the TFT32 on my Github repo.
3D printable enclosure
A 3D printable enclosure is available for free here.
Note: The enclosure requires four 2.5x7mm screws.
Buy TFT32
You can purchase the TFT32 project from my store:
Page views: 2146
Oscar perez
0 comentarios:
Publicar un comentario