SIM900A GSM GPRS Module with RS232 Interface and SMA Antenna
SIM900A GSM GPRS Module with RS232 Interface and SMA Antenna
The SIM900A GSM GPRS Module is a compact, wireless communication module designed to enable cellular connectivity in a wide range of IoT applications. With its RS232 interface and SMA antenna, this module provides a versatile and reliable solution for transmitting data over GSM/GPRS networks.
The SIM900A module is a quad-band GSM/GPRS module, operating at frequencies of 850/900/1800/1900 MHz. It supports GPRS class 10, with a maximum data transfer rate of 85.6 kbps. The module's primary function is to enable wireless communication between devices and cellular networks, allowing for the transmission of data, voice, and SMS.
The SIM900A module has the following interfaces and pinouts | |
RS232 Interface |
+ TX (Transmit)
+ RX (Receive)
+ GND (Ground)
+ VCC (Supply Voltage)
+ GND (Ground)
+ SMA (Antenna Connector)
The SIM900A module complies with the following certifications and regulations |
CE (Conformit Europene)
FCC (Federal Communications Commission)
RoHS (Restriction of Hazardous Substances)
REACH (Registration, Evaluation, Authorization, and Restriction of Chemicals)
Datasheet
User Manual
AT Command Set Documentation
SDK (Software Development Kit) and API (Application Programming Interface) documentation
The SIM900A GSM GPRS Module with RS232 Interface and SMA Antenna is available for purchase through authorized distributors and online marketplaces. Please contact the manufacturer or supplier for pricing and availability information.
SIM900A GSM GPRS Module with RS232 Interface and SMA Antenna Documentation
Overview
The SIM900A GSM GPRS Module is a compact, quad-band GSM/GPRS module designed for a wide range of IoT applications. It features an RS232 interface for easy integration with microcontrollers and other devices. The module also comes with an SMA antenna connector for efficient cellular connectivity.
Technical Specifications
Quad-band GSM/GPRS support (850/900/1800/1900 MHz)
RS232 interface for serial communication
SMA antenna connector for external antenna
Power supply: 5V-12V DC
Operating temperature: -40C to +85C
Dimensions: 24mm x 24mm x 3mm
Code Examples
### Example 1: Sending SMS using Arduino Uno
In this example, we will demonstrate how to use the SIM900A module to send an SMS using an Arduino Uno board.
Hardware Requirements
SIM900A GSM GPRS Module
Arduino Uno board
Breadboard and jumper wires
Power supply (5V-12V DC)
Software Requirements
Arduino IDE (version 1.8.x or later)
Code
```c
#include <SoftwareSerial.h>
// Define the serial pins for the SIM900A module
#define TX_PIN 10
#define RX_PIN 11
// Create a software serial object for the SIM900A module
SoftwareSerial sim900a(TX_PIN, RX_PIN);
void setup() {
// Initialize the serial console
Serial.begin(9600);
// Initialize the SIM900A module
sim900a.begin(9600);
}
void loop() {
// Check if the SIM900A module is ready
while (!sim900a.available()) {
delay(1000);
Serial.println("Waiting for SIM900A module...");
}
// Send an SMS using the SIM900A module
sim900a.print("AT+CMGF=1
"); // Set the SMS mode to text mode
delay(1000);
sim900a.print("AT+CMGS=""+1234567890""
"); // Set the recipient's phone number
delay(1000);
sim900a.print("Hello from Arduino!"); // Send the SMS message
delay(1000);
sim900a.print(char(26)); // Send the SMS confirmation character
delay(1000);
Serial.println("SMS sent successfully!");
delay(5000);
}
```
### Example 2: Making a HTTP GET Request using Raspberry Pi (Python)
In this example, we will demonstrate how to use the SIM900A module to make an HTTP GET request using a Raspberry Pi board and Python.
Hardware Requirements
SIM900A GSM GPRS Module
Raspberry Pi board
Breadboard and jumper wires
Power supply (5V-12V DC)
Software Requirements
Raspbian OS (version 10 or later)
Python 3.x
Code
```python
import serial
import time
# Define the serial port for the SIM900A module
ser = serial.Serial('/dev/ttyUSB0', 9600, timeout=1)
# Define the APN settings for the cellular network
apn = "your_apn"
username = "your_username"
password = "your_password"
# Set the APN settings
ser.write(b'AT+CGDCONT=1,""IP"