Martin's corner on the web

TFT32 – IoT gateway/control hub with TFT

> Wiki Home > 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.


Logical peripherals diagram


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.

Christmas lights controller

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:

2 thoughts on “TFT32 – IoT gateway/control hub with TFT

  1. richard

    Hi Martin
    I had quite a time getting the christmas light controller to work i kept having exception errors and restarts, it was because i was using the latest lvgl library, i used a fork v5.1.1 and it worked 🙂
    Thanks for a great product