1. Introduction
This document provides a comprehensive guide for setting up the basic software development environment for applications using the LILYGO T-SIM7600G-H-S3 and T-SIM7670G-S3 development boards. It illustrates the use of Arduino, including configuration, compiling, and firmware download to the ESP32 module.
1.1. Product Overview
The LILYGO T-SIM7600G-H-S3 and T-SIM7670G-S3 are versatile development boards designed for independent operation. They integrate an ESP32 MCU, supporting Wi-Fi, Bluetooth, and BLE communication protocols, along with a motherboard PCB.
Key features include:
- GPS Positioning: Built-in GPS functionality for location-based applications.
- Cellular Connectivity: Features SIM7600G-H LTE-LDD / LTE-FDD / WCDMA / GSM module for 2G/4G communication.
- ESP32-D0WD Chip: At its core, the ESP32-D0WD chip provides Wi-Fi (2.4 GHz band) and Bluetooth 4.2 solutions on a single chip, with dual high-performance cores and versatile peripherals.
- Efficient Power Usage: Powered by 40 nm technology, the ESP32 offers a robust, highly integrated platform for efficient power management and compact design.
These boards are manufactured by Shenzhen Xin Yuan Electronic Technology Co., Ltd. and are ideal for rapidly developing Internet-of-Things (IoT) applications.
1.2. Package Contents
The standard package for the LILYGO T-SIM7670G-S3-Standard includes:
- 1 x T-SIM7670G-S3-Standard Development Board
- 2 x Pin Headers
- 1 x LTE Antenna
- 1 x GPS Antenna
- 1 x Power Cable

The standard package for the LILYGO T-SIM7600G-H-S3-Standard includes:
- 1 x T-SIM7600G-H-S3-Standard Development Board
- 2 x Pin Headers
- 1 x LTE Antenna
- 1 x GPS Antenna
- 1 x Power Cable

