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

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

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

Introduction

The Lilygo ESP32 T-Call is a versatile development board that combines the powerful ESP32 microcontroller with GSM/GPRS capabilities. This makes it an excellent choice for IoT applications requiring cellular connectivity, such as remote monitoring, asset tracking, and smart agriculture. The board supports a wide range of communication protocols, including Wi-Fi, Bluetooth, and GSM, enabling seamless integration into various IoT ecosystems.

Explore Projects Built with Lilygo ESP32 T-Call

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 Portable Smart Speaker with Audio Input Processing
Image of talkAI: A project utilizing Lilygo ESP32 T-Call in a practical application
This circuit features two ESP32 microcontrollers configured for serial communication, with one ESP32's TX0 connected to the other's RX2, and vice versa. An INMP441 microphone is interfaced with one ESP32 for audio input, using I2S protocol with connections for serial clock (SCK), word select (WS), and serial data (SD). A Max98357 audio amplifier is connected to the other ESP32 to drive a loudspeaker, receiving I2S data (DIN), bit clock (BLCK), and left-right clock (LRC), and is powered by a lipo battery charger module.
Cirkit Designer LogoOpen Project in Cirkit Designer
Dual-Mode LoRa and GSM Communication Device with ESP32
Image of modul gateway: A project utilizing Lilygo ESP32 T-Call in a practical application
This circuit features an ESP32 Devkit V1 microcontroller interfaced with an RFM95 LoRa transceiver module for long-range communication and a SIM800L GSM module for cellular connectivity. Two LM2596 step-down modules are used to regulate the 12V battery voltage down to 3.3V required by the ESP32, RFM95, and SIM800L. The ESP32 facilitates data exchange between the RFM95 and SIM800L, enabling the system to send/receive data over both LoRa and GSM networks.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Controlled Multi-Color LED Array with GSM and GPS Functionality
Image of smart helmet: A project utilizing Lilygo ESP32 T-Call in a practical application
This circuit features an ESP32 microcontroller connected to multiple LEDs, a SIM800c GSM module with a speaker and microphone for audio input/output, and a GPS NEO 6M module for location tracking. The ESP32 controls the LEDs and communicates with the GSM and GPS modules via serial connections. Power management is handled by a TP4056 charging module connected to a 18650 Li-ion battery, with a rocker switch to control power flow.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Cellular and GPS Tracking System with User Interface
Image of Keychain Device: A project utilizing Lilygo ESP32 T-Call in a practical application
This circuit features an ESP32 microcontroller interfaced with a SIM 800L GSM module for cellular communication and a Neo 6M GPS module for location tracking. A voltage regulator is used to maintain a stable voltage supply from a polymer lithium-ion battery to the GSM, GPS, and ESP32 modules. Additionally, the circuit includes a pushbutton to trigger inputs and an LED with a current-limiting resistor, likely for status indication.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with Lilygo ESP32 T-Call

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 talkAI: A project utilizing Lilygo ESP32 T-Call in a practical application
ESP32-Based Portable Smart Speaker with Audio Input Processing
This circuit features two ESP32 microcontrollers configured for serial communication, with one ESP32's TX0 connected to the other's RX2, and vice versa. An INMP441 microphone is interfaced with one ESP32 for audio input, using I2S protocol with connections for serial clock (SCK), word select (WS), and serial data (SD). A Max98357 audio amplifier is connected to the other ESP32 to drive a loudspeaker, receiving I2S data (DIN), bit clock (BLCK), and left-right clock (LRC), and is powered by a lipo battery charger module.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of modul gateway: A project utilizing Lilygo ESP32 T-Call in a practical application
Dual-Mode LoRa and GSM Communication Device with ESP32
This circuit features an ESP32 Devkit V1 microcontroller interfaced with an RFM95 LoRa transceiver module for long-range communication and a SIM800L GSM module for cellular connectivity. Two LM2596 step-down modules are used to regulate the 12V battery voltage down to 3.3V required by the ESP32, RFM95, and SIM800L. The ESP32 facilitates data exchange between the RFM95 and SIM800L, enabling the system to send/receive data over both LoRa and GSM networks.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of smart helmet: A project utilizing Lilygo ESP32 T-Call in a practical application
ESP32-Controlled Multi-Color LED Array with GSM and GPS Functionality
This circuit features an ESP32 microcontroller connected to multiple LEDs, a SIM800c GSM module with a speaker and microphone for audio input/output, and a GPS NEO 6M module for location tracking. The ESP32 controls the LEDs and communicates with the GSM and GPS modules via serial connections. Power management is handled by a TP4056 charging module connected to a 18650 Li-ion battery, with a rocker switch to control power flow.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Keychain Device: A project utilizing Lilygo ESP32 T-Call in a practical application
ESP32-Based Cellular and GPS Tracking System with User Interface
This circuit features an ESP32 microcontroller interfaced with a SIM 800L GSM module for cellular communication and a Neo 6M GPS module for location tracking. A voltage regulator is used to maintain a stable voltage supply from a polymer lithium-ion battery to the GSM, GPS, and ESP32 modules. Additionally, the circuit includes a pushbutton to trigger inputs and an LED with a current-limiting resistor, likely for status indication.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Remote data logging and monitoring
  • GPS tracking and asset management
  • Smart agriculture and environmental monitoring
  • Home automation with cellular backup
  • IoT projects in areas with limited Wi-Fi coverage

Technical Specifications

The Lilygo ESP32 T-Call is designed to provide robust performance for IoT applications. Below are its key technical specifications:

Key Technical Details

