850/900/1800/1900 MHz
850/900/1800/1900 MHz
SIM 800C
SMA antenna
UART, AT commands
Up to 85.6 kbps
1.8V to 3.3V, 300mA (max)
-40C to 85C
24.5 mm x 24.5 mm x 3 mm
10g (approx.)
Applications
The SIM 800C GSM Modem with SMA Antenna is suitable for a wide range of applications, including |
IoT devices
Remote monitoring systems
Industrial automation
Telematics and vehicle tracking
Machine-to-Machine (M2M) communication
Wearables and tracking devices
This module is an ideal solution for developers and engineers looking to integrate cellular connectivity into their IoT projects or devices, providing a reliable and efficient means of communication.
SIM 800C GSM Modem with SMA Antenna Documentation
Overview
The SIM 800C GSM Modem with SMA Antenna is a compact, quad-band GSM/GPRS module that allows for wireless communication in a variety of IoT applications. It supports SMS, voice, and data transmission, making it an ideal component for M2M (Machine-to-Machine) and IoT projects.
Technical Specifications
Module: SIM800C
Antenna: SMA Antenna
Quad-band GSM/GPRS frequencies: 850/900/1800/1900 MHz
Data transmission speed: Up to 85.6 kbps
SMS support: Send and receive SMS messages
Voice support: Make and receive voice calls
Power supply: 3.4-4.5V
Interface: Serial UART
Operating temperature: -40C to 85C
Code Examples
Example 1: Sending SMS using Arduino
In this example, we will demonstrate how to use the SIM 800C GSM Modem to send an SMS using an Arduino board.
Hardware Requirements
Arduino Board (e.g., Arduino Uno)
SIM 800C GSM Modem with SMA Antenna
Breadboard and jumper wires
Software Requirements
Arduino IDE
Code
```cpp
#include <SoftwareSerial.h>
#define SIM800_RX 10
#define SIM800_TX 11
SoftwareSerial sim800(SIM800_RX, SIM800_TX);
void setup() {
Serial.begin(9600);
sim800.begin(9600);
// Initialize the SIM800C module
sim800.println("AT");
delay(100);
// Check if the module is ready
if (sim800.find("OK")) {
Serial.println("SIM800C is ready");
} else {
Serial.println("SIM800C is not ready");
}
}
void loop() {
// Send an SMS
sim800.println("AT+CMGF=1");
delay(100);
sim800.println("AT+CMGS=""+1234567890""");
delay(100);
sim800.println("Hello from SIM800C!");
delay(100);
sim800.println((char)26);
// Wait for the SMS to be sent
delay(5000);
Serial.println("SMS sent!");
delay(1000);
}
```
Example 2: Making a Voice Call using Python
In this example, we will demonstrate how to use the SIM 800C GSM Modem to make a voice call using Python.
Hardware Requirements
Raspberry Pi or other Python-compatible single-board computer
SIM 800C GSM Modem with SMA Antenna
Breadboard and jumper wires
Software Requirements
Python 3.x
PySerial library
Code
```python
import serial
# Open the serial connection to the SIM800C module
ser = serial.Serial('/dev/ttyUSB0', 9600, timeout=1)
# Initialize the SIM800C module
ser.write(b'AT
')
response = ser.readline()
print(response.decode())
# Make a voice call
ser.write(b'ATD+1234567890;
')
response = ser.readline()
print(response.decode())
# Wait for the call to connect
time.sleep(5)
# Hang up the call
ser.write(b'ATH
')
response = ser.readline()
print(response.decode())
```
Example 3: Reading SMS Messages using Python
In this example, we will demonstrate how to use the SIM 800C GSM Modem to read incoming SMS messages using Python.
Hardware Requirements
Raspberry Pi or other Python-compatible single-board computer
SIM 800C GSM Modem with SMA Antenna
Breadboard and jumper wires
Software Requirements
Python 3.x
PySerial library
Code
```python
import serial
# Open the serial connection to the SIM800C module
ser = serial.Serial('/dev/ttyUSB0', 9600, timeout=1)
# Initialize the SIM800C module
ser.write(b'AT
')
response = ser.readline()
print(response.decode())
# Set the SMS message format to text mode
ser.write(b'AT+CMGF=1
')
response = ser.readline()
print(response.decode())
# Read the first SMS message
ser.write(b'AT+CMGR=1
')
response = ser.readline()
print(response.decode())
# Parse the SMS message
sms_message = response.decode().split('
')[1]
print("Received SMS:", sms_message)
```
These code examples demonstrate the basic functionality of the SIM 800C GSM Modem with SMA Antenna. You can modify and extend these examples to suit your specific IoT project requirements.