T-SIM7600X Quick Start
Required Libraries
| Library | Version | Source |
|---|---|---|
| TinyGSM | Latest | GitHub |
| TinyGPSPlus | Latest | GitHub |
Arduino
PlatformIO (Recommended)
- Install VS Code and the PlatformIO IDE extension
- Clone the repository:bash
git clone https://github.com/Xinyuan-LilyGO/LilyGo-Modem-Series.git - Open
platformio.iniand select theT-SIM7600Xenvironment - Click ✓ to build, connect via USB, click → to upload
Arduino IDE
Board Settings
| Setting | Value |
|---|---|
| Board | ESP32 Dev Module |
| Upload Speed | 921600 |
| CPU Frequency | 240 MHz (WiFi) |
| Flash Size | 4 MB (32Mb) |
| Partition Scheme | Default 4MB with spiffs |
| PSRAM | Enabled |
Peripheral Examples
LTE Data (TinyGSM)
cpp
#define TINY_GSM_MODEM_SIM7600
#include <TinyGsmClient.h>
// SIM7600X UART: RX=26, TX=27, PWR_KEY=4
HardwareSerial modemSerial(1);
TinyGsm modem(modemSerial);
void setup() {
Serial.begin(115200);
modemSerial.begin(115200, SERIAL_8N1, 26, 27);
// Power on modem
pinMode(4, OUTPUT);
digitalWrite(4, HIGH); delay(1000);
digitalWrite(4, LOW); delay(2000);
modem.restart();
Serial.println("Modem: " + modem.getModemInfo());
modem.gprsConnect("your.apn", "", "");
Serial.println("Connected: " + String(modem.isGprsConnected()));
}
void loop() { delay(1000); }GPS (SIM7600X built-in GNSS)
cpp
void setup() {
// modem already initialized
modem.enableGPS();
}
void loop() {
float lat, lon, speed, alt;
int vsat, usat;
if (modem.getGPS(&lat, &lon, &speed, &alt, &vsat, &usat)) {
Serial.printf("Lat: %.6f Lon: %.6f\n", lat, lon);
}
delay(2000);
}FAQ
Q: Modem not responding?
A: Insert a valid SIM card. Connect 4G and GPS antennas. Power on the SIM7600 using the PWR_KEY GPIO before sending AT commands.
Q: What is the difference between SIM7600E and SIM7600X?
A: SIM7600E is the European (LTE Cat-4) variant; SIM7600X covers additional regions. Both use the same software stack.
