LILYGO T4 V1.3

LILYGO TTGO T4 V1.3 ESP32 Development Board with 2.4-inch LCD User Manual

Model: T4 V1.3

1. Introducció

The LILYGO TTGO T4 V1.3 is an ESP32-based development board integrated with a 2.4-inch ILI9341 LCD. This versatile board offers Wi-Fi and Bluetooth connectivity, making it suitable for a wide range of IoT and embedded projects requiring a display interface. It includes onboard buttons for boot and reset functions, as well as battery power detection capabilities.

2. Producte acabatview

The TTGO T4 V1.3 development board combines an ESP32 microcontroller with a vibrant 2.4-inch LCD, offering a compact solution for interactive projects. Key features include:

  • Microcontrolador: ESP32 chip
  • Memòria flaix: 4 MB
  • PSRAM: 8 MB
  • Visualització: 2.4-inch ILI9341 TFT LCD (320x240 resolution, 65K color display)
  • Connectivitat sense fils: Wi-Fi (802.11 b/g/n) and Bluetooth (V4.2+BLE)
  • Onboard Functions: Boot and Reset buttons, battery power detection
  • Programming Platform: Arduino IDE, MicroPython
  • Serial Chip: CH9102
  • Font d'alimentació: Supports USB and Li-Po battery (JST GH 1.25mm connector)
LILYGO TTGO T4 V1.3 Development Board with 2.4-inch LCD displaying LILYGO logo

Figura 2.1: Frontal view of the LILYGO TTGO T4 V1.3 Development Board with the 2.4-inch LCD displaying the LILYGO logo.

Enrere view of the LILYGO TTGO T4 V1.3 Development Board showing components and connectors

Figura 2.2: Esquena view of the development board, highlighting the various components and connectors.

Included components: LILYGO TTGO T4 V1.3 board, Dupont line, and power cable

Figure 2.3: The package includes one TTGO T4 V1.3 board, one Dupont line, and one power cable.

3. Especificacions

CaracterísticaEspecificació
MarcaLILYGO
Nom del modelT4 V1.3
Tipus sense filBluetooth, WiFi
Sistema operatiuReal-Time Operating System (RTOS)
Dimensions del producte (LxWxH)2.6 x 1.7 x 0.47 polzades (66 x 43 x 12 mm)
Marca del processadorEspressif (ESP32)
Nombre de processadors1
Tipus de memòria d'ordinadorDIMM
Mida instal·lada de la memòria RAM8 MB (PSRAM)
Capacitat d'emmagatzematge de memòria4 MB (Flash)
Tipus de visualitzacióILI9341 TFT LCD
Mida de la pantalla2.4 polzades
Resolució de visualització320 x 240
Interfície de visualitzacióSPI de 4 fils
Font d'alimentació en funcionament3.3 V
Connector de bateriaJST GH 1.25mm
LILYGO TTGO T4 V1.3 Development Board with dimensions labeled: W:41mm, L:66mm, H:11mm

Figure 3.1: Physical dimensions of the TTGO T4 V1.3 board.

4. Configuració

To begin using your LILYGO TTGO T4 V1.3 development board, follow these general setup steps:

  1. Connexió d'alimentació: Connect the board to a power source using the Micro USB port. Alternatively, a Li-Po battery can be connected to the JST GH 1.25mm connector.
  2. Instal·lació del controlador: Ensure you have the necessary USB-to-Serial drivers (for CH9102 chip) installed on your computer. These are typically available from the chip manufacturer's website or through common ESP32 development environment setups.
  3. Development Environment Setup: Install your preferred development environment, such as Arduino IDE or MicroPython. For Arduino IDE, you will need to add ESP32 board support and the appropriate display libraries (e.g., TFT_eSPI).
  4. Code Upload: Connect the board to your computer via USB. Select the correct board and COM port in your IDE. Upload your code to the ESP32.
  5. Resource Access: For detailed code examples, libraries, and further information, refer to the official LILYGO GitHub repository: github.com/Xinyuan-LilyGO/TTGO-T4-TestCode.

5. Instruccions de funcionament

The TTGO T4 V1.3 board is designed for flexible operation, supporting various programming approaches. Once programmed, the board will execute the uploaded firmware.

  • Encès/apagat: The board powers on automatically when connected to USB or a battery. There is no dedicated power switch.
  • Reset Button (RST): A short press of the RST button will restart the ESP32 microcontroller, reloading the current program.
  • Botó d'arrencada: The Boot button is typically used to put the ESP32 into programming mode. Hold down the Boot button, press and release the RST button, then release the Boot button to enter flash mode for uploading new firmware.
  • Operació de visualització: The 2.4-inch ILI9341 LCD is controlled via the ESP32 using SPI. Your code will manage what is displayed on the screen. Ensure your display library is correctly initialized and configured for the ILI9341 driver.
  • Ajust de la retroiluminació: The display backlight can be controlled programmatically, often via PWM, to adjust brightness. Refer to your display library documentation for specific functions.
  • Wi-Fi i Bluetooth: Utilize the ESP32's built-in Wi-Fi and Bluetooth capabilities through your code to connect to networks, communicate with other devices, or create access points.

