LILYGO T-SIM7600G-H-S3-Standard / T-SIM7670G-S3-Standard

Contents

LILYGO T-SIM7600G-H-S3 / T-SIM7670G-S3 ESP32-S3 Development Board User Manual

Version 1.0 - Copyright © 2023

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
Package contents for T-SIM7670G-S3-Standard, showing the board, pin headers, LTE antenna, GPS antenna, and power cable.
Package contents for T-SIM7670G-S3-Standard.

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
Package contents for T-SIM7600G-H-S3-Standard, showing the board, pin headers, LTE antenna, GPS antenna, and power cable.
Package contents for T-SIM7600G-H-S3-Standard.

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.

  1. Visit the official Arduino website for the quick start guide relevant to your operating system:
  2. Download the Arduino Software (IDE) installer. For Windows, select the 'Windows Installer' option.
  3. 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:

2.3. Pre-build Configuration and ESP32 Core Setup

To set up the ESP32 core within the Arduino IDE:

  1. Locate the Arduino IDE icon on your desktop or in your Start Menu.
  2. Right-click the Arduino IDE icon and select 'Open folder where' (or 'Open file location').
  3. Navigate to the 'hardware' folder within the Arduino installation directory.
  4. Right-click within this folder and select 'Git Bash Here' to open a Git Bash terminal.
  5. In the Git Bash terminal, execute the following commands:
    • mkdir espressif
    • cd espressif
    • git 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:

  1. Open the Arduino IDE.
  2. Go to File > Examples > WiFi > WiFiScan.
  3. This will open the WiFiScan sketch.

3.2. Uploading a Sketch

To compile and upload your code to the board:

  1. In the Arduino IDE, go to Tools > Board.
  2. Select ESP32 Dev Module from the list.
  3. Ensure the correct COM port for your connected board is selected under Tools > Port.
  4. 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:

  1. Go to Tools > Serial Monitor.
  2. Set the baud rate to 115200.
  3. 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.

Table: op Command Parameters
ParameterDescription
-QQuery Wi-Fi mode.
-S <wmode>Set Wi-Fi mode. Available modes:
  • 1: STA mode
  • 2: AP mode
  • 3: STA+AP mode

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.

Table: sta Command Parameters
ParameterDescription
-S scanScan Access Points.
-S [-s ssid] [-b bssid] [-n channel] [-h]Scan or connect to AP with specified SSID, BSSID, channel. -h shows hidden SSIDs.
-QShow STA connection status.
-C [-s ssid] [-p password]Connect to AP with specified SSID and password.
-DDisconnect 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.

Table: ap Command Parameters
ParameterDescription
-SSet AP mode.
-s <ssid>Set AP SSID.
-p <password>Set AP password.
-t <encrypt>Set AP encryption mode.
-hHide SSID.
-m <max_sta>Set AP max connections.
-QShow AP parameters.
-LShow 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.

Table: mac Command Parameters
ParameterDescription
-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.

Table: dhcp Command Parameters
ParameterDescription
-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.

Table: ip Command Parameters
ParameterDescription
-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

Detailed pinout diagram for the LILYGO T-SIM7600G-H-S3 Standard board, showing GPIOs, UART, I2C, ADC, touch pins, SIM card slot, GPS antenna, LTE antenna, and power connections.
Pinout diagram for LILYGO T-SIM7600G-H-S3 Standard.

4.2. LILYGO T-SIM7670G-S3 Standard Pinout

Detailed pinout diagram for the LILYGO T-SIM7670G-S3 Standard board, showing GPIOs, UART, I2C, ADC, touch pins, SIM card slot, GPS antenna, LTE antenna, and power connections.
Pinout diagram for LILYGO T-SIM7670G-S3 Standard.

5. Specifications

5.1. General Dimensions

Dimensions of the LILYGO T-SIM7670G-S3-Standard board: Length 111mm, Width 33mm, Height 20mm.
Dimensions of the LILYGO T-SIM7670G-S3-Standard board.
  • Length (L): 111mm
  • Width (W): 33mm
  • Height (H): 20mm

5.2. T-SIM7600G-H-S3 Specifications

Table: T-SIM7600G-H-S3 Specifications
CategoryFeatureDetails
ProductT-SIM7600G-H
MCUESP32-S3
LTE & GSMSIM7600G
TF Card✓
ESP32-S3Clock Speed240MHz
Flash16MB
PSRAM8MB
Wireless Connectivity2.4 GHz Wi-Fi (802.11 b/g/n), Bluetooth 5 (LE)
Peripheral InterfacesI2C, SPI, UART, SDIO, I2S, CAN
SIM7600G-HForm FactorLCC+LGA 119PIN
RegionG:Global
Dimensions30.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
GNSSSupport
ProtocolTCP/IP, IPV4/IPV6/Multi-PDP/FTP, FTPS/HTTP/HTTPS/DNS/MQTT
Android RILAndroid 5.0/6.0/7.0/8.0/9.0
GeneralUSB DriverMicrosoft Windows 7/8/10, Linux, Android
Supply Voltage3.4~4.2V
SIM Card1.8V/3.0V
Detailed specifications table for the T-SIM7600G-H-S3, covering MCU, LTE&GSM, ESP32-S3 clock speed, flash, PSRAM, wireless connectivity, peripheral interfaces, SIM7600G-H form factor, region, dimensions, frequency bands, data transfer speeds, GNSS, protocols, Android RIL, USB driver, supply voltage, and SIM card compatibility.
Specifications for T-SIM7600G-H-S3.

5.3. T-SIM7670G-S3 Specifications

Table: T-SIM7670G-S3 Specifications
CategoryFeatureDetails
ProductT-SIM7670G
MCUESP32-S3
LTE & GSMSIM7670G
TF Card✓
ESP32-S3Clock Speed240MHz
Flash16MB
PSRAM8MB
Wireless Connectivity2.4 GHz Wi-Fi (802.11 b/g/n), Bluetooth 5 (LE)
Peripheral InterfacesI2C, SPI, UART, SDIO, I2S, CAN
SIM7670GForm FactorLCC+LGA
RegionG:Global
Dimensions24.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
WCDMAB1/B2/B5/B8
GSM850/900/1800/1900MHz
GNSSBeiDou, GPS, GLONASS
ProtocolTCP/IP, IPV4/IPV6/Multi-PDP/FTP, FTPS/HTTP/HTTPS/DNS/MQTT
Android RILAndroid 5.0/6.0/7.0/8.0/9.0
GeneralUSB DriverMicrosoft Windows 7/8/10, Linux, Android
Supply Voltage3.4~4.2V
SIM Card1.8V/3.0V
Detailed specifications table for the T-SIM7670G-S3, covering MCU, LTE&GSM, ESP32-S3 clock speed, flash, PSRAM, wireless connectivity, peripheral interfaces, SIM7670G form factor, region, dimensions, frequency bands, WCDMA, GSM, GNSS, protocols, Android RIL, USB driver, supply voltage, and SIM card compatibility.
Specifications for T-SIM7670G-S3.

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

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.

After a successful submission, we securely hash the supplied account or form email before sending it to Microsoft Advertising for conversion attribution. Privacy details.