Parameter Specification
Microcontroller ESP32 Dual-Core Processor
Flash Memory 4 MB
RAM 520 KB SRAM
GSM Module SIM800L
GSM Frequency Bands Quad-band: 850/900/1800/1900 MHz
Wi-Fi 802.11 b/g/n
Bluetooth BLE 4.2
Operating Voltage 3.3V
Input Voltage Range 5V (via USB)
Power Consumption ~80 mA (idle), ~250 mA (GSM active)
Antenna External GSM antenna (included)
SIM Card Slot Micro SIM
Dimensions 51 x 25.5 mm

Pin Configuration and Descriptions

The Lilygo ESP32 T-Call features a variety of pins for interfacing with peripherals. Below is the pinout description:

Pin Name Function Description
3V3 Power Supply 3.3V output for powering external devices
GND Ground Common ground
TXD UART Transmit Transmit data to external devices
RXD UART Receive Receive data from external devices
GPIO4 General Purpose I/O Configurable digital I/O pin
GPIO5 General Purpose I/O Configurable digital I/O pin
GPIO21 SDA (I2C) Data line for I2C communication
GPIO22 SCL (I2C) Clock line for I2C communication
GPIO23 SPI MOSI Master Out Slave In for SPI
GPIO19 SPI MISO Master In Slave Out for SPI
GPIO18 SPI SCK Clock line for SPI communication
GPIO16 GSM Power Key Used to power on/off the SIM800L module

Usage Instructions

The Lilygo ESP32 T-Call is straightforward to use in IoT projects. Below are the steps and best practices for integrating it into your circuit.

How to Use the Component

  1. Powering the Board:

    • Connect the board to a 5V power source via the USB port. Ensure the power supply can provide sufficient current (at least 1A) for GSM operations.
    • Alternatively, you can power the board through the 3V3 pin with a regulated 3.3V supply.
  2. Connecting the GSM Antenna:

    • Attach the included GSM antenna to the board's antenna connector for optimal cellular signal reception.
  3. Inserting the SIM Card:

    • Insert a micro SIM card into the SIM card slot. Ensure the SIM card is activated and has a data plan if required.
  4. Programming the Board:

    • Use the Arduino IDE or other ESP32-compatible development environments to program the board.
    • Install the necessary ESP32 board support package and libraries (e.g., TinyGSM for GSM functionality).
  5. Establishing GSM Connectivity:

    • Use the GSM Power Key (GPIO16) to turn on the SIM800L module. This can be done programmatically or manually.

Example Code for Arduino UNO

Below is an example of how to send an SMS using the Lilygo ESP32 T-Call and the TinyGSM library:

#include <TinyGsmClient.h>
#include <SoftwareSerial.h>

// Define the serial connection to the SIM800L module
#define MODEM_TX 27  // TX pin of ESP32 connected to SIM800L RX
#define MODEM_RX 26  // RX pin of ESP32 connected to SIM800L TX

// Create a SoftwareSerial object for communication with the GSM module
SoftwareSerial modemSerial(MODEM_TX, MODEM_RX);

// Initialize the TinyGSM modem object
TinyGsm modem(modemSerial);

void setup() {
  // Start the serial communication for debugging
  Serial.begin(115200);
  delay(10);

  // Start the modem serial communication
  modemSerial.begin(9600);
  delay(3000); // Allow the modem to initialize

  // Power on the GSM module
  Serial.println("Initializing GSM module...");
  if (!modem.restart()) {
    Serial.println("Failed to restart modem. Check connections.");
    while (true);
  }
  Serial.println("GSM module initialized.");

  // Send an SMS
  Serial.println("Sending SMS...");
  if (modem.sendSMS("+1234567890", "Hello from Lilygo ESP32 T-Call!")) {
    Serial.println("SMS sent successfully!");
  } else {
    Serial.println("Failed to send SMS.");
  }
}

void loop() {
  // Nothing to do here
}

Important Considerations and Best Practices

  • Ensure the GSM antenna is securely connected to avoid signal issues.
  • Use a power supply capable of providing at least 1A to handle GSM module power spikes.
  • Avoid placing the board near sources of electromagnetic interference, as this can degrade GSM performance.
  • When using the GSM module, ensure the SIM card has sufficient balance or an active data plan.

Troubleshooting and FAQs

Common Issues and Solutions

  1. The GSM module does not power on:

    • Ensure the GSM Power Key (GPIO16) is toggled correctly to power on the SIM800L module.
    • Verify that the power supply provides sufficient current (at least 1A).
  2. No GSM signal or poor connectivity:

    • Check the GSM antenna connection and ensure it is securely attached.
    • Verify that the SIM card is inserted correctly and is activated.
    • Test the board in an area with good cellular coverage.
  3. Unable to send SMS or connect to the network:

    • Double-check the APN settings in your code if using data services.
    • Ensure the SIM card has sufficient balance or an active data plan.
  4. Board not recognized by the Arduino IDE:

    • Install the correct USB-to-serial driver for the Lilygo ESP32 T-Call.
    • Ensure the ESP32 board support package is installed in the Arduino IDE.

FAQs

Q: Can I use the Lilygo ESP32 T-Call without a SIM card?
A: Yes, you can use the ESP32's Wi-Fi and Bluetooth capabilities without a SIM card. However, GSM-related features will not be available.

Q: What is the maximum data rate supported by the SIM800L module?
A: The SIM800L supports GPRS data rates of up to 85.6 kbps.

Q: Can I power the board using a LiPo battery?
A: Yes, the board has a JST connector for a 3.7V LiPo battery. Ensure the battery is compatible and properly connected.

Q: Is the board compatible with other development environments?
A: Yes, the Lilygo ESP32 T-Call is compatible with platforms like PlatformIO and MicroPython, in addition to the Arduino IDE.