Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use ESP32-T: Examples, Pinouts, and Specs

Image of ESP32-T
Cirkit Designer LogoDesign with ESP32-T in Cirkit Designer

Introduction

The ESP32-T, manufactured by eBox&Widora, is a high-performance microcontroller designed for Internet of Things (IoT) applications. It combines dual-core processing power with integrated Wi-Fi and Bluetooth capabilities, making it a versatile solution for smart devices, home automation, and industrial IoT systems. The ESP32-T supports a wide range of communication protocols and features multiple GPIO pins, enabling seamless integration with sensors, actuators, and other peripherals.

Explore Projects Built with ESP32-T

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
ESP32-Based Digital Clock with TFT Display and RTC Module
Image of Kello tft-näytöllä: A project utilizing ESP32-T in a practical application
This circuit features an ESP32 microcontroller connected to an Adafruit TFT 1.8 inch display and a Real-Time Clock (RTC) module. The ESP32 is configured to communicate with the RTC to keep track of the current time and to control the display, which shows the time updated every second. The connections between the ESP32 and the peripherals facilitate data transfer for timekeeping and display purposes, with the ESP32 also providing power to the RTC.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Controlled OLED Display and TTL Serial Camera Interface
Image of iot-image-classification: A project utilizing ESP32-T in a practical application
This circuit features an ESP32 microcontroller connected to a TTL Serial JPEG Camera and a 0.96" OLED display. The ESP32 is configured to communicate with the camera over serial connections (TX/RX) to capture and possibly process images. Additionally, the ESP32 drives the OLED display via I2C (SCK/SDA) to show information or images to the user.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Infrared Thermometer with I2C LCD Display
Image of infrared thermometer: A project utilizing ESP32-T in a practical application
This circuit features an ESP32 microcontroller powered by a 18650 Li-Ion battery, with a TP4056 module for charging the battery via a USB plug. The ESP32 reads temperature data from an MLX90614 infrared temperature sensor and displays it on an I2C LCD 16x2 screen. The ESP32, MLX90614 sensor, and LCD screen are connected via I2C communication lines (SCL, SDA), and the circuit is designed to measure and display ambient and object temperatures.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based NTP Clock with DHT22 Temperature Sensor and WS2812 LED Matrix Display
Image of date time and temperature display : A project utilizing ESP32-T in a practical application
This circuit features an ESP32 Devkit V1 microcontroller connected to a DHT22 temperature and humidity sensor and an 8x8 WS2812 RGB LED matrix. The ESP32 reads temperature data from the DHT22 sensor and displays the current date, time, and temperature on the LED matrix, with date and time synchronized via NTP (Network Time Protocol). The ESP32 provides power to both the DHT22 and the LED matrix and communicates with the DHT22 via GPIO 4 and with the LED matrix via GPIO 5.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with ESP32-T

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Kello tft-näytöllä: A project utilizing ESP32-T in a practical application
ESP32-Based Digital Clock with TFT Display and RTC Module
This circuit features an ESP32 microcontroller connected to an Adafruit TFT 1.8 inch display and a Real-Time Clock (RTC) module. The ESP32 is configured to communicate with the RTC to keep track of the current time and to control the display, which shows the time updated every second. The connections between the ESP32 and the peripherals facilitate data transfer for timekeeping and display purposes, with the ESP32 also providing power to the RTC.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of iot-image-classification: A project utilizing ESP32-T in a practical application
ESP32-Controlled OLED Display and TTL Serial Camera Interface
This circuit features an ESP32 microcontroller connected to a TTL Serial JPEG Camera and a 0.96" OLED display. The ESP32 is configured to communicate with the camera over serial connections (TX/RX) to capture and possibly process images. Additionally, the ESP32 drives the OLED display via I2C (SCK/SDA) to show information or images to the user.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of infrared thermometer: A project utilizing ESP32-T in a practical application
ESP32-Based Infrared Thermometer with I2C LCD Display
This circuit features an ESP32 microcontroller powered by a 18650 Li-Ion battery, with a TP4056 module for charging the battery via a USB plug. The ESP32 reads temperature data from an MLX90614 infrared temperature sensor and displays it on an I2C LCD 16x2 screen. The ESP32, MLX90614 sensor, and LCD screen are connected via I2C communication lines (SCL, SDA), and the circuit is designed to measure and display ambient and object temperatures.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of date time and temperature display : A project utilizing ESP32-T in a practical application
ESP32-Based NTP Clock with DHT22 Temperature Sensor and WS2812 LED Matrix Display
This circuit features an ESP32 Devkit V1 microcontroller connected to a DHT22 temperature and humidity sensor and an 8x8 WS2812 RGB LED matrix. The ESP32 reads temperature data from the DHT22 sensor and displays the current date, time, and temperature on the LED matrix, with date and time synchronized via NTP (Network Time Protocol). The ESP32 provides power to both the DHT22 and the LED matrix and communicates with the DHT22 via GPIO 4 and with the LED matrix via GPIO 5.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • Smart home devices (e.g., smart lights, thermostats)
  • Industrial automation and monitoring
  • Wearable technology
  • Wireless sensor networks
  • Robotics and drones
  • IoT prototyping and development

