Connecting the SIM7600G to the Arduino Mega
May 30, 2025
Bench notes on wiring the SIM7600G LTE modem to the Arduino Mega, with pinout, a complete C++ sketch, and a list of essential AT commands.
Why Use the SIM7600?
- 4G LTE Cat-4: up to 150 Mb/s downlink and 50 Mb/s uplink.
- Built-in GPS/GLONASS — tracking without an extra module.
- Rich interface: UART, USB 2.0, GPIOs, analog audio.
- 100% controlled by AT Commands. Easy to script.
Connector Pinout
| # | Silk | Description |
|---|---|---|
| 0 | S | SLEEP |
| 1 and 6 | G | GND |
| 2 | V | VCC |
| 3 | K | PWRKEY |
| 4 | T | TXD |
| 5 | R | RXD |
Quick Wiring with the Arduino Mega
| SIM7600G Board | Arduino Mega |
|---|---|
| V (5 V) | External 5 V (2 A) |
| G (GND) | GND |
| T (TXD) | RX1 (pin 19) |
| R (RXD) | TX1 (pin 18) |
Test Sketch
/**
* main.cpp – AT console for SIM7600G on the Arduino Mega 2560
*
* Wiring used:
* SIM7600 TXD → Mega 19 (RX1)
* SIM7600 RXD → Mega 18 (TX1) (through a divider or level-shifter → 3 V3!)
* SIM7600 GND → Mega GND
* SIM7600 VCC → 5 V / ≥2 A supply (do NOT take it from the Mega's USB 5 V)
*
* Open the Serial Monitor at 115 200 baud (Both NL & CR).
* Everything you type goes to the modem and every response comes back to the screen.
*/
#include
constexpr uint32_t USB_BAUD = 115200; // PC <--> Mega
constexpr uint32_t MODEM_BAUD = 115200; // Mega <--> SIM7600
void setup()
{
Serial.begin(USB_BAUD);
while (!Serial) { /* wait for the monitor to open */ }
Serial1.begin(MODEM_BAUD); // UART-1: pins 19 (RX) / 18 (TX)
Serial.println(F("
=== SIM7600G AT Console ==="));
Serial.println(F("Type AT commands and press "));
Serial.println(F("Example: AT+CSQ"));
Serial.println();
}
void loop()
{
// PC --> Modem
while (Serial.available())
Serial1.write(Serial.read());
// Modem --> PC
while (Serial1.available())
Serial.write(Serial1.read());
}
/* Open the Serial Monitor at 115 200 baud. Type AT and get OK back. */
AT Commands to Get Started
| Command | What it does |
|---|---|
| AT | Liveness echo – should answer OK |
| ATI | Modem identity |
| AT+CPIN? | Checks whether the SIM asked for a PIN |
| AT+CSQ | Signal quality (0-31) |
| AT+CREG? | Registration on the GSM/LTE network |
| AT+CGATT? | Attached to GPRS/LTE? |
| AT+CGDCONT=1,”IP”,”internet” | Sets the APN |
References
Your browser could not embed the PDF. Click here to open it.