The SIM900 Arduino Shield Library is a versatile and powerful Arduino library for interfacing with the SIM900 GSM/GPRS module. This library provides a wide range of functionalities for working with the SIM900 module, including sending and receiving calls, sending and receiving SMS, updating and extracting real-time clock data, sending HTTP requests, and retrieving various information about the SIM900 module's status and the network it is connected to.
Features
- Call Handling — Make and receive calls with ease.
- SMS Communication — Send and receive SMS messages effortlessly.
- Real-Time Clock — Update and extract real-time clock data from the module.
- HTTP Requests — Send HTTP requests and retrieve responses.
- Information Retrieval — Gather data about network operator, module status, SIM card information, and more.
- Phonebook Management — Store and retrieve phonebook accounts.
- Extensive Documentation — Well-documented code and usage examples.
Getting Started
To use this library, follow these steps:
- Download the library from the GitHub repository.
- Open your Arduino IDE.
- Click on Sketch -> Include Library -> Add .zip library...
- Select the downloaded library ZIP file.
Alternatively, you can click on the Library Manager then type "SIM900" to install this library for your projects.
Examples
The repository includes a variety of example sketches that demonstrate the library's features. You can find them in the examples folder.
#include <SoftwareSerial.h>
#include <sim900.h>
SoftwareSerial shieldSerial(7, 8);
void setup() {
Serial.begin(9600);
SIM900 sim900(&shieldSerial);
Serial.println(
sim900.sendSMS("+XXxxxxxxxxxx", "Hello, world!!")
? "Sent!" : "Not sent."
);
sim900.close();
}
void loop() { }

