The TTGO T4 from LilyGO is an electronic development board based around an ESP32 with a built-in 2.2 inch TFT display. There is also a 2.4inch LCD option as well.
The USB to serial converter makes it easy to program, even using the Arduino IDE. The board has a micro USB connection with which it can be programmed and/or powered.
Pinout and functions
- ESP32 chip (240Mhz dual core processor)
- Flash memory: 4MB
- PSRAM: 8MB
- Built-in Wi-Fi
- Built-in Bluetooth
- Built-in 2.2 inch TFT display (ILI9341 driver)
- Built-in power management chip (IP5306) with Li-ion/Li-Po battery charging circuit (charge up to ~2A)
- USB to serial converter: CP2104 or CH9102 (drivers)
- Built-in micro SD card connection
- I2C connector: 5p JST-PH
- I2C cable included
- Battery connector: 2p Molex Picoblade
- Battery cable included
- Dimensions PCB: 65.9×40.8mm
ILI9341 is a 262,144-color single-chip SOC driver for a-TFT liquid crystal display with resolution of 240 RGB x 320 dots, comprising a 720-channel source driver, a 320-channel gate driver, 172,800 bytes GRAM for graphic display data of 240 RGB x 320 dots, and power supply circuit.
ILI9341 supports parallel 8-/9-/16-/18-bit data bus MCU interface, 6-/16-/18-bit data bus RGB interface and 3-/4-line serial peripheral interface (SPI).
The moving picture area can be specified in internal GRAM by window address function.
The specified window area can be updated selectively, so that moving picture can be displayed simultaneously independent of still picture area.
This board costs around £22 for the 2.4 inch version
LILYGO® TTGO T4 V1.3 ILI9341 2.4 inch LCD Display Backlight Adjustment ESP32 Development Board WIFI Wireless Bluetooth Module – Buy this from Aliexpress here
There are several examples on the github repo
TFT_eSPIfrom the Arduino library installation manager
- Copy the
LilyGo_Txx/libdirectory to the
<C:\Users\UserName\Documents\Arduino\libraries\TFT_eSPI>to change the configuration file. For different types of boards, you need to enable the corresponding
TFT_eSPIsetting (select the corresponding pin of the LCD screen).
I have the T4 V1.3 version so I did this
TFT_eSPIdirectory and disable it by
- Uncomment the
Select the board according to the following options
Click the right arrow above
Arduino IDEto compile and upload (please make sure to install the serial driver and connect the board to the computer via USB)
Check the examples out from