2. Setup Guide
2.1. Preparation
Before you begin developing applications for the ESP32, ensure you have the following:
- A personal computer (PC) running Windows, Linux, or macOS operating system.
- A toolchain to build applications for ESP32.
- Arduino software, which provides the API for ESP32 and scripts to operate the toolchain.
- CH9102 serial port driver.
- The LILYGO ESP32 board and a USB cable to connect it to your PC.
2.2. Software Installation
2.2.1. Download Arduino Software (IDE)
The Arduino Software (IDE) is essential for programming your board. It is recommended to use Windows 10 for optimal compatibility, though Linux and macOS are also supported.
- Visit the official Arduino website for the quick start guide relevant to your operating system:
- Windows: https://www.arduino.cc/en/Guide/Windows
- Linux: https://www.arduino.cc/en/Guide/Linux
- macOS: https://www.arduino.cc/en/Guide/MacOSX
- Download the Arduino Software (IDE) installer. For Windows, select the 'Windows Installer' option.
- Follow the on-screen prompts to install the software. Ensure that 'Install Arduino software' and 'Install USB driver' are selected during installation.
2.2.2. Download Git
Git is required for cloning the ESP32 Arduino core. Download the installation package from the official Git website:
- Git for Windows: https://git-scm.com/download/win
2.3. Pre-build Configuration and ESP32 Core Setup
To set up the ESP32 core within the Arduino IDE:
- Locate the Arduino IDE icon on your desktop or in your Start Menu.
- Right-click the Arduino IDE icon and select 'Open folder where' (or 'Open file location').
- Navigate to the 'hardware' folder within the Arduino installation directory.
- Right-click within this folder and select 'Git Bash Here' to open a Git Bash terminal.
- In the Git Bash terminal, execute the following commands:
mkdir espressifcd espressifgit clone --recursive https://github.com/espressif/arduino-esp32.git esp32
2.4. Connect the Board
Once the software is installed and configured, connect your LILYGO ESP32 board to your PC using a USB cable. Verify that the board is recognized by your system and that serial communication is functional. You can check this in your device manager (Windows) or by listing serial ports (Linux/macOS).
3. Operating Instructions
3.1. Test Demo (WiFiScan)
To verify your setup, you can run a basic WiFi scan example:
- Open the Arduino IDE.
- Go to File > Examples > WiFi > WiFiScan.
- This will open the WiFiScan sketch.
3.2. Uploading a Sketch
To compile and upload your code to the board:
- In the Arduino IDE, go to Tools > Board.
- Select ESP32 Dev Module from the list.
- Ensure the correct COM port for your connected board is selected under Tools > Port.
- Go to Sketch > Upload to compile and upload the WiFiScan example (or your own sketch) to the board.
3.3. Serial Monitor
After uploading, you can monitor the board's output:
- Go to Tools > Serial Monitor.
- Set the baud rate to 115200.
- You should see output indicating the start of a scan, networks found, and their signal strengths.
3.4. SSC Command Reference
The board supports various Serial Command (SSC) commands for testing and configuration. These commands are typically sent via the Serial Monitor or a serial terminal.
3.4.1. op Command (Wi-Fi Mode)
Used to set and query the Wi-Fi mode of the system.
| Parameter | Description |
|---|---|
-Q | Query Wi-Fi mode. |
-S <wmode> | Set Wi-Fi mode. Available modes:
|
Example: op -Q (Query current Wi-Fi mode)
3.4.2. sta Command (STA Network Interface)
Used to scan for Wi-Fi networks, connect/disconnect from an Access Point (AP), and query the connection status of the STA network interface.
| Parameter | Description |
|---|---|
-S scan | Scan Access Points. |
-S [-s ssid] [-b bssid] [-n channel] [-h] | Scan or connect to AP with specified SSID, BSSID, channel. -h shows hidden SSIDs. |
-Q | Show STA connection status. |
-C [-s ssid] [-p password] | Connect to AP with specified SSID and password. |
-D | Disconnect from current Access Point. |
Example: sta -S scan (Scan for Wi-Fi networks)
3.4.3. ap Command (AP Network Interface)
Used to configure parameters for the Access Point (AP) network interface.
| Parameter | Description |
|---|---|
-S | Set AP mode. |
-s <ssid> | Set AP SSID. |
-p <password> | Set AP password. |
-t <encrypt> | Set AP encryption mode. |
-h | Hide SSID. |
-m <max_sta> | Set AP max connections. |
-Q | Show AP parameters. |
-L | Show MAC Address and IP Address of connected stations. |
Example: ap -S -s MyESP32AP -p mypassword (Set up an AP)
3.4.4. mac Command (MAC Address)
Used to query the MAC address of the network interface.
| Parameter | Description |
|---|---|
-Q [-o mode] | Show MAC address. mode=1 for STA, mode=2 for AP. |
Example: mac -Q -o 1 (Query STA MAC address)
3.4.5. dhcp Command (DHCP Server/Client)
Used to enable or disable the DHCP server/client functionality.
| Parameter | Description |
|---|---|
-S [-o mode] | Start DHCP (Client/Server). mode=1 for STA client, mode=2 for AP server, mode=3 for both. |
-E [-o mode] | End DHCP (Client/Server). |
-Q [-o mode] | Show DHCP status. |
Example: dhcp -S -o 1 (Start DHCP client for STA interface)
3.4.6. ip Command (IP Address)
Used to set and query the IP address of the network interface.
| Parameter | Description |
|---|---|
-Q [-o mode] | Show IP address. mode=1 for STA, mode=2 for AP, mode=3 for both. |
-S [-i ip] [-o mode] [-m mask] [-g gateway] | Set IP address, subnet mask, and default gateway. |
Example: ip -Q -o 1 (Query STA IP address)
3.4.7. reboot Command
Used to reboot the board.
Example: reboot
3.4.8. ram Command
Used to query the size of the remaining heap in the system.
Example: ram
4. Pin Diagrams
4.1. LILYGO T-SIM7600G-H-S3 Standard Pinout

4.2. LILYGO T-SIM7670G-S3 Standard Pinout

5. Specifications
5.1. General Dimensions

- Length (L): 111mm
- Width (W): 33mm
- Height (H): 20mm
5.2. T-SIM7600G-H-S3 Specifications
| Category | Feature | Details |
|---|---|---|
| Product | T-SIM7600G-H | |
| MCU | ESP32-S3 | |
| LTE & GSM | SIM7600G | |
| TF Card | ✓ | |
| ESP32-S3 | Clock Speed | 240MHz |
| Flash | 16MB | |
| PSRAM | 8MB | |
| Wireless Connectivity | 2.4 GHz Wi-Fi (802.11 b/g/n), Bluetooth 5 (LE) | |
| Peripheral Interfaces | I2C, SPI, UART, SDIO, I2S, CAN | |
| SIM7600G-H | Form Factor | LCC+LGA 119PIN |
| Region | G:Global | |
| Dimensions | 30.0*30.0*2.9mm | |
| Frequency Bands (LTE-FDD) | B1/B2/B3/B4/B5/B7/B8/B12/B13/B18/B19/B20/B25/B26/B28/B66 | |
| Frequency Bands (LTE-TDD) | B34/B38/B39/B40/B41 | |
| Data Transfer (Download) | 10Mbps | |
| Data Transfer (Upload) | 5Mbps | |
| GNSS | Support | |
| Protocol | TCP/IP, IPV4/IPV6/Multi-PDP/FTP, FTPS/HTTP/HTTPS/DNS/MQTT | |
| Android RIL | Android 5.0/6.0/7.0/8.0/9.0 | |
| General | USB Driver | Microsoft Windows 7/8/10, Linux, Android |
| Supply Voltage | 3.4~4.2V | |
| SIM Card | 1.8V/3.0V | |

