The T-ETH-Lite ESP32 is a compact development board designed and manufactured by LILYGO®. It features the powerful ESP32 microcontroller with integrated Ethernet capabilities, making it an excellent choice for IoT applications that require both Wi-Fi and wired network connectivity. This board is ideal for projects such as smart home systems, industrial automation, and networked sensors.
The T-ETH-Lite ESP32 is built around the ESP32 microcontroller, which offers robust performance and versatile connectivity options. Below are the key technical details:
Parameter | Specification |
---|---|
Microcontroller | ESP32 (dual-core, 32-bit Xtensa LX6) |
Clock Speed | Up to 240 MHz |
Flash Memory | 4 MB |
SRAM | 520 KB |
Connectivity | Wi-Fi 802.11 b/g/n, Ethernet |
Ethernet Controller | LAN8720 |
Operating Voltage | 3.3V |
Input Voltage (VIN) | 5V (via USB-C) |
GPIO Pins | 20+ |
Communication Interfaces | UART, SPI, I2C, I2S, PWM, ADC, DAC |
Dimensions | 50mm x 25mm |
The T-ETH-Lite ESP32 features a variety of pins for interfacing with peripherals. Below is the pinout description:
Pin Name | Function | Description |
---|---|---|
VIN | Power Input | 5V input via USB-C or external power source |
GND | Ground | Common ground |
GPIO0 | General Purpose I/O | Used for boot mode selection |
GPIO1 | UART TX | Serial communication (transmit) |
GPIO3 | UART RX | Serial communication (receive) |
GPIO12 | Ethernet MDC | Ethernet communication (clock signal) |
GPIO13 | Ethernet MDIO | Ethernet communication (data signal) |
GPIO16 | General Purpose I/O | Configurable GPIO |
GPIO17 | General Purpose I/O | Configurable GPIO |
GPIO18 | SPI CLK | SPI clock signal |
GPIO19 | SPI MISO | SPI data input |
GPIO23 | SPI MOSI | SPI data output |
GPIO25 | DAC1 | Digital-to-Analog Converter output |
GPIO26 | DAC2 | Digital-to-Analog Converter output |
GPIO32 | ADC1 Channel 4 | Analog-to-Digital Converter input |
GPIO33 | ADC1 Channel 5 | Analog-to-Digital Converter input |
The T-ETH-Lite ESP32 is versatile and easy to use in a variety of applications. Below are the steps and best practices for using this development board.
Powering the Board:
Programming the ESP32:
ESP32 Dev Module
) in the Arduino IDE.Ethernet Setup:
Wi-Fi Setup:
BOOT
button while pressing the RESET
button.Below is an example of how to configure the T-ETH-Lite ESP32 for Ethernet communication using the Arduino IDE:
#include <ETH.h>
// Define Ethernet configuration
#define ETH_CLK_MODE ETH_CLOCK_GPIO17_OUT // Clock mode for LAN8720
#define ETH_POWER_PIN -1 // No power pin used
#define ETH_TYPE ETH_PHY_LAN8720 // Ethernet PHY type
#define ETH_ADDR 1 // PHY address
#define ETH_MDC_PIN 23 // MDC pin
#define ETH_MDIO_PIN 18 // MDIO pin
void setup() {
Serial.begin(115200);
// Initialize Ethernet
if (!ETH.begin(ETH_ADDR, ETH_POWER_PIN, ETH_MDC_PIN, ETH_MDIO_PIN, ETH_TYPE, ETH_CLK_MODE)) {
Serial.println("Ethernet initialization failed!");
return;
}
Serial.println("Ethernet initialized successfully!");
Serial.print("IP Address: ");
Serial.println(ETH.localIP());
}
void loop() {
// Keep the Ethernet connection alive
delay(1000);
}
Ethernet Not Working:
Board Not Detected by Computer:
Wi-Fi Connection Fails:
GPIO Pins Not Responding:
By following this documentation, you can effectively utilize the T-ETH-Lite ESP32 for your IoT and networking projects.