LILYGO T4 V1.3

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

Malli: T4 V1.3

1. Johdanto

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. Tuote ohiview

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:

  • Mikro-ohjain: ESP32 chip
  • Flash-muisti: 4 Mt
  • PSRAM: 8 Mt
  • Näyttö: 2.4-inch ILI9341 TFT LCD (320x240 resolution, 65K color display)
  • Langaton yhteys: Wi-Fi (802.11 b/g/n) and Bluetooth (V4.2+BLE)
  • Sisäänrakennetut toiminnot: Boot and Reset buttons, battery power detection
  • Programming Platform: Arduino IDE, MicroPython
  • Serial Chip: CH9102
  • Virtalähde: 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

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

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

Kuva 2.2: Takaosa 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. Tekniset tiedot

OminaisuusErittely
MerkkiLILYGO
Mallin nimiT4 V1.3
Langaton tyyppiBluetooth, WiFi
KäyttöjärjestelmäReal-Time Operating System (RTOS)
Tuotteen mitat (PxLxK)2.6 x 1.7 x 0.47 tuumaa (66 x 43 x 12 mm)
Prosessorin merkkiEspressif (ESP32)
Prosessorien määrä1
Tietokoneen muistityyppiDIMM
Asennetun RAM-muistin koko8 MB (PSRAM)
Muistin tallennuskapasiteetti4 Mt (Flash)
Näytön tyyppiILI9341 TFT LCD
Näytön koko2.4 tuumaa
Näytön resoluutio320x240
Näyttöliittymä4-johtiminen SPI
Toimiva virtalähde3.3V
Akun liitinJST 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. Asennus

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

  1. Virtaliitäntä: 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. Ohjaimen asennus: 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. Kehitysympäristön asetukset: 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. Koodin lataus: 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: Yksityiskohtainen koodi esim.amples, libraries, and further information, refer to the official LILYGO GitHub repository: github.com/Xinyuan-LilyGO/TTGO-T4-TestCode.

5. Käyttöohjeet

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

  • Virta päälle/pois: The board powers on automatically when connected to USB or a battery. There is no dedicated power switch.
  • Nollauspainike (RST): A short press of the RST button will restart the ESP32 microcontroller, reloading the current program.
  • Käynnistyspainike: 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.
  • Näytön toiminta: 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.
  • Taustavalon säätö: The display backlight can be controlled programmatically, often via PWM, to adjust brightness. Refer to your display library documentation for specific functions.
  • Wi-Fi ja 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. Pinout-kaavio

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)
  • Painikkeet: IO38, IO37, IO39
  • Teho: 3V3, 5V, GND, VBAT (for battery input)
  • Mikro-USB: For charging, powering, burning (uploading firmware), and debugging.
  • TF-kortti: MISO (IO02), SCLK (IO14), MOSI (IO15), CS (IO13)

7. Huolto

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

  • Käsittely: Handle the board by its edges to avoid touching sensitive components, especially the display and exposed pins.
  • Varastointi: 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.
  • Puhdistus: Puhdista tarvittaessa levy varovasti pehmeällä, kuivalla harjalla tai paineilmalla pölyn poistamiseksi. Vältä nesteiden tai hankaavien materiaalien käyttöä.
  • Virtalähde: Always use a stable 5V power supply via USB or a compatible Li-Po battery. Ensure correct polarity when connecting a battery.
  • Laiteohjelmistopäivitykset: Regularly check the LILYGO GitHub repository for updated firmware or library versions to benefit from improvements and bug fixes.

8. Vianmääritys

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

  • Levy ei käynnisty:
    • 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).
    • Kokeile toista USB-kaapelia tai -porttia.
  • Wi-Fi/Bluetooth-yhteysongelmat:
    • 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. Takuu ja tuki

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.

Aiheeseen liittyvät asiakirjat - T4 V1.3

Preview LILYGO T-näytön käyttöopas
LILYGO T-Display -kehityskortin käyttöopas, joka kattaa asennuksen, Arduino-integraation ja ESP32-moduulin kehityksen peruskomennot.
Preview LILYGO T-BEAM-S3 Käyttöopas: Asennus ja kehitys
Tämä käyttöopas tarjoaa kattavat ohjeet LILYGO T-BEAM-S3 -kehityskortin asentamiseen. Opi konfiguroimaan ohjelmistoympäristö Arduino IDE:n avulla, kytkemään kortti ja hyödyntämään sen Wi-Fi-, BLE-, GPS- ja LoRa-ominaisuuksia IoT-projekteissa.
Preview LILYGO Mini E-Paper-S3 -käyttöopas
Kattava käyttöopas LILYGO Mini E-Paper-S3 -kehityslevylle. Kattaa asennuksen, Arduino IDE -integraation, laiteohjelmistokehityksen ja Wi-Fi-komentojen viittauksen IoT-sovelluksiin.
Preview LILYGO T-WATCH-V3 Käyttöopas
Kattava käyttöopas LILYGO T-WATCH-V3 -kehityskortille, jossa on yksityiskohtaiset tiedot asennuksesta, ohjelmistokehityksestä ja SSC-komennon viittauksesta ESP32-sovelluksiin.
Preview LILYGO T-Embed -käyttöopas
Kattava käyttöopas LILYGO T-Embed -kehityslevylle, joka kattaa asennuksen, Arduino IDE -integraation ja Wi-Fi-komentojen viittauksen.
Preview LILYGO T-QT Pro -käyttöopas
Kattava käyttöopas LILYGO T-QT Pro -kehityslevylle, jossa on yksityiskohtaiset ohjeet asennukseen, konfigurointiin ja käyttöön Arduinon ja ESP32-S3-moduulin kanssa.