I'm trying to turn on GPRS Sim900 to communicate with UNO. When I trying to turn on GPRS shield using uno pin 9 It is not turning on. I have set Rx tx according to my program. eventhough it is not working.
product page - http://imall.iteadstudio.com/im120417009.html
coding:
// Example 55.1
#include <SoftwareSerial.h>
SoftwareSerial SIM900(0, 1); // configure software serial port
void setup()
{
SIM900.begin(19200);
SIM900power();
delay(20000); // give time to log on to network.
}
void SIM900power()
// software equivalent of pressing the GSM shield "power" button
{
digitalWrite(9, HIGH);
delay(400);
digitalWrite(9, LOW);
delay(5000);
}
void callSomeone()
{
SIM900.println("ATD + +9197904025439;"); // dial US (212) 8675309
delay(100);
SIM900.println();
delay(30000); // wait for 30 seconds...
SIM900.println("ATH"); // hang up
}
void loop()
{
callSomeone(); // call someone
SIM900power(); // power off GSM shield
do {} while (1); // do nothing
}