The SIM800L is a compact GSM/GPRS module that enables microcontrollers to connect to cellular networks. This module supports a wide range of functionalities, including sending and receiving SMS, making voice calls, and accessing the internet via GPRS. Its small size and low power consumption make it ideal for various applications, such as remote monitoring, IoT projects, and mobile communication systems.
Parameter | Value |
---|---|
Operating Voltage | 3.4V - 4.4V |
Operating Current | 0.1A (idle), 2A (peak) |
Frequency Bands | Quad-band 850/900/1800/1900 MHz |
GPRS Multi-slot | Class 12 |
GPRS Mobile Station | Class B |
SIM Interface | 1.8V/3V |
Serial Communication | UART |
Baud Rate | 1200 to 115200 bps |
Pin Number | Pin Name | Description |
---|---|---|
1 | VCC | Power supply (3.4V - 4.4V) |
2 | GND | Ground |
3 | RXD | UART Receive Data |
4 | TXD | UART Transmit Data |
5 | RST | Reset (Active Low) |
6 | NET | Network status LED |
7 | VDD_EXT | External power supply for peripherals (2.8V) |
8 | SIM_VDD | SIM card power supply |
9 | SIM_DATA | SIM card data |
10 | SIM_CLK | SIM card clock |
11 | SIM_RST | SIM card reset |
12 | MIC_P | Microphone positive |
13 | MIC_N | Microphone negative |
14 | SPK_P | Speaker positive |
15 | SPK_N | Speaker negative |
#include <SoftwareSerial.h>
// Create a SoftwareSerial object to communicate with SIM800L
SoftwareSerial sim800l(7, 8); // RX, TX
void setup() {
// Initialize serial communication with the computer
Serial.begin(9600);
// Initialize serial communication with SIM800L
sim800l.begin(9600);
// Wait for the module to initialize
delay(1000);
// Send an AT command to check communication
sim800l.println("AT");
// Wait for a response
delay(1000);
// Read and print the response
while (sim800l.available()) {
Serial.write(sim800l.read());
}
}
void loop() {
// Check if data is available from the computer
if (Serial.available()) {
// Read the data and send it to SIM800L
sim800l.write(Serial.read());
}
// Check if data is available from SIM800L
if (sim800l.available()) {
// Read the data and send it to the computer
Serial.write(sim800l.read());
}
}
No Response from Module:
SIM Card Not Detected:
Poor Signal Reception:
Communication Issues:
Can I use a 5V power supply for the SIM800L?
How do I send an SMS using the SIM800L?
Can I use the SIM800L for internet access?
What is the maximum baud rate supported by the SIM800L?
By following this documentation, users can effectively integrate the SIM800L GSM/GPRS module into their projects, ensuring reliable and efficient communication over cellular networks.