The SIM900A is a complete Quad-band GSM/GPRS solution in a compact plug-in module. Manufactured by SivanPeter (Pvt) Ltd., with the part ID 1237602, this module can be integrated into a wide range of electronic projects that require cellular communication such as SMS, data, and voice calls. Common applications include remote data logging, security systems, GPS tracking, and IoT devices.
Pin Number | Name | Description |
---|---|---|
1 | VCC | Power supply input (3.4V - 4.5V) |
2 | RST | Reset pin (active low) |
3 | RXD | Serial data receive pin |
4 | TXD | Serial data transmit pin |
5 | GND | Ground connection |
Note: This is a simplified pin configuration. Refer to the full datasheet for additional pins and detailed descriptions.
To use the SIM900A module with an Arduino UNO, follow these steps:
#include <SoftwareSerial.h>
SoftwareSerial sim900(7, 8); // RX, TX
void setup() {
// Begin serial communication with Arduino and SIM900A
sim900.begin(9600);
Serial.begin(9600);
// Give time to SIM900A to initialize
delay(20000);
Serial.println("Sending Text...");
sim900.print("AT+CMGF=1\r"); // Set the module to SMS mode
delay(100);
sim900.print("AT+CMGS=\"+1234567890\"\r"); // Replace with recipient's number
delay(100);
sim900.print("Hello, World!"); // The SMS text you want to send
delay(100);
sim900.write(26); // ASCII code of CTRL+Z to send the SMS
}
void loop() {
// If data is available on the SIM900A, print it to the serial monitor
if(sim900.available()) {
Serial.write(sim900.read());
}
// If data is available on the serial monitor, send it to the SIM900A
if(Serial.available()) {
sim900.write(Serial.read());
}
}
Note: Make sure to replace "+1234567890" with the actual recipient's phone number.
Q: Can the SIM900A module be used for internet connectivity? A: Yes, the SIM900A supports GPRS for internet connectivity, but it is limited to 2G networks.
Q: How do I know if the SIM900A module is connected to the network?
A: The AT+CREG?
command can be used to check the network registration status.
Q: What is the default baud rate of the SIM900A module? A: The default baud rate is 9600 bps.
For further assistance, please refer to the manufacturer's datasheet and technical support resources.