GPS Tracker from DFROBOT GSM/GPS module

I seek help for my project. After several modules I selected this dfrobot module to make my gps tracking project. I refer http://www.dfrobot.com/wiki/index.php/G ... KU:TEL0051)#How_to_drive_the_GSM_Mode_via_Arduino_board. As my first step I'am trying to send a sms to a mobile phone using this module and Arduino UNO. I did everything according to above website. Specially this code,
// Product name: GPS/GPRS/GSM Module V3.0
// # Product SKU : TEL0051
// # Version : 0.1
// # Description:
// # The sketch for driving the gsm mode via the Arduino board
// # Steps:
// # 1. Turn the S1 switch to the Prog(right side)
// # 2. Turn the S2 switch to the Arduino side(left side)
// # 3. Set the UART select switch to middle one.
// # 4. Upload the sketch to the Arduino board
// # 5. Turn the S1 switch to the comm(left side)
// # 6. RST the board
// # wiki link- http://www.dfrobot.com/wiki/index.php/G ... KU:TEL0051)
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);
}
But there is no sms received by mobile phone. Also I'm tired of searching and testing codes. So can anyone help me to do my project.
Thank You
// Product name: GPS/GPRS/GSM Module V3.0
// # Product SKU : TEL0051
// # Version : 0.1
// # Description:
// # The sketch for driving the gsm mode via the Arduino board
// # Steps:
// # 1. Turn the S1 switch to the Prog(right side)
// # 2. Turn the S2 switch to the Arduino side(left side)
// # 3. Set the UART select switch to middle one.
// # 4. Upload the sketch to the Arduino board
// # 5. Turn the S1 switch to the comm(left side)
// # 6. RST the board
// # wiki link- http://www.dfrobot.com/wiki/index.php/G ... KU:TEL0051)
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);
}
But there is no sms received by mobile phone. Also I'm tired of searching and testing codes. So can anyone help me to do my project.
Thank You
2015-05-26 18:43:55 HI
I think it's a little complecated through AT command to send a SMS than make a call, the key is send"ctrl+z" which should be 0X0A in HEX as an end to send.
1 you could make a call to make sure you sim card works fine
2 you could try the arduino sketch showing on the wiki page to send SMS, it's a lot easier.
Leff
I think it's a little complecated through AT command to send a SMS than make a call, the key is send"ctrl+z" which should be 0X0A in HEX as an end to send.
1 you could make a call to make sure you sim card works fine
2 you could try the arduino sketch showing on the wiki page to send SMS, it's a lot easier.


2015-05-26 15:24:27 Thank you leff. s3 switch is always in middle. According to my module USB(left) Arduino(right) is s2 switch, Comm(left) Prog(right) in s1 switch and GSM(left) GPS(right) in UART. I did according to this configuration. Also I need to know is their any format to enter mobile phone number. First I need send a sms, not a call. I don't know why isn't it responding.
Thank You
heshanjb
Thank You

2015-05-20 13:37:46 
the net led is blinking : slowly is good, and the switches were right except the S3 should be in the middle always( you didn't mentioned)
But it needs external power supply as the making a call.
Just follow the wiki page, it will be ok, tons of people have successed! Good luck!
Leff

the net led is blinking : slowly is good, and the switches were right except the S3 should be in the middle always( you didn't mentioned)
But it needs external power supply as the making a call.
Just follow the wiki page, it will be ok, tons of people have successed! Good luck!

heshanjb wrote:Hello leff. I tried it. But no response. Here how I'm doing,
I have connected module to arduino and I'm uploading the code to arduino using USB. No external power. Then wait for some time.
When I uploading code s2 switch is in the arduino side and s1 is in the prog side.UART middle. Then reset the module and change s1 to comm side. Same as above code is uploaded. No sms received. I also tried by including some SIM908 library files and header files. But no reply. This how I entered phone number.Serial.println("AT+CMGS=\"94777864200\""); .
I'm seeking your instructions and any modification.
Thank You

2015-05-20 01:49:27 Hello leff. I tried it. But no response. Here how I'm doing,
I have connected module to arduino and I'm uploading the code to arduino using USB. No external power. Then wait for some time.
When I uploading code s2 switch is in the arduino side and s1 is in the prog side.UART middle. Then reset the module and change s1 to comm side. Same as above code is uploaded. No sms received. I also tried by including some SIM908 library files and header files. But no reply. This how I entered phone number.Serial.println("AT+CMGS=\"94777864200\""); .
I'm seeking your instructions and any modification.
Thank You
heshanjb
I have connected module to arduino and I'm uploading the code to arduino using USB. No external power. Then wait for some time.
When I uploading code s2 switch is in the arduino side and s1 is in the prog side.UART middle. Then reset the module and change s1 to comm side. Same as above code is uploaded. No sms received. I also tried by including some SIM908 library files and header files. But no reply. This how I entered phone number.Serial.println("AT+CMGS=\"94777864200\""); .
I'm seeking your instructions and any modification.
Thank You

2015-05-18 16:37:46 Hi,
I guess it's just some problem which are very easy to ignore:
1 external power
2 s1,2,3 switches
many people met a lot of strange problems when then tried this module, check this one, it could help"
http://www.dfrobot.com/forum/viewtopic.php?p=7211#p7211
Leff
I guess it's just some problem which are very easy to ignore:
1 external power
2 s1,2,3 switches
many people met a lot of strange problems when then tried this module, check this one, it could help"

http://www.dfrobot.com/forum/viewtopic.php?p=7211#p7211
