The SIM900 GSM/GPRS shield is compatible with Arduino. It is based on the SIM900 module from SIMCOM. Allows you to send SMS, MMS, GPRS and audio via UART using AT commands. It has 12 GPIOs, 2 PWMs and buit-in ADC of the SIM900 module.
Quad Band: 850; 900; 1800 and 1900 MHZ, so it should work on GSM networks in all countries. The shield has microphone and headphone jacks for phone calls.
GSM stands for Global System for Mobile Communications and is the global standard for mobile communications.
GPRS stands for General Packet Radio Service. GPRS is a mobile service on the 2G and 3G cellular communication.
Applications:
The GSM GPRS shield is particularly useful as it allows to:
- Connect to the Internet over GPRS network
- Send and receive SMS
- Place and receive phones calls
Its capabilities make it perfect for projects with Arduino like:
- Remote control of electronic appliances – sending an SMS to turn something on;
- Receive notifications – send SMS to your cell phone if movement is detected in your house;
- Receive sensor data – send periodic SMS to your cell phone with daily weather data.
Features
Here’s some of the most important features of the shield:
- Compatible with Arduino and clones
- Based on SIM900 module from SIMCOM
- Allows you to send SMS, MMS, GPRS and Audio via UART using AT commands.
- It has 12 GPIOs, 2 PWMs and buit-in ADC of the SIM900 module
- Quad Band: 850; 900; 1800 and 1900 MHZ, so it should work in all countries with GSM (2G) networks
- Control via AT commands
- Supports RTC (real time clock) – it has a holder for a 3V CR1220 battery at the back
- Has microphone and headphone jacks for phone calls
Sending an SMS
To send an SMS, upload the code below to your Arduino board.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
#include <SoftwareSerial.h> // Configure software serial port SoftwareSerial SIM900(7, 8); void setup() { // Arduino communicates with SIM900 GSM shield at a baud rate of 19200 // Make sure that corresponds to the baud rate of your module SIM900.begin(19200); // Give time to your GSM shield log on to network delay(20000); // Send the SMS sendSMS(); } void loop() { } void sendSMS() { // AT command to set SIM900 to SMS mode SIM900.print("AT+CMGF=1\r"); delay(100); // REPLACE THE X's WITH THE RECIPIENT'S MOBILE NUMBER // USE INTERNATIONAL FORMAT CODE FOR MOBILE NUMBERS SIM900.println("AT + CMGS = \"+XXXXXXXXXXXX\""); delay(100); // REPLACE WITH YOUR OWN SMS MESSAGE CONTENT SIM900.println("Message example from Arduino Uno."); delay(100); // End AT command with a ^Z, ASCII code 26 SIM900.println((char)26); delay(100); SIM900.println(); // Give module time to send SMS delay(5000); } |
Reviews
There are no reviews yet.