How-to · Intermediate · 3 min read
SIM800L and 4G GSM Modules
Power, AT Commands and SMS from Arduino
By Geekobot Learning Team · Updated 24 Oct 2026
On this page
The SIM800L is a tiny 2G GSM modem that lets an Arduino send SMS, make calls and use slow GPRS data through AT commands. It needs 3.4 to 4.4 V with 2 A bursts, so power it from a Li-ion cell or a 4 V buck converter, never the Arduino's 5 V pin. In India it needs a 2G network; Jio is 4G only, so use an A7670 or SIM7600 for Jio.
Key specs at a glance
- Network
- 2G GSM/GPRS quad-band 850/900/1800/1900 MHz
- Supply
- 3.4 to 4.4 V, up to 2 A peaks
- Logic
- About 2.8 V; use a divider on its RX from 5 V boards
- Interface
- UART, auto-baud (9600 typical)
- SIM
- Micro-SIM, 2G-enabled network
- 4G options
- A7670 and SIM7600 series (LTE)
Powering the SIM800L properly
Almost every 'SIM800L does not work' problem is power. While it transmits, the module draws pulses of up to 2 A. If the supply sags, it resets and the network LED keeps restarting.
- Best: a single 3.7 V Li-ion cell (18650) wired directly, with a TP4056 charger.
- From 5 to 12 V: a buck converter set to 4.0 V that can supply 2 A or more (LM2596 or MP1584 modules).
- Add a 470 to 1000 µF low-ESR capacitor right at the module's VCC pin.
- Use short, thick power wires. Do not power it from a breadboard rail or an Arduino pin.
- The '5 V' red SIM800L boards (often called EVB or V2) have a regulator and level shifting built in; check which board you have.
Wiring to an Arduino Uno
| SIM800L pin | Connect to | Notes |
|---|---|---|
| VCC | 4.0 V supply (2 A) | Not the Arduino 5V pin |
| GND | Supply GND and Arduino GND | Common ground is essential |
| TXD | Arduino D10 (SoftwareSerial RX) | Direct |
| RXD | Arduino D11 through a divider | For example 10 kΩ from D11, 20 kΩ to GND |
| RST | Optional Arduino pin | Pull LOW to reset |
| ANT | Antenna | Always fit the antenna |
- VCC
- Connect to:
- 4.0 V supply (2 A)
- Notes:
- Not the Arduino 5V pin
- GND
- Connect to:
- Supply GND and Arduino GND
- Notes:
- Common ground is essential
- TXD
- Connect to:
- Arduino D10 (SoftwareSerial RX)
- Notes:
- Direct
- RXD
- Connect to:
- Arduino D11 through a divider
- Notes:
- For example 10 kΩ from D11, 20 kΩ to GND
- RST
- Connect to:
- Optional Arduino pin
- Notes:
- Pull LOW to reset
- ANT
- Connect to:
- Antenna
- Notes:
- Always fit the antenna
Essential AT commands
| Command | Purpose | Good reply |
|---|---|---|
| AT | Check the module answers | OK |
| AT+CSQ | Signal quality (0 to 31) | +CSQ: 15,0 or higher is good; 99 = no signal |
| AT+CCID | Read the SIM card ID | SIM number |
| AT+CREG? | Network registration | +CREG: 0,1 (home) or 0,5 (roaming) |
| AT+CMGF=1 | Set SMS text mode | OK |
| AT+CMGS="+91XXXXXXXXXX" | Start an SMS; type text, end with Ctrl+Z (byte 26) | +CMGS: n |
| ATD+91XXXXXXXXXX; | Call a number | OK |
| ATH | Hang up | OK |
- AT
- Purpose:
- Check the module answers
- Good reply:
- OK
- AT+CSQ
- Purpose:
- Signal quality (0 to 31)
- Good reply:
- +CSQ: 15,0 or higher is good; 99 = no signal
- AT+CCID
- Purpose:
- Read the SIM card ID
- Good reply:
- SIM number
- AT+CREG?
- Purpose:
- Network registration
- Good reply:
- +CREG: 0,1 (home) or 0,5 (roaming)
- AT+CMGF=1
- Purpose:
- Set SMS text mode
- Good reply:
- OK
- AT+CMGS="+91XXXXXXXXXX"
- Purpose:
- Start an SMS; type text, end with Ctrl+Z (byte 26)
- Good reply:
- +CMGS: n
- ATD+91XXXXXXXXXX;
- Purpose:
- Call a number
- Good reply:
- OK
- ATH
- Purpose:
- Hang up
- Good reply:
- OK
Send an SMS from Arduino
#include <SoftwareSerial.h>
SoftwareSerial gsm(10, 11); // RX, TX (TX through a divider to SIM800L RXD)
void cmd(const char* c, int waitMs = 1000) {
gsm.println(c);
delay(waitMs);
while (gsm.available()) Serial.write(gsm.read());
}
void setup() {
Serial.begin(115200);
gsm.begin(9600);
delay(8000); // let it register on the network
cmd("AT");
cmd("AT+CSQ");
cmd("AT+CREG?");
cmd("AT+CMGF=1");
gsm.println("AT+CMGS=\"+91XXXXXXXXXX\""); // your number
delay(500);
gsm.print("Alert from Geekobot project: water level high");
gsm.write(26); // Ctrl+Z sends the message
delay(5000);
while (gsm.available()) Serial.write(gsm.read());
}
void loop() {}Reading the network LED
searching for a network (not registered).
registered on the network and ready.
GPRS data connection active.
power supply problem.
2G in India and 4G alternatives
2G networks are being wound down in many countries. In India, some operators still run 2G, but Jio does not (it is 4G only), so a Jio SIM will not register on a SIM800L. For new products, choose an LTE Cat-1 module such as the A7670 or SIM7600 series: they use similar AT commands, support 4G, and some variants support VoLTE calls. Check that the variant covers Indian LTE bands (B1, B3, B5, B8, B40, B41). They also need a strong supply (2 A peaks) and an antenna.
Try it: Battery life calculator
Change the values and the diagram and results update as you type.
Common mistakes to avoid
- Powering the module from the Arduino 5V pin.
- Leaving out the large capacitor near VCC.
- Using a Jio SIM in a 2G-only module.
- Driving the 2.8 V RXD pin directly from 5 V TX.
- Forgetting the antenna.
Frequently asked questions
Why does my SIM800L keep restarting?
Its supply cannot deliver the 2 A peaks. Use a Li-ion cell or a 2 A buck converter set to about 4 V, add a 470 to 1000 µF capacitor at the module, and use short, thick wires.
Does the SIM800L work with Jio?
No. Jio runs only 4G, and the SIM800L is a 2G module. Use a 4G module such as an A7670 or SIM7600 for Jio.
What voltage does the SIM800L need?
3.4 to 4.4 V, ideally around 4.0 V, with up to 2 A available. 5 V on the VCC pin can damage it unless your board has its own regulator.
How do I check signal strength on the SIM800L?
Send AT+CSQ. A first number of 10 or more is usable, 15 to 31 is good, and 99 means no signal.
Can the SIM800L connect to the internet?
Yes, through slow GPRS data with AT commands or the TinyGSM library. For anything more than small messages, a 4G module is far better.
Parts for this guide
Calculators
Terms in this guide
Projects that use it
Put this into practice: 86 step-by-step builds in our project library use parts from this guide.
Keep learning
Sources
- SIMCom SIM800L hardware design guide and AT command manual
- SIMCom A7670 and SIM7600 series specifications
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.