5.3. T-SIM7670G-S3 Specifications
| Category | Feature | Details |
|---|---|---|
| Product | T-SIM7670G | |
| MCU | ESP32-S3 | |
| LTE & GSM | SIM7670G | |
| TF Card | ✓ | |
| ESP32-S3 | Clock Speed | 240MHz |
| Flash | 16MB | |
| PSRAM | 8MB | |
| Wireless Connectivity | 2.4 GHz Wi-Fi (802.11 b/g/n), Bluetooth 5 (LE) | |
| Peripheral Interfaces | I2C, SPI, UART, SDIO, I2S, CAN | |
| SIM7670G | Form Factor | LCC+LGA |
| Region | G:Global | |
| Dimensions | 24.0*24.0*2.4mm | |
| Frequency Bands (LTE-FDD) | B1/B2/B3/B4/B5/B7/B8/B12/B13/B18/B19/B20/B25/B26/B28/B66 | |
| Frequency Bands (LTE-TDD) | B34/B38/B39/B40/B41 | |
| WCDMA | B1/B2/B5/B8 | |
| GSM | 850/900/1800/1900MHz | |
| GNSS | BeiDou, GPS, GLONASS | |
| Protocol | TCP/IP, IPV4/IPV6/Multi-PDP/FTP, FTPS/HTTP/HTTPS/DNS/MQTT | |
| Android RIL | Android 5.0/6.0/7.0/8.0/9.0 | |
| General | USB Driver | Microsoft Windows 7/8/10, Linux, Android |
| Supply Voltage | 3.4~4.2V | |
| SIM Card | 1.8V/3.0V | |

6. Maintenance
To ensure the longevity and optimal performance of your LILYGO development board, follow these maintenance guidelines:
- Keep Clean: Regularly clean the board with a soft, dry brush or compressed air to remove dust and debris. Avoid using liquids or harsh chemicals.
- Store Properly: When not in use, store the board in an anti-static bag and in a dry, cool environment to prevent static discharge and moisture damage.
- Handle with Care: Avoid dropping the board or subjecting it to physical shocks. Handle by the edges to prevent damage to components.
- Power Supply: Always use a stable and appropriate power supply (3.4V~4.2V) to prevent electrical damage.
7. Troubleshooting
If you encounter issues with your LILYGO development board, consider the following troubleshooting steps:
- Power Issues: Ensure the board is receiving adequate power within the specified voltage range. Check USB cable and power source connections.
- Connectivity Problems:
- USB Connection: Verify the USB cable is securely connected and the CH9102 serial port driver is correctly installed and recognized by your operating system.
- Wi-Fi/Cellular: Double-check your Wi-Fi credentials or SIM card installation and network configuration using the SSC commands (
sta,ap,dhcp,ip). Ensure antennas are properly connected. - Sketch Upload Failure:
- Confirm that the correct board type (ESP32 Dev Module) and COM port are selected in the Arduino IDE.
- Ensure no other applications are using the serial port.
- Check for compilation errors in the Arduino IDE output.
- No Serial Monitor Output: Verify the baud rate in the Serial Monitor matches the one set in your sketch (typically 115200).
- Board Not Responding: Try pressing the 'Boot' or 'Reset' buttons on the board. If issues persist, re-check all connections and software installations.
8. User Tips
Based on user experiences, here are some tips for getting the most out of your LILYGO development board:
- AT Commands for Cellular: Users have successfully utilized AT commands for SIM module interaction, including making RESTful API HTTPS requests. Familiarize yourself with the SIM7600G-H/SIM7670G AT command set for advanced cellular functionalities.
- Experiment with Examples: The Arduino IDE comes with many examples. Start with simple ones like WiFiScan to confirm basic functionality before moving to more complex projects.
- Community Support: LILYGO often has an active community. Refer to official forums or GitHub repositories for additional resources, code examples, and troubleshooting advice.
9. Warranty and Support
For technical support, warranty information, or further inquiries, please refer to the official LILYGO store or contact their customer service. The comprehensive user guide (PDF) is available for download and provides detailed information on the product's features and usage.
Official User Manual (PDF): A detailed user manual is available for download at https://manuals.plus/m/3d90c8a9182e9ff5682d7ccef6b593b6bc7c4edd96bc1e7137e7a2374d54c4f9