6. Diagrama de fixació

Understanding the pinout is crucial for connecting external components and utilizing the full functionality of the TTGO T4 V1.3 board. The following diagram illustrates the pin assignments:

LILYGO TTGO T4 V1.3 ESP32 Pinmap diagram showing GPIO assignments for display, buttons, and other peripherals

Figure 6.1: LILYGO T4 V1.3 Pinmap. This diagram details the GPIO connections for the ILI9341 LCD, buttons, and other available pins.

Key Pin Assignments:

  • ILI9341 TFT LCD: SCLK (IO18), RS (IO32), RST (IO05), SDI (IO23), CS (IO27), SDO (IO12), BL (IO04)
  • Botons: IO38, IO37, IO39
  • Potència: 3V3, 5V, GND, VBAT (for battery input)
  • Micro USB: For charging, powering, burning (uploading firmware), and debugging.
  • Targeta TF: MISO (IO02), SCLK (IO14), MOSI (IO15), CS (IO13)

7. Manteniment

Proper care and maintenance will ensure the longevity and reliable operation of your TTGO T4 V1.3 development board.

  • Manipulació: Handle the board by its edges to avoid touching sensitive components, especially the display and exposed pins.
  • Emmagatzematge: Store the board in an anti-static bag when not in use to protect it from electrostatic discharge. Keep it in a dry environment, away from extreme temperatures.
  • Neteja: Si cal, netegeu suaument la placa amb un raspall suau i sec o aire comprimit per eliminar la pols. Eviteu utilitzar líquids o materials abrasius.
  • Font d'alimentació: Always use a stable 5V power supply via USB or a compatible Li-Po battery. Ensure correct polarity when connecting a battery.
  • Actualitzacions de firmware: Regularly check the LILYGO GitHub repository for updated firmware or library versions to benefit from improvements and bug fixes.

8. Solució De Problemes

If you encounter issues with your TTGO T4 V1.3 board, consider the following troubleshooting steps:

  • La placa no s'encén:
    • Verify the USB cable is functional and properly connected to both the board and your computer/power adapter.
    • If using a battery, ensure it is charged and correctly connected to the JST connector with the correct polarity.
  • Display Remains Blank/Dark:
    • Ensure the display library is correctly initialized in your code for the ILI9341 driver.
    • Check if the backlight is enabled in your code. Some display libraries require explicit backlight activation.
    • Verify all display connections (SPI pins) are correct according to the pinout diagram.
  • Failed Firmware Upload:
    • Confirm the correct COM port is selected in your IDE.
    • Ensure the ESP32 is in flash mode (hold Boot, press/release RST, then release Boot).
    • Install or update the USB-to-Serial drivers (CH9102).
    • Prova amb un cable o port USB diferent.
  • Problemes de connectivitat Wi-Fi/Bluetooth:
    • Double-check your network credentials (SSID, password) in your code.
    • Ensure the Wi-Fi/Bluetooth antenna (if external) is properly connected.
    • Verify that the ESP32's Wi-Fi/Bluetooth functions are correctly initialized in your program.

9. Garantia i Suport

For warranty information and technical support, please refer to the official LILYGO website or contact your point of purchase. Detailed documentation, community forums, and additional resources can often be found on the LILYGO GitHub page linked in the Setup section.

Documents relacionats - T4 V1.3

Preview Guia de l'usuari de LILYGO T-Display
Una guia d'usuari per a la placa de desenvolupament LILYGO T-Display, que cobreix la configuració, la integració amb Arduino i les ordres bàsiques per al desenvolupament de mòduls ESP32.
Preview Guia de l'usuari de LILYGO T-BEAM-S3: Configuració i desenvolupament
Aquesta guia d'usuari proporciona instruccions completes per configurar la placa de desenvolupament LILYGO T-BEAM-S3. Apreneu a configurar l'entorn de programari amb l'IDE d'Arduino, connectar la placa i utilitzar les seves capacitats Wi-Fi, BLE, GPS i LoRa per a projectes d'IoT.
Preview Guia de l'usuari de LILYGO Mini E-Paper-S3
Guia d'usuari completa per a la placa de desenvolupament LILYGO Mini E-Paper-S3. Cobreix la configuració, la integració amb l'IDE d'Arduino, el desenvolupament de firmware i la referència d'ordres Wi-Fi per a aplicacions IoT.
Preview Guia de l'usuari de LILYGO T-WATCH-V3
Una guia d'usuari completa per a la placa de desenvolupament LILYGO T-WATCH-V3, que detalla la configuració, el desenvolupament de programari i la referència d'ordres SSC per a aplicacions ESP32.
Preview Guia d'usuari de LILYGO T-Embed
Una guia d'usuari completa per a la placa de desenvolupament LILYGO T-Embed, que cobreix la configuració, la integració amb l'IDE d'Arduino i la referència d'ordres Wi-Fi.
Preview Guia de l'usuari de LILYGO T-QT Pro
Una guia d'usuari completa per a la placa de desenvolupament LILYGO T-QT Pro, que detalla la configuració, la configuració i l'ús amb Arduino i el mòdul ESP32-S3.