Hello, I am using GSM_Module_V3.0 to send an SMS.
I connected the shield with Arduino Uno. I Tried so many codes. But none seems to work.
I also plugged the Arduino with a power supply. I used the GSM library and its examples. It didn't work.
Does anyone know how to make it work ????
I used this code,,,,
code
byte gsmDriverPin[3] = {
3,4,5};//The default digital driver pins for the GSM and GPS mode
//If you want to change the digital driver pins
//or you have a conflict with D3~D5 on Arduino board,
//you can remove the J10~J12 jumpers to reconnect other driver pins for the module!
void setup()
{
//Init the driver pins for GSM function
for(int i = 0 ; i < 3; i++){
pinMode(gsmDriverPin[i],OUTPUT);
}
digitalWrite(5,HIGH);//Output GSM Timing
delay(1500);
digitalWrite(5,LOW);
digitalWrite(3,LOW);//Enable the GSM mode
digitalWrite(4,HIGH);//Disable the GPS mode
delay(2000);
Serial.begin(9600); //set the baud rate
delay(5000);//call ready
delay(5000);
delay(5000);
}
void loop()
{
Serial.println("AT"); //Send AT command
delay(2000);
Serial.println("AT");
delay(2000);
//Send message
Serial.println("AT+CMGF=1");
delay(1000);
Serial.println("AT+CMGS=\"15800449871\"");//Change the receiver phone number
delay(1000);
Serial.print("HELLO");//the message you want to send
delay(1000);
Serial.write(26);
while(1);
}
Amjad Salaams...Don't worry man...Its very easy to send sms via Arduino UNO...I will send..A link to you...Please see that it will surely help you....
Link for downloading library...GitHub - meirm/SerialGSM: Serial GSM class for arduino.
Link for tutorial....http://tronixstuff.com/2011/01/19/tutorial-arduino-and-gsm-cellular-part-one/
Hello,,
Nothing has worked.
check out this link:
I have read it but nothing has worked.
How can I know that the SIM card I am using doesn't support this device.