Component guide · Intermediate · 3 min read
SIM808 GSM + GPS Module

Wiring, GPS AT Commands and Tracker Code
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
The SIM808 combines a 2G GSM/GPRS modem with a GPS receiver, so one module can read its position and send it by SMS or over GPRS. That makes it the usual choice for vehicle, pet and asset trackers. It uses the same AT commands as the SIM800 plus GPS commands (AT+CGNSPWR, AT+CGNSINF), needs two antennas and a supply that handles 2 A bursts.
Key specs at a glance
- Network
- Quad-band 2G GSM/GPRS
- GPS
- 22 tracking channels, about 2.5 m accuracy, 1 Hz
- Supply
- 5 V or 9 to 12 V on boards (module 3.4 to 4.4 V), 2 A peaks
- Interface
- UART AT commands
- Antennas
- Separate GSM and GPS (active) antenna connectors
- FONA 808
- Adafruit breakout with Li-Po charging, runs from a 3.7 V Li-Po
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1SIM808 GSM GPRS GPS Development Board₹1,699
Option 2SIM808 GSM GPRS GPS Development Board with GPS Antenna₹1,819
Option 3SIM808 GSM GPS Module Quad-Band 850/900/1800/1900MHz₹2,939
Option 4SIM808 Bluetooth Compatible GSM/GPRS/GPS Module w/ Antennas₹1,381
Option 5Adafruit FONA 808 Mini Cellular GSM + GPS Breakout₹7,039
What the SIM808 GSM and GPS module is
GPS starts with AT+CGNSPWR=1 and AT+CGNSINF returns time, latitude, longitude, speed and fix status in one line. A cold start needs a clear view of the sky and up to a minute.
In India, 2G is still on Airtel and Vi but not on Jio, and coverage is shrinking; check 2G service in your area before choosing a 2G module.
SIM808 GSM and GPS module pinout
The pins on the SIM808 GSM and GPS module and what each one does.
| Pin | Function |
|---|---|
| VCC / VIN | Board supply (5 V or 9 to 12 V by board) |
| GND | Ground |
| TXD / RXD | UART to the controller |
| PWRKEY | Pulse low to turn on |
| GSM antenna | IPEX or SMA connector |
| GPS antenna | Active GPS antenna connector |
| Li-Po (FONA) | 3.7 V battery input |
- VCC / VIN
- Board supply (5 V or 9 to 12 V by board)
- GND
- Ground
- TXD / RXD
- UART to the controller
- PWRKEY
- Pulse low to turn on
- GSM antenna
- IPEX or SMA connector
- GPS antenna
- Active GPS antenna connector
- Li-Po (FONA)
- 3.7 V battery input
Wiring the SIM808 GSM and GPS module
Fit both antennas before power-up and put the GPS antenna where it sees the sky. Use a level shifter if your board's logic is 3.3 V only and you use an Uno.
| SIM808 GSM and GPS module pin | Arduino Uno | ESP32 |
|---|---|---|
| VCC / VIN | External supply (2 A) | External supply (2 A) |
| GND | GND | GND |
| TXD | D2 (SoftwareSerial RX) | GPIO 16 |
| RXD | D3 (SoftwareSerial TX) | GPIO 17 |
| PWRKEY | D4 | GPIO 4 |
- VCC / VIN
- Arduino Uno:
- External supply (2 A)
- ESP32:
- External supply (2 A)
- GND
- Arduino Uno:
- GND
- ESP32:
- GND
- TXD
- Arduino Uno:
- D2 (SoftwareSerial RX)
- ESP32:
- GPIO 16
- RXD
- Arduino Uno:
- D3 (SoftwareSerial TX)
- ESP32:
- GPIO 17
- PWRKEY
- Arduino Uno:
- D4
- ESP32:
- GPIO 4
Example code
Fields: run status, fix status, UTC time, latitude, longitude, altitude, speed. Replace the phone number before use.
HardwareSerial modem(2);
String reply(const char* cmd, int wait = 800) {
modem.println(cmd); delay(wait);
String r; while (modem.available()) r += (char)modem.read();
return r;
}
void setup() {
Serial.begin(115200);
modem.begin(9600, SERIAL_8N1, 16, 17);
delay(3000);
reply("AT");
reply("AT+CGNSPWR=1"); // GPS on
reply("AT+CMGF=1");
}
void loop() {
String r = reply("AT+CGNSINF"); // +CGNSINF: 1,1,time,lat,lon,...
int p = r.indexOf(':');
String f[6]; int s = p + 2;
for (int i = 0; i < 6; i++) { int c = r.indexOf(',', s); f[i] = r.substring(s, c); s = c + 1; }
if (f[1] == "1") { // fix
String link = "https://maps.google.com/?q=" + f[3] + "," + f[4];
Serial.println(link);
modem.println("AT+CMGS=\"+91XXXXXXXXXX\""); delay(500);
modem.print(link); modem.write(26);
delay(600000); // every 10 minutes
}
delay(5000);
}Setup and tuning
test outdoors; indoors the GPS may never get a fix.
a Li-Po or 2 A supply; vehicle use needs a 12 V to 5 V buck converter with surge protection.
the Adafruit FONA library supports the SIM808 for SMS, GPRS and GPS.
for live tracking, send positions over GPRS to an HTTP or MQTT server instead of SMS.
What you need
Shop this list9 of 11 found in our store · ₹15,487
SIM808 GSM GPRS GPS Development Board: the part this guide coversSIM808 GSM GPRS GPS Development Board₹1,699
SIM808 GSM GPRS GPS Development Board with GPS Antenna: another version this guide coversSIM808 GSM GPRS GPS Development Board₹1,699
SIM808 GSM GPS Module Quad-Band 850/900/1800/1900MHz: another version this guide coversSIM808 GSM GPS Module Quad-Band 850/900/1800/1900MHz₹2,939
SIM808 Bluetooth Compatible GSM/GPRS/GPS Module w/ Antennas: another version this guide coversSIM808 Bluetooth Compatible GSM/GPRS/GPS Module w/ Antennas₹1,381
Adafruit FONA 808 Mini Cellular GSM + GPS Breakout: another version this guide coversAdafruit FONA 808 Mini Cellular GSM + GPS Breakout₹7,039- Uno R3 development board: the controller used in the wiring tableFind this part
ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389
GSM antenna with 1 m cable and SMA plug: for better signal than the stub antennaGSM Antenna SMA 5cm 900-1800MHz 2dBi₹46Closest match, check the specs
GPS antenna 1575.42 MHz with SMA: an active GPS antenna for the GNSS inputGPS Antenna 1575.42MHz SMA Male 3M Cable₹279Closest match, check the specs- XL4015 5A buck converter: a supply that holds up during 2 A transmit burstsFind this part
Electrolytic capacitor: 1000 uF across the module supplyElectrolytic Capacitor₹16
Alternatives and when to choose them
- SIM800C and SIM900: GSM without GPS.
- NEO-6M GPS: a separate GPS module.
- 4G LTE modules: 4G with GNSS on SIM7600 and EC200U.
Common mistakes to avoid
- Testing GPS indoors.
- Swapping the GSM and GPS antenna connectors.
- Weak supply causing resets during SMS.
- Using a SIM without 2G service.
Frequently asked questions
Does it need two SIMs?
No. One SIM for GSM; GPS needs no SIM.
How accurate is the GPS?
About 2.5 m in open sky.
Can it work as a car tracker?
Yes, with a 12 V to 5 V converter and an external GSM antenna.
Is the FONA 808 the same chip?
Yes, a SIM808 on an Adafruit board with Li-Po charging.
Will it work after 2G shuts down?
No. For long-term products use a 4G module with GNSS.
Parts for this guide
Projects that use it
Put this into practice: 1 step-by-step build in our project library uses parts from this guide.
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.