Technical Specifications

Key Technical Details

Parameter Specification
Microcontroller Dual-core Xtensa® 32-bit LX6 CPU
Clock Speed Up to 240 MHz
Flash Memory 4 MB (external SPI flash)
SRAM 520 KB
Wi-Fi 802.11 b/g/n (2.4 GHz)
Bluetooth v4.2 BR/EDR and BLE
Operating Voltage 3.3 V
GPIO Pins 34
Communication Protocols UART, SPI, I2C, I2S, CAN, PWM
ADC Channels 18 (12-bit resolution)
DAC Channels 2
Power Consumption Ultra-low power (varies by mode)
Operating Temperature -40°C to 85°C

Pin Configuration and Descriptions

The ESP32-T features a total of 38 pins, with 34 GPIO pins that can be configured for various functions. Below is a summary of the key pins:

Pin Number Pin Name Functionality
1 EN Enable pin (active high)
2 IO0 GPIO0, boot mode selection
3 IO1 (TX0) GPIO1, UART0 TX
4 IO3 (RX0) GPIO3, UART0 RX
5 IO4 GPIO4, PWM, ADC1_CH0
6 IO5 GPIO5, PWM, ADC1_CH2
7 IO12 GPIO12, ADC2_CH5, touch sensor T5
8 IO13 GPIO13, ADC2_CH4, touch sensor T4
9 IO14 GPIO14, PWM, ADC2_CH6
10 IO15 GPIO15, PWM, ADC2_CH3
... ... ... (refer to the full datasheet)
37 GND Ground
38 3V3 3.3 V power supply

Note: Some GPIO pins have specific restrictions or dual functions. Refer to the ESP32-T datasheet for detailed pin multiplexing information.

Usage Instructions

How to Use the ESP32-T in a Circuit

  1. Power Supply: Provide a stable 3.3 V power supply to the 3V3 pin. Connect the GND pin to the ground of your circuit.
  2. Programming: Use a USB-to-serial adapter to connect the ESP32-T to your computer. Ensure the EN pin is pulled high to enable the module.
  3. Boot Mode: To enter bootloader mode for programming, hold the IO0 pin low while resetting the module.
  4. GPIO Configuration: Configure the GPIO pins as input, output, or alternate functions (e.g., ADC, PWM) in your firmware.
  5. Wi-Fi and Bluetooth: Use the ESP-IDF or Arduino IDE to program the ESP32-T for wireless communication.

Important Considerations

  • Voltage Levels: The ESP32-T operates at 3.3 V logic levels. Avoid connecting 5 V signals directly to its GPIO pins.
  • Power Consumption: Use deep sleep mode to minimize power consumption in battery-powered applications.
  • Antenna Placement: Ensure the onboard antenna has sufficient clearance from metal objects to avoid signal interference.

Example Code for Arduino IDE

Below is an example of how to connect the ESP32-T to a Wi-Fi network using the Arduino IDE:

#include <WiFi.h> // Include the Wi-Fi library

// Replace with your network credentials
const char* ssid = "Your_SSID";
const char* password = "Your_PASSWORD";

void setup() {
  Serial.begin(115200); // Initialize serial communication
  delay(1000);

  Serial.println("Connecting to Wi-Fi...");
  WiFi.begin(ssid, password); // Start Wi-Fi connection

  // Wait for the connection to establish
  while (WiFi.status() != WL_CONNECTED) {
    delay(500);
    Serial.print(".");
  }

  Serial.println("\nWi-Fi connected!");
  Serial.print("IP Address: ");
  Serial.println(WiFi.localIP()); // Print the device's IP address
}

void loop() {
  // Add your main code here
}

Tip: Install the ESP32 board package in the Arduino IDE before uploading the code.

Troubleshooting and FAQs

Common Issues and Solutions

  1. ESP32-T Not Responding

    • Cause: Incorrect power supply or loose connections.
    • Solution: Ensure a stable 3.3 V power supply and check all connections.
  2. Wi-Fi Connection Fails

    • Cause: Incorrect SSID or password.
    • Solution: Double-check your network credentials in the code.
  3. GPIO Pin Not Working

    • Cause: Pin conflict or incorrect configuration.
    • Solution: Verify the pin's function and ensure it is not being used for another purpose.
  4. High Power Consumption

    • Cause: Module not in sleep mode.
    • Solution: Use deep sleep mode when the module is idle.

FAQs

  • Q: Can the ESP32-T operate on 5 V?
    A: No, the ESP32-T operates at 3.3 V. Use a level shifter for 5 V signals.

  • Q: How do I reset the ESP32-T?
    A: Pull the EN pin low momentarily to reset the module.

  • Q: Can I use the ESP32-T with the Arduino IDE?
    A: Yes, the ESP32-T is fully compatible with the Arduino IDE. Install the ESP32 board package to get started.

  • Q: What is the maximum range of the Wi-Fi module?
    A: The range depends on environmental factors but typically extends up to 100 meters in open space.

By following this documentation, you can effectively integrate the ESP32-T into your IoT projects and troubleshoot common issues. For advanced features, refer to the official ESP32-T datasheet and programming guides.