Forum >Simple Proyect GeoLocate - Help me please T-T "GPS/GPRS/GSMV
Simple Proyect GeoLocate - Help me please T-T "GPS/GPRS/GSMV

Hi everyone !!
I bought an Arduino MEGA2560 and Shield GPS/GPRS/GSM v3 DFrobot.
I want to make a little project but i don't know if Arduino and Shield work correctly.
I want my project to do the following:
· The GPS/GPRS/GSM shield will constantly receive GPS data and save it.
· This shield will save the data in variables inside the Arduino Memory.
· When the shield receives new data it will erase the old data and save the new one.
· It will only store the newest GPS location.
and......
· When I send an SMS to "Arduino + Shield", the answer me with another message.
· This SMS will contain the latest positioning data collected variables Arduino.
Question
You think it will be very difficult, being a rookie??? T.T
By the time I tested the code "How to drive the GPS Mode via USB port" whit Arduino Monitor, but dont work T.T
I follow this steps:
· I prepare Sketch in IDE Arduino "Sketch of Wiki"
· Configure S1 to Program, S2 to USB and UART Middle
· Conect arduino to PC vía USB, and conect Arduino Power Supply 12V DC.
· Upload Sketch correctly to Arduino
· Configure S1 to Comm and Press RST
The shield starts running...
PWR led ON, STAT led ON, NET led blink...
Open Arduino Monitor and he show me: "ÿÿ"
i write in white space AT Commands "Steps wiki" :
Step1 Send:AT
Step2 Send:AT+CGPSIPR=9600 (set the baud rate)
Step3 Send:AT+CGPSPWR=1 ?turn on GPS power supply?
Step4 Send:AT+CGPSRST=1 ?reset GPS in autonomy mode?
But the Monitor Arduino don't answer me , T.T
Will be broken shield or arduino??
that I can do to test properly Sketch of the Wiki?
the tests are done on the outdoor balcony.....
Please Help, I can do ?? T.T
Thank you very much to all in advance and greetings.
if you want more information to specify, tell me and I answer you !!!!
I bought an Arduino MEGA2560 and Shield GPS/GPRS/GSM v3 DFrobot.
I want to make a little project but i don't know if Arduino and Shield work correctly.
I want my project to do the following:
· The GPS/GPRS/GSM shield will constantly receive GPS data and save it.
· This shield will save the data in variables inside the Arduino Memory.
· When the shield receives new data it will erase the old data and save the new one.
· It will only store the newest GPS location.
and......
· When I send an SMS to "Arduino + Shield", the answer me with another message.
· This SMS will contain the latest positioning data collected variables Arduino.
Question
You think it will be very difficult, being a rookie??? T.T
By the time I tested the code "How to drive the GPS Mode via USB port" whit Arduino Monitor, but dont work T.T
I follow this steps:
· I prepare Sketch in IDE Arduino "Sketch of Wiki"
· Configure S1 to Program, S2 to USB and UART Middle
· Conect arduino to PC vía USB, and conect Arduino Power Supply 12V DC.
· Upload Sketch correctly to Arduino
· Configure S1 to Comm and Press RST
The shield starts running...
PWR led ON, STAT led ON, NET led blink...
Open Arduino Monitor and he show me: "ÿÿ"
i write in white space AT Commands "Steps wiki" :
Step1 Send:AT
Step2 Send:AT+CGPSIPR=9600 (set the baud rate)
Step3 Send:AT+CGPSPWR=1 ?turn on GPS power supply?
Step4 Send:AT+CGPSRST=1 ?reset GPS in autonomy mode?
But the Monitor Arduino don't answer me , T.T
Will be broken shield or arduino??
that I can do to test properly Sketch of the Wiki?
the tests are done on the outdoor balcony.....
Please Help, I can do ?? T.T
Thank you very much to all in advance and greetings.
if you want more information to specify, tell me and I answer you !!!!
2014-05-22 15:47:16 4.1.5 How to Make a phone call, Via USB port
Steps:
Send:AT
Send:ATDXXXXXXX;?xxxxxxx is the number of receiver,don't forget the ;?
Try on Serial first to make sure that is not the issue.
I tried this example from the wiki.
http://www.hostingpics.net/viewer.php?id=548592ard.jpg
When send AT Commands, I have tried 4ways:
http://www.hostingpics.net/viewer.php?i ... 0ardui.jpg
"ATDxxxxxxxxx;"
ATDxxxxxxxxx;
ATDxxxxxxxxx;? ? this is a cube ?? :-\
ATD"xxxxxxxxx;?"
Why the examples do not work T.T
any idea what I can try more ???
thanksss sooo muuuchh and sorry for writting later
EDIT:
-------------------------------------------------------------------------------------------------------------------
I tested now "4.4 How to drive the GPS Mode via Arduino board"
seems to work... anyone know how to check if the data are correct?? ;D ;D
My house in "Google Maps" is: 41.43680882 2.21765578
Latitude: 41.43680882 41° 26' 12.51" N
Longitude: 2.21765578 002° 13' 03.56" E
Thannnksss all soo muchh !! ;D ;D I will try more codes !!

REEDIT:
-----------------------------------------------------------------------------------------------------------------------------
I have also tried 4.3.3 How to Make a phone call, Via Arduino Board
http://www.hostingpics.net/viewer.php?i ... lamada.jpg
spend minutes and not receive call.... T.T :'(
I follow all the steps of the switches
And do not remove any jumper
thanks, I'll keep trying :-[ :-[
RE-REDIT
-------------------------------------------------------------------------------------------------------------
4.3.1 How to Send a message Via Arduino Board
Seems that punctuation marks correctly shows:
http://www.hostingpics.net/viewer.php?id=186367cool.png
but i never received this message
not need the prefix number of the country?
or need some more character to the command?
I think I do it well :-\ :-[
---------------------------------------------------------------------------------------------------------------------
4.2 How to drive the GPS Mode via USB port
---------------------------------------------------------------------------------------------------------------------
http://www.hostingpics.net/viewer.php?i ... sperar.jpg
how long to wait to be shown on screen:
RDY
+ CFUN: 1
+ CPIN: READY
GPS Ready
Call Ready ??
------------------------------------------------------------------------------------------------------------------
4.1.3 How to Send a message Via USB port
-------------------------------------------------------------------------------------------------------------------


http://www.hostingpics.net/viewer.php?id=337470lasr.jpg
Sorry to disappear and come back with so many doubts.
I await your suggestions very grateful.
This weekend we'll read more and keep trying.
Thanks very much
;D
Jail3k
Steps:
Send:AT
Send:ATDXXXXXXX;?xxxxxxx is the number of receiver,don't forget the ;?
Try on Serial first to make sure that is not the issue.
I tried this example from the wiki.
Code: Select all
Open Arduino Monitor Serial:// # Steps: // # 1. Turn the S1 switch to the Prog(right side) // # 2. Turn the S2 switch to the USB side(left side) // # 3. Set the UART select switch to middle one. // # 4. Upload the sketch to the Arduino board(Make sure turn off other Serial monitor ) // # 5. Turn the S1 switch to the comm(left side) // # 7. RST the board // # wiki link- https://www.dfrobot.com/wiki/index.php/GPS/GPRS/GSM_Module_V3.0_(SKU:TEL0051) void setup() { //Init the driver pins for GSM function pinMode(3,OUTPUT); pinMode(4,OUTPUT); pinMode(5,OUTPUT); //Output GSM Timing digitalWrite(5,HIGH); delay(1500); digitalWrite(5,LOW); } void loop() { // Use these commands instead of the hardware switch 'UART select' in order to enable each mode // If you want to use both GMS and GPS. enable the required one in your code and disable the other one for each access. digitalWrite(3,LOW);//enable GSM TX?RX digitalWrite(4,HIGH);//disable GPS TX?RX }
http://www.hostingpics.net/viewer.php?id=548592ard.jpg
When send AT Commands, I have tried 4ways:
http://www.hostingpics.net/viewer.php?i ... 0ardui.jpg
"ATDxxxxxxxxx;"
ATDxxxxxxxxx;
ATDxxxxxxxxx;? ? this is a cube ?? :-\
ATD"xxxxxxxxx;?"
Why the examples do not work T.T
any idea what I can try more ???
thanksss sooo muuuchh and sorry for writting later

EDIT:
-------------------------------------------------------------------------------------------------------------------
I tested now "4.4 How to drive the GPS Mode via Arduino board"
Code: Select all
http://www.hostingpics.net/viewer.php?i ... 3coord.jpg// Product name: GPS/GPRS/GSM Module V3.0 // # Product SKU : TEL0051 // # Version : 0.1 // # Description: // # The sketch for driving the gps 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 // # If you get 'inf' values, go outdoors and wait until it is connected. // # wiki link- https://www.dfrobot.com/wiki/index.php/GPS/GPRS/GSM_Module_V3.0_(SKU:TEL0051) double Datatransfer(char *data_buf,char num)//convert the data to the float type { //*data_buf?the data array double temp=0.0; //the number of the right of a decimal point unsigned char i,j; if(data_buf[0]=='-') { i=1; //process the data array while(data_buf[i]!='.') temp=temp*10+(data_buf[i++]-0x30); for(j=0;j<num;j++) temp=temp*10+(data_buf[++i]-0x30); //convert the int type to the float type for(j=0;j<num;j++) temp=temp/10; //convert to the negative numbe temp=0-temp; } else//for the positive number { i=0; while(data_buf[i]!='.') temp=temp*10+(data_buf[i++]-0x30); for(j=0;j<num;j++) temp=temp*10+(data_buf[++i]-0x30); for(j=0;j<num;j++) temp=temp/10 ; } return temp; } char ID()//Match the ID commands { char i=0; char value[6]={ '$','G','P','G','G','A' };//match the gps protocol char val[6]={ '0','0','0','0','0','0' }; while(1) { if(Serial.available()) { val[i] = Serial.read();//get the data from the serial interface if(val[i]==value[i]) //Match the protocol { i++; if(i==6) { i=0; return 1;//break out after get the command } } else i=0; } } } void comma(char num)//get ',' { char val; char count=0;//count the number of ',' while(1) { if(Serial.available()) { val = Serial.read(); if(val==',') count++; } if(count==num)//if the command is right, run return return; } } void UTC()//get the UTC data -- the time { char i; char time[9]={ '0','0','0','0','0','0','0','0','0' }; double t=0.0; if( ID())//check ID { comma(1);//remove 1 ',' //get the datas after headers while(1) { if(Serial.available()) { time[i] = Serial.read(); i++; } if(i==9) { i=0; t=Datatransfer(time,2);//convert data t=t+80000.00;//convert to the chinese time GMT+8 Time zone Serial.println(t);//Print data return; } } } } void latitude()//get latitude { char i; char lat[10]={ '0','0','0','0','0','0','0','0','0','0' }; if( ID()) { comma(2); while(1) { if(Serial.available()) { lat[i] = Serial.read(); i++; } if(i==10) { i=0; Serial.println(Datatransfer(lat,5),5);//print latitude return; } } } } void lat_dir()//get dimensions { char i=0,val; if( ID()) { comma(3); while(1) { if(Serial.available()) { val = Serial.read(); Serial.write(val); Serial.println(); i++; } if(i==1) { i=0; return; } } } } void longitude()//get longitude { char i; char lon[11]={ '0','0','0','0','0','0','0','0','0','0','0' }; if( ID()) { comma(4); while(1) { if(Serial.available()) { lon[i] = Serial.read(); i++; } if(i==11) { i=0; Serial.println(Datatransfer(lon,5),5); return; } } } } void lon_dir()//get direction data { char i=0,val; if( ID()) { comma(5); while(1) { if(Serial.available()) { val = Serial.read(); Serial.write(val); //Serial.println(val,BYTE); Serial.println(); i++; } if(i==1) { i=0; return; } } } } void altitude()//get altitude data { char i,flag=0; char alt[8]={ '0','0','0','0','0','0','0','0' }; if( ID()) { comma(9); while(1) { if(Serial.available()) { alt[i] = Serial.read(); if(alt[i]==',') flag=1; else i++; } if(flag) { i=0; Serial.println(Datatransfer(alt,1),1);//print altitude data return; } } } } void setup() { pinMode(3,OUTPUT);//The default digital driver pins for the GSM and GPS mode pinMode(4,OUTPUT); pinMode(5,OUTPUT); digitalWrite(5,HIGH); delay(1500); digitalWrite(5,LOW); digitalWrite(3,LOW);//Enable GSM mode digitalWrite(4,HIGH);//Disable GPS mode delay(2000); Serial.begin(9600); delay(5000);//GPS ready Serial.println("AT"); delay(2000); //turn on GPS power supply Serial.println("AT+CGPSPWR=1"); delay(1000); //reset GPS in autonomy mode Serial.println("AT+CGPSRST=1"); delay(1000); digitalWrite(4,LOW);//Enable GPS mode digitalWrite(3,HIGH);//Disable GSM mode delay(2000); Serial.println("$GPGGA statement information: "); } void loop() { while(1) { Serial.print("UTC:"); UTC(); Serial.print("Lat:"); latitude(); Serial.print("Dir:"); lat_dir(); Serial.print("Lon:"); longitude(); Serial.print("Dir:"); lon_dir(); Serial.print("Alt:"); altitude(); Serial.println(' '); Serial.println(' '); } }
seems to work... anyone know how to check if the data are correct?? ;D ;D
My house in "Google Maps" is: 41.43680882 2.21765578
Latitude: 41.43680882 41° 26' 12.51" N
Longitude: 2.21765578 002° 13' 03.56" E
Thannnksss all soo muchh !! ;D ;D I will try more codes !!


REEDIT:
-----------------------------------------------------------------------------------------------------------------------------
I have also tried 4.3.3 How to Make a phone call, Via Arduino Board
Code: Select all
Arduino Monitor Serial print this:// # 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. Plug the jumper caps back to GSM side // # 7. RST the board // # wiki link- https://www.dfrobot.com/wiki/index.php/GPS/GPRS/GSM_Module_V3.0_(SKU: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); //Make a phone call Serial.println("ATD601091064;");//Change the receiver phone number while(1); }
http://www.hostingpics.net/viewer.php?i ... lamada.jpg
spend minutes and not receive call.... T.T :'(
I follow all the steps of the switches
And do not remove any jumper

thanks, I'll keep trying :-[ :-[
RE-REDIT
-------------------------------------------------------------------------------------------------------------
4.3.1 How to Send a message Via Arduino Board
Code: Select all
I Used CoolTerm to change program// # 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. Plug the jumper caps back to GSM side // # 7. RST the board // # wiki link- https://www.dfrobot.com/wiki/index.php/GPS/GPRS/GSM_Module_V3.0_(SKU: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=\"601091064\"");//Change the receiver phone number delay(1000); Serial.print("HELLO");//the message you want to send delay(1000); Serial.write(26); while(1); }
Seems that punctuation marks correctly shows:
http://www.hostingpics.net/viewer.php?id=186367cool.png
but i never received this message
not need the prefix number of the country?
or need some more character to the command?
I think I do it well :-\ :-[
---------------------------------------------------------------------------------------------------------------------
4.2 How to drive the GPS Mode via USB port
---------------------------------------------------------------------------------------------------------------------
Code: Select all
still does not work :'(// # Steps: // # 1. Turn the S1 switch to the Prog(right side) // # 2. Turn the S2 switch to the USB side(left side) // # 3. Set the UART select switch to middle one. // # 4. Upload the sketch to the Arduino board(Make sure turn off other Serial monitor ) // # 5. Turn the S1 switch to the comm(left side) // # 7. RST the board until the START led is on // # wiki link- https://www.dfrobot.com/wiki/index.php/GPS/GPRS/GSM_Module_V3.0_(SKU:TEL0051) void setup() { //Init the driver pins for GSM function pinMode(3,OUTPUT); pinMode(4,OUTPUT); pinMode(5,OUTPUT); //Output GSM Timing digitalWrite(5,HIGH); delay(1500); digitalWrite(5,LOW); } void loop() { digitalWrite(3,HIGH);//disable GSM TX?RX digitalWrite(4,HIGH);//disable GPS TX?RX }
http://www.hostingpics.net/viewer.php?i ... sperar.jpg
how long to wait to be shown on screen:
RDY
+ CFUN: 1
+ CPIN: READY
GPS Ready
Call Ready ??
------------------------------------------------------------------------------------------------------------------
4.1.3 How to Send a message Via USB port
-------------------------------------------------------------------------------------------------------------------
Code: Select all
happens to me exactly the same as with the previous case. // # Steps: // # 1. Turn the S1 switch to the Prog(right side) // # 2. Turn the S2 switch to the USB side(left side) // # 3. Set the UART select switch to middle one. // # 4. Upload the sketch to the Arduino board(Make sure turn off other Serial monitor ) // # 5. Turn the S1 switch to the comm(left side) // # 7. RST the board // # wiki link- https://www.dfrobot.com/wiki/index.php/GPS/GPRS/GSM_Module_V3.0_(SKU:TEL0051) void setup() { //Init the driver pins for GSM function pinMode(3,OUTPUT); pinMode(4,OUTPUT); pinMode(5,OUTPUT); //Output GSM Timing digitalWrite(5,HIGH); delay(1500); digitalWrite(5,LOW); } void loop() { // Use these commands instead of the hardware switch 'UART select' in order to enable each mode // If you want to use both GMS and GPS. enable the required one in your code and disable the other one for each access. digitalWrite(3,LOW);//enable GSM TX?RX digitalWrite(4,HIGH);//disable GPS TX?RX }


http://www.hostingpics.net/viewer.php?id=337470lasr.jpg
Sorry to disappear and come back with so many doubts.
I await your suggestions very grateful.
This weekend we'll read more and keep trying.
Thanks very much



2014-05-22 15:47:16 4.1.5 How to Make a phone call, Via USB port
Steps:
Send:AT
Send:ATDXXXXXXX;?xxxxxxx is the number of receiver,don't forget the ;?
Try on Serial first to make sure that is not the issue.
I tried this example from the wiki.
http://www.hostingpics.net/viewer.php?id=548592ard.jpg
When send AT Commands, I have tried 4ways:
http://www.hostingpics.net/viewer.php?i ... 0ardui.jpg
"ATDxxxxxxxxx;"
ATDxxxxxxxxx;
ATDxxxxxxxxx;? ? this is a cube ?? :-\
ATD"xxxxxxxxx;?"
Why the examples do not work T.T
any idea what I can try more ???
thanksss sooo muuuchh and sorry for writting later
EDIT:
-------------------------------------------------------------------------------------------------------------------
I tested now "4.4 How to drive the GPS Mode via Arduino board"
seems to work... anyone know how to check if the data are correct?? ;D ;D
My house in "Google Maps" is: 41.43680882 2.21765578
Latitude: 41.43680882 41° 26' 12.51" N
Longitude: 2.21765578 002° 13' 03.56" E
Thannnksss all soo muchh !! ;D ;D I will try more codes !!

REEDIT:
-----------------------------------------------------------------------------------------------------------------------------
I have also tried 4.3.3 How to Make a phone call, Via Arduino Board
http://www.hostingpics.net/viewer.php?i ... lamada.jpg
spend minutes and not receive call.... T.T :'(
I follow all the steps of the switches
And do not remove any jumper
thanks, I'll keep trying :-[ :-[
RE-REDIT
-------------------------------------------------------------------------------------------------------------
4.3.1 How to Send a message Via Arduino Board
Seems that punctuation marks correctly shows:
http://www.hostingpics.net/viewer.php?id=186367cool.png
but i never received this message
not need the prefix number of the country?
or need some more character to the command?
I think I do it well :-\ :-[
---------------------------------------------------------------------------------------------------------------------
4.2 How to drive the GPS Mode via USB port
---------------------------------------------------------------------------------------------------------------------
http://www.hostingpics.net/viewer.php?i ... sperar.jpg
how long to wait to be shown on screen:
RDY
+ CFUN: 1
+ CPIN: READY
GPS Ready
Call Ready ??
------------------------------------------------------------------------------------------------------------------
4.1.3 How to Send a message Via USB port
-------------------------------------------------------------------------------------------------------------------


http://www.hostingpics.net/viewer.php?id=337470lasr.jpg
Sorry to disappear and come back with so many doubts.
I await your suggestions very grateful.
This weekend we'll read more and keep trying.
Thanks very much
;D
Jail3k
Steps:
Send:AT
Send:ATDXXXXXXX;?xxxxxxx is the number of receiver,don't forget the ;?
Try on Serial first to make sure that is not the issue.
I tried this example from the wiki.
Code: Select all
Open Arduino Monitor Serial:// # Steps: // # 1. Turn the S1 switch to the Prog(right side) // # 2. Turn the S2 switch to the USB side(left side) // # 3. Set the UART select switch to middle one. // # 4. Upload the sketch to the Arduino board(Make sure turn off other Serial monitor ) // # 5. Turn the S1 switch to the comm(left side) // # 7. RST the board // # wiki link- https://www.dfrobot.com/wiki/index.php/GPS/GPRS/GSM_Module_V3.0_(SKU:TEL0051) void setup() { //Init the driver pins for GSM function pinMode(3,OUTPUT); pinMode(4,OUTPUT); pinMode(5,OUTPUT); //Output GSM Timing digitalWrite(5,HIGH); delay(1500); digitalWrite(5,LOW); } void loop() { // Use these commands instead of the hardware switch 'UART select' in order to enable each mode // If you want to use both GMS and GPS. enable the required one in your code and disable the other one for each access. digitalWrite(3,LOW);//enable GSM TX?RX digitalWrite(4,HIGH);//disable GPS TX?RX }
http://www.hostingpics.net/viewer.php?id=548592ard.jpg
When send AT Commands, I have tried 4ways:
http://www.hostingpics.net/viewer.php?i ... 0ardui.jpg
"ATDxxxxxxxxx;"
ATDxxxxxxxxx;
ATDxxxxxxxxx;? ? this is a cube ?? :-\
ATD"xxxxxxxxx;?"
Why the examples do not work T.T
any idea what I can try more ???
thanksss sooo muuuchh and sorry for writting later

EDIT:
-------------------------------------------------------------------------------------------------------------------
I tested now "4.4 How to drive the GPS Mode via Arduino board"
Code: Select all
http://www.hostingpics.net/viewer.php?i ... 3coord.jpg// Product name: GPS/GPRS/GSM Module V3.0 // # Product SKU : TEL0051 // # Version : 0.1 // # Description: // # The sketch for driving the gps 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 // # If you get 'inf' values, go outdoors and wait until it is connected. // # wiki link- https://www.dfrobot.com/wiki/index.php/GPS/GPRS/GSM_Module_V3.0_(SKU:TEL0051) double Datatransfer(char *data_buf,char num)//convert the data to the float type { //*data_buf?the data array double temp=0.0; //the number of the right of a decimal point unsigned char i,j; if(data_buf[0]=='-') { i=1; //process the data array while(data_buf[i]!='.') temp=temp*10+(data_buf[i++]-0x30); for(j=0;j<num;j++) temp=temp*10+(data_buf[++i]-0x30); //convert the int type to the float type for(j=0;j<num;j++) temp=temp/10; //convert to the negative numbe temp=0-temp; } else//for the positive number { i=0; while(data_buf[i]!='.') temp=temp*10+(data_buf[i++]-0x30); for(j=0;j<num;j++) temp=temp*10+(data_buf[++i]-0x30); for(j=0;j<num;j++) temp=temp/10 ; } return temp; } char ID()//Match the ID commands { char i=0; char value[6]={ '$','G','P','G','G','A' };//match the gps protocol char val[6]={ '0','0','0','0','0','0' }; while(1) { if(Serial.available()) { val[i] = Serial.read();//get the data from the serial interface if(val[i]==value[i]) //Match the protocol { i++; if(i==6) { i=0; return 1;//break out after get the command } } else i=0; } } } void comma(char num)//get ',' { char val; char count=0;//count the number of ',' while(1) { if(Serial.available()) { val = Serial.read(); if(val==',') count++; } if(count==num)//if the command is right, run return return; } } void UTC()//get the UTC data -- the time { char i; char time[9]={ '0','0','0','0','0','0','0','0','0' }; double t=0.0; if( ID())//check ID { comma(1);//remove 1 ',' //get the datas after headers while(1) { if(Serial.available()) { time[i] = Serial.read(); i++; } if(i==9) { i=0; t=Datatransfer(time,2);//convert data t=t+80000.00;//convert to the chinese time GMT+8 Time zone Serial.println(t);//Print data return; } } } } void latitude()//get latitude { char i; char lat[10]={ '0','0','0','0','0','0','0','0','0','0' }; if( ID()) { comma(2); while(1) { if(Serial.available()) { lat[i] = Serial.read(); i++; } if(i==10) { i=0; Serial.println(Datatransfer(lat,5),5);//print latitude return; } } } } void lat_dir()//get dimensions { char i=0,val; if( ID()) { comma(3); while(1) { if(Serial.available()) { val = Serial.read(); Serial.write(val); Serial.println(); i++; } if(i==1) { i=0; return; } } } } void longitude()//get longitude { char i; char lon[11]={ '0','0','0','0','0','0','0','0','0','0','0' }; if( ID()) { comma(4); while(1) { if(Serial.available()) { lon[i] = Serial.read(); i++; } if(i==11) { i=0; Serial.println(Datatransfer(lon,5),5); return; } } } } void lon_dir()//get direction data { char i=0,val; if( ID()) { comma(5); while(1) { if(Serial.available()) { val = Serial.read(); Serial.write(val); //Serial.println(val,BYTE); Serial.println(); i++; } if(i==1) { i=0; return; } } } } void altitude()//get altitude data { char i,flag=0; char alt[8]={ '0','0','0','0','0','0','0','0' }; if( ID()) { comma(9); while(1) { if(Serial.available()) { alt[i] = Serial.read(); if(alt[i]==',') flag=1; else i++; } if(flag) { i=0; Serial.println(Datatransfer(alt,1),1);//print altitude data return; } } } } void setup() { pinMode(3,OUTPUT);//The default digital driver pins for the GSM and GPS mode pinMode(4,OUTPUT); pinMode(5,OUTPUT); digitalWrite(5,HIGH); delay(1500); digitalWrite(5,LOW); digitalWrite(3,LOW);//Enable GSM mode digitalWrite(4,HIGH);//Disable GPS mode delay(2000); Serial.begin(9600); delay(5000);//GPS ready Serial.println("AT"); delay(2000); //turn on GPS power supply Serial.println("AT+CGPSPWR=1"); delay(1000); //reset GPS in autonomy mode Serial.println("AT+CGPSRST=1"); delay(1000); digitalWrite(4,LOW);//Enable GPS mode digitalWrite(3,HIGH);//Disable GSM mode delay(2000); Serial.println("$GPGGA statement information: "); } void loop() { while(1) { Serial.print("UTC:"); UTC(); Serial.print("Lat:"); latitude(); Serial.print("Dir:"); lat_dir(); Serial.print("Lon:"); longitude(); Serial.print("Dir:"); lon_dir(); Serial.print("Alt:"); altitude(); Serial.println(' '); Serial.println(' '); } }
seems to work... anyone know how to check if the data are correct?? ;D ;D
My house in "Google Maps" is: 41.43680882 2.21765578
Latitude: 41.43680882 41° 26' 12.51" N
Longitude: 2.21765578 002° 13' 03.56" E
Thannnksss all soo muchh !! ;D ;D I will try more codes !!


REEDIT:
-----------------------------------------------------------------------------------------------------------------------------
I have also tried 4.3.3 How to Make a phone call, Via Arduino Board
Code: Select all
Arduino Monitor Serial print this:// # 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. Plug the jumper caps back to GSM side // # 7. RST the board // # wiki link- https://www.dfrobot.com/wiki/index.php/GPS/GPRS/GSM_Module_V3.0_(SKU: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); //Make a phone call Serial.println("ATD601091064;");//Change the receiver phone number while(1); }
http://www.hostingpics.net/viewer.php?i ... lamada.jpg
spend minutes and not receive call.... T.T :'(
I follow all the steps of the switches
And do not remove any jumper

thanks, I'll keep trying :-[ :-[
RE-REDIT
-------------------------------------------------------------------------------------------------------------
4.3.1 How to Send a message Via Arduino Board
Code: Select all
I Used CoolTerm to change program// # 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. Plug the jumper caps back to GSM side // # 7. RST the board // # wiki link- https://www.dfrobot.com/wiki/index.php/GPS/GPRS/GSM_Module_V3.0_(SKU: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=\"601091064\"");//Change the receiver phone number delay(1000); Serial.print("HELLO");//the message you want to send delay(1000); Serial.write(26); while(1); }
Seems that punctuation marks correctly shows:
http://www.hostingpics.net/viewer.php?id=186367cool.png
but i never received this message
not need the prefix number of the country?
or need some more character to the command?
I think I do it well :-\ :-[
---------------------------------------------------------------------------------------------------------------------
4.2 How to drive the GPS Mode via USB port
---------------------------------------------------------------------------------------------------------------------
Code: Select all
still does not work :'(// # Steps: // # 1. Turn the S1 switch to the Prog(right side) // # 2. Turn the S2 switch to the USB side(left side) // # 3. Set the UART select switch to middle one. // # 4. Upload the sketch to the Arduino board(Make sure turn off other Serial monitor ) // # 5. Turn the S1 switch to the comm(left side) // # 7. RST the board until the START led is on // # wiki link- https://www.dfrobot.com/wiki/index.php/GPS/GPRS/GSM_Module_V3.0_(SKU:TEL0051) void setup() { //Init the driver pins for GSM function pinMode(3,OUTPUT); pinMode(4,OUTPUT); pinMode(5,OUTPUT); //Output GSM Timing digitalWrite(5,HIGH); delay(1500); digitalWrite(5,LOW); } void loop() { digitalWrite(3,HIGH);//disable GSM TX?RX digitalWrite(4,HIGH);//disable GPS TX?RX }
http://www.hostingpics.net/viewer.php?i ... sperar.jpg
how long to wait to be shown on screen:
RDY
+ CFUN: 1
+ CPIN: READY
GPS Ready
Call Ready ??
------------------------------------------------------------------------------------------------------------------
4.1.3 How to Send a message Via USB port
-------------------------------------------------------------------------------------------------------------------
Code: Select all
happens to me exactly the same as with the previous case. // # Steps: // # 1. Turn the S1 switch to the Prog(right side) // # 2. Turn the S2 switch to the USB side(left side) // # 3. Set the UART select switch to middle one. // # 4. Upload the sketch to the Arduino board(Make sure turn off other Serial monitor ) // # 5. Turn the S1 switch to the comm(left side) // # 7. RST the board // # wiki link- https://www.dfrobot.com/wiki/index.php/GPS/GPRS/GSM_Module_V3.0_(SKU:TEL0051) void setup() { //Init the driver pins for GSM function pinMode(3,OUTPUT); pinMode(4,OUTPUT); pinMode(5,OUTPUT); //Output GSM Timing digitalWrite(5,HIGH); delay(1500); digitalWrite(5,LOW); } void loop() { // Use these commands instead of the hardware switch 'UART select' in order to enable each mode // If you want to use both GMS and GPS. enable the required one in your code and disable the other one for each access. digitalWrite(3,LOW);//enable GSM TX?RX digitalWrite(4,HIGH);//disable GPS TX?RX }


http://www.hostingpics.net/viewer.php?id=337470lasr.jpg
Sorry to disappear and come back with so many doubts.
I await your suggestions very grateful.
This weekend we'll read more and keep trying.
Thanks very much



2014-05-22 15:47:16 4.1.5 How to Make a phone call, Via USB port
Steps:
Send:AT
Send:ATDXXXXXXX;?xxxxxxx is the number of receiver,don't forget the ;?
Try on Serial first to make sure that is not the issue.
I tried this example from the wiki.
http://www.hostingpics.net/viewer.php?id=548592ard.jpg
When send AT Commands, I have tried 4ways:
http://www.hostingpics.net/viewer.php?i ... 0ardui.jpg
"ATDxxxxxxxxx;"
ATDxxxxxxxxx;
ATDxxxxxxxxx;? ? this is a cube ?? :-\
ATD"xxxxxxxxx;?"
Why the examples do not work T.T
any idea what I can try more ???
thanksss sooo muuuchh and sorry for writting later
EDIT:
-------------------------------------------------------------------------------------------------------------------
I tested now "4.4 How to drive the GPS Mode via Arduino board"
seems to work... anyone know how to check if the data are correct?? ;D ;D
My house in "Google Maps" is: 41.43680882 2.21765578
Latitude: 41.43680882 41° 26' 12.51" N
Longitude: 2.21765578 002° 13' 03.56" E
Thannnksss all soo muchh !! ;D ;D I will try more codes !!

REEDIT:
-----------------------------------------------------------------------------------------------------------------------------
I have also tried 4.3.3 How to Make a phone call, Via Arduino Board
http://www.hostingpics.net/viewer.php?i ... lamada.jpg
spend minutes and not receive call.... T.T :'(
I follow all the steps of the switches
And do not remove any jumper
thanks, I'll keep trying :-[ :-[
RE-REDIT
-------------------------------------------------------------------------------------------------------------
4.3.1 How to Send a message Via Arduino Board
Seems that punctuation marks correctly shows:
http://www.hostingpics.net/viewer.php?id=186367cool.png
but i never received this message
not need the prefix number of the country?
or need some more character to the command?
I think I do it well :-\ :-[
---------------------------------------------------------------------------------------------------------------------
4.2 How to drive the GPS Mode via USB port
---------------------------------------------------------------------------------------------------------------------
http://www.hostingpics.net/viewer.php?i ... sperar.jpg
how long to wait to be shown on screen:
RDY
+ CFUN: 1
+ CPIN: READY
GPS Ready
Call Ready ??
------------------------------------------------------------------------------------------------------------------
4.1.3 How to Send a message Via USB port
-------------------------------------------------------------------------------------------------------------------


http://www.hostingpics.net/viewer.php?id=337470lasr.jpg
Sorry to disappear and come back with so many doubts.
I await your suggestions very grateful.
This weekend we'll read more and keep trying.
Thanks very much
;D
Jail3k
Steps:
Send:AT
Send:ATDXXXXXXX;?xxxxxxx is the number of receiver,don't forget the ;?
Try on Serial first to make sure that is not the issue.
I tried this example from the wiki.
Code: Select all
Open Arduino Monitor Serial:// # Steps: // # 1. Turn the S1 switch to the Prog(right side) // # 2. Turn the S2 switch to the USB side(left side) // # 3. Set the UART select switch to middle one. // # 4. Upload the sketch to the Arduino board(Make sure turn off other Serial monitor ) // # 5. Turn the S1 switch to the comm(left side) // # 7. RST the board // # wiki link- https://www.dfrobot.com/wiki/index.php/GPS/GPRS/GSM_Module_V3.0_(SKU:TEL0051) void setup() { //Init the driver pins for GSM function pinMode(3,OUTPUT); pinMode(4,OUTPUT); pinMode(5,OUTPUT); //Output GSM Timing digitalWrite(5,HIGH); delay(1500); digitalWrite(5,LOW); } void loop() { // Use these commands instead of the hardware switch 'UART select' in order to enable each mode // If you want to use both GMS and GPS. enable the required one in your code and disable the other one for each access. digitalWrite(3,LOW);//enable GSM TX?RX digitalWrite(4,HIGH);//disable GPS TX?RX }
http://www.hostingpics.net/viewer.php?id=548592ard.jpg
When send AT Commands, I have tried 4ways:
http://www.hostingpics.net/viewer.php?i ... 0ardui.jpg
"ATDxxxxxxxxx;"
ATDxxxxxxxxx;
ATDxxxxxxxxx;? ? this is a cube ?? :-\
ATD"xxxxxxxxx;?"
Why the examples do not work T.T
any idea what I can try more ???
thanksss sooo muuuchh and sorry for writting later

EDIT:
-------------------------------------------------------------------------------------------------------------------
I tested now "4.4 How to drive the GPS Mode via Arduino board"
Code: Select all
http://www.hostingpics.net/viewer.php?i ... 3coord.jpg// Product name: GPS/GPRS/GSM Module V3.0 // # Product SKU : TEL0051 // # Version : 0.1 // # Description: // # The sketch for driving the gps 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 // # If you get 'inf' values, go outdoors and wait until it is connected. // # wiki link- https://www.dfrobot.com/wiki/index.php/GPS/GPRS/GSM_Module_V3.0_(SKU:TEL0051) double Datatransfer(char *data_buf,char num)//convert the data to the float type { //*data_buf?the data array double temp=0.0; //the number of the right of a decimal point unsigned char i,j; if(data_buf[0]=='-') { i=1; //process the data array while(data_buf[i]!='.') temp=temp*10+(data_buf[i++]-0x30); for(j=0;j<num;j++) temp=temp*10+(data_buf[++i]-0x30); //convert the int type to the float type for(j=0;j<num;j++) temp=temp/10; //convert to the negative numbe temp=0-temp; } else//for the positive number { i=0; while(data_buf[i]!='.') temp=temp*10+(data_buf[i++]-0x30); for(j=0;j<num;j++) temp=temp*10+(data_buf[++i]-0x30); for(j=0;j<num;j++) temp=temp/10 ; } return temp; } char ID()//Match the ID commands { char i=0; char value[6]={ '$','G','P','G','G','A' };//match the gps protocol char val[6]={ '0','0','0','0','0','0' }; while(1) { if(Serial.available()) { val[i] = Serial.read();//get the data from the serial interface if(val[i]==value[i]) //Match the protocol { i++; if(i==6) { i=0; return 1;//break out after get the command } } else i=0; } } } void comma(char num)//get ',' { char val; char count=0;//count the number of ',' while(1) { if(Serial.available()) { val = Serial.read(); if(val==',') count++; } if(count==num)//if the command is right, run return return; } } void UTC()//get the UTC data -- the time { char i; char time[9]={ '0','0','0','0','0','0','0','0','0' }; double t=0.0; if( ID())//check ID { comma(1);//remove 1 ',' //get the datas after headers while(1) { if(Serial.available()) { time[i] = Serial.read(); i++; } if(i==9) { i=0; t=Datatransfer(time,2);//convert data t=t+80000.00;//convert to the chinese time GMT+8 Time zone Serial.println(t);//Print data return; } } } } void latitude()//get latitude { char i; char lat[10]={ '0','0','0','0','0','0','0','0','0','0' }; if( ID()) { comma(2); while(1) { if(Serial.available()) { lat[i] = Serial.read(); i++; } if(i==10) { i=0; Serial.println(Datatransfer(lat,5),5);//print latitude return; } } } } void lat_dir()//get dimensions { char i=0,val; if( ID()) { comma(3); while(1) { if(Serial.available()) { val = Serial.read(); Serial.write(val); Serial.println(); i++; } if(i==1) { i=0; return; } } } } void longitude()//get longitude { char i; char lon[11]={ '0','0','0','0','0','0','0','0','0','0','0' }; if( ID()) { comma(4); while(1) { if(Serial.available()) { lon[i] = Serial.read(); i++; } if(i==11) { i=0; Serial.println(Datatransfer(lon,5),5); return; } } } } void lon_dir()//get direction data { char i=0,val; if( ID()) { comma(5); while(1) { if(Serial.available()) { val = Serial.read(); Serial.write(val); //Serial.println(val,BYTE); Serial.println(); i++; } if(i==1) { i=0; return; } } } } void altitude()//get altitude data { char i,flag=0; char alt[8]={ '0','0','0','0','0','0','0','0' }; if( ID()) { comma(9); while(1) { if(Serial.available()) { alt[i] = Serial.read(); if(alt[i]==',') flag=1; else i++; } if(flag) { i=0; Serial.println(Datatransfer(alt,1),1);//print altitude data return; } } } } void setup() { pinMode(3,OUTPUT);//The default digital driver pins for the GSM and GPS mode pinMode(4,OUTPUT); pinMode(5,OUTPUT); digitalWrite(5,HIGH); delay(1500); digitalWrite(5,LOW); digitalWrite(3,LOW);//Enable GSM mode digitalWrite(4,HIGH);//Disable GPS mode delay(2000); Serial.begin(9600); delay(5000);//GPS ready Serial.println("AT"); delay(2000); //turn on GPS power supply Serial.println("AT+CGPSPWR=1"); delay(1000); //reset GPS in autonomy mode Serial.println("AT+CGPSRST=1"); delay(1000); digitalWrite(4,LOW);//Enable GPS mode digitalWrite(3,HIGH);//Disable GSM mode delay(2000); Serial.println("$GPGGA statement information: "); } void loop() { while(1) { Serial.print("UTC:"); UTC(); Serial.print("Lat:"); latitude(); Serial.print("Dir:"); lat_dir(); Serial.print("Lon:"); longitude(); Serial.print("Dir:"); lon_dir(); Serial.print("Alt:"); altitude(); Serial.println(' '); Serial.println(' '); } }
seems to work... anyone know how to check if the data are correct?? ;D ;D
My house in "Google Maps" is: 41.43680882 2.21765578
Latitude: 41.43680882 41° 26' 12.51" N
Longitude: 2.21765578 002° 13' 03.56" E
Thannnksss all soo muchh !! ;D ;D I will try more codes !!


REEDIT:
-----------------------------------------------------------------------------------------------------------------------------
I have also tried 4.3.3 How to Make a phone call, Via Arduino Board
Code: Select all
Arduino Monitor Serial print this:// # 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. Plug the jumper caps back to GSM side // # 7. RST the board // # wiki link- https://www.dfrobot.com/wiki/index.php/GPS/GPRS/GSM_Module_V3.0_(SKU: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); //Make a phone call Serial.println("ATD601091064;");//Change the receiver phone number while(1); }
http://www.hostingpics.net/viewer.php?i ... lamada.jpg
spend minutes and not receive call.... T.T :'(
I follow all the steps of the switches
And do not remove any jumper

thanks, I'll keep trying :-[ :-[
RE-REDIT
-------------------------------------------------------------------------------------------------------------
4.3.1 How to Send a message Via Arduino Board
Code: Select all
I Used CoolTerm to change program// # 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. Plug the jumper caps back to GSM side // # 7. RST the board // # wiki link- https://www.dfrobot.com/wiki/index.php/GPS/GPRS/GSM_Module_V3.0_(SKU: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=\"601091064\"");//Change the receiver phone number delay(1000); Serial.print("HELLO");//the message you want to send delay(1000); Serial.write(26); while(1); }
Seems that punctuation marks correctly shows:
http://www.hostingpics.net/viewer.php?id=186367cool.png
but i never received this message
not need the prefix number of the country?
or need some more character to the command?
I think I do it well :-\ :-[
---------------------------------------------------------------------------------------------------------------------
4.2 How to drive the GPS Mode via USB port
---------------------------------------------------------------------------------------------------------------------
Code: Select all
still does not work :'(// # Steps: // # 1. Turn the S1 switch to the Prog(right side) // # 2. Turn the S2 switch to the USB side(left side) // # 3. Set the UART select switch to middle one. // # 4. Upload the sketch to the Arduino board(Make sure turn off other Serial monitor ) // # 5. Turn the S1 switch to the comm(left side) // # 7. RST the board until the START led is on // # wiki link- https://www.dfrobot.com/wiki/index.php/GPS/GPRS/GSM_Module_V3.0_(SKU:TEL0051) void setup() { //Init the driver pins for GSM function pinMode(3,OUTPUT); pinMode(4,OUTPUT); pinMode(5,OUTPUT); //Output GSM Timing digitalWrite(5,HIGH); delay(1500); digitalWrite(5,LOW); } void loop() { digitalWrite(3,HIGH);//disable GSM TX?RX digitalWrite(4,HIGH);//disable GPS TX?RX }
http://www.hostingpics.net/viewer.php?i ... sperar.jpg
how long to wait to be shown on screen:
RDY
+ CFUN: 1
+ CPIN: READY
GPS Ready
Call Ready ??
------------------------------------------------------------------------------------------------------------------
4.1.3 How to Send a message Via USB port
-------------------------------------------------------------------------------------------------------------------
Code: Select all
happens to me exactly the same as with the previous case. // # Steps: // # 1. Turn the S1 switch to the Prog(right side) // # 2. Turn the S2 switch to the USB side(left side) // # 3. Set the UART select switch to middle one. // # 4. Upload the sketch to the Arduino board(Make sure turn off other Serial monitor ) // # 5. Turn the S1 switch to the comm(left side) // # 7. RST the board // # wiki link- https://www.dfrobot.com/wiki/index.php/GPS/GPRS/GSM_Module_V3.0_(SKU:TEL0051) void setup() { //Init the driver pins for GSM function pinMode(3,OUTPUT); pinMode(4,OUTPUT); pinMode(5,OUTPUT); //Output GSM Timing digitalWrite(5,HIGH); delay(1500); digitalWrite(5,LOW); } void loop() { // Use these commands instead of the hardware switch 'UART select' in order to enable each mode // If you want to use both GMS and GPS. enable the required one in your code and disable the other one for each access. digitalWrite(3,LOW);//enable GSM TX?RX digitalWrite(4,HIGH);//disable GPS TX?RX }


http://www.hostingpics.net/viewer.php?id=337470lasr.jpg
Sorry to disappear and come back with so many doubts.
I await your suggestions very grateful.
This weekend we'll read more and keep trying.
Thanks very much



2014-05-10 02:46:13 Hello Jail,
It seems to be a problem with the command. You might have missed the end line character which is usually "invisible" or maybe the ';' after the phone number.
Please check again in the wiki to make sure:
Steps:
Send:AT
Send:ATDXXXXXXX;?xxxxxxx is the number of receiver,don't forget the ;?
Try on Serial first to make sure that is not the issue.
Jose
It seems to be a problem with the command. You might have missed the end line character which is usually "invisible" or maybe the ';' after the phone number.
Please check again in the wiki to make sure:
Steps:
Send:AT
Send:ATDXXXXXXX;?xxxxxxx is the number of receiver,don't forget the ;?
Try on Serial first to make sure that is not the issue.

2014-05-10 02:46:13 Hello Jail,
It seems to be a problem with the command. You might have missed the end line character which is usually "invisible" or maybe the ';' after the phone number.
Please check again in the wiki to make sure:
Steps:
Send:AT
Send:ATDXXXXXXX;?xxxxxxx is the number of receiver,don't forget the ;?
Try on Serial first to make sure that is not the issue.
Jose
It seems to be a problem with the command. You might have missed the end line character which is usually "invisible" or maybe the ';' after the phone number.
Please check again in the wiki to make sure:
Steps:
Send:AT
Send:ATDXXXXXXX;?xxxxxxx is the number of receiver,don't forget the ;?
Try on Serial first to make sure that is not the issue.

2014-05-10 02:46:13 Hello Jail,
It seems to be a problem with the command. You might have missed the end line character which is usually "invisible" or maybe the ';' after the phone number.
Please check again in the wiki to make sure:
Steps:
Send:AT
Send:ATDXXXXXXX;?xxxxxxx is the number of receiver,don't forget the ;?
Try on Serial first to make sure that is not the issue.
Jose
It seems to be a problem with the command. You might have missed the end line character which is usually "invisible" or maybe the ';' after the phone number.
Please check again in the wiki to make sure:
Steps:
Send:AT
Send:ATDXXXXXXX;?xxxxxxx is the number of receiver,don't forget the ;?
Try on Serial first to make sure that is not the issue.

2014-05-09 11:45:24 I just tested GSM via USB.
Monitor Arduino responds ERROR:
http://www.hostingpics.net/viewer.php?i ... ceiver.jpg
T.T
at least I've got a couple of answers of Shield via USB
xd
Thanks for answering ^^ much thanks ;D ;D
Jail3k
Code: Select all
when I have to enter the recipient (AT + CMGS = "6010910XX") void setup() { //Init the driver pins for GSM function pinMode(3,OUTPUT); pinMode(4,OUTPUT); pinMode(5,OUTPUT); //Output GSM Timing digitalWrite(5,HIGH); delay(1500); digitalWrite(5,LOW); } void loop() { // Use these commands instead of the hardware switch 'UART select' in order to enable each mode // If you want to use both GMS and GPS. enable the required one in your code and disable the other one for each access. digitalWrite(3,LOW);//enable GSM TX?RX digitalWrite(4,HIGH);//disable GPS TX?RX }
Monitor Arduino responds ERROR:
http://www.hostingpics.net/viewer.php?i ... ceiver.jpg
T.T
at least I've got a couple of answers of Shield via USB

Thanks for answering ^^ much thanks ;D ;D

2014-05-09 11:45:24 I just tested GSM via USB.
Monitor Arduino responds ERROR:
http://www.hostingpics.net/viewer.php?i ... ceiver.jpg
T.T
at least I've got a couple of answers of Shield via USB
xd
Thanks for answering ^^ much thanks ;D ;D
Jail3k
Code: Select all
when I have to enter the recipient (AT + CMGS = "6010910XX") void setup() { //Init the driver pins for GSM function pinMode(3,OUTPUT); pinMode(4,OUTPUT); pinMode(5,OUTPUT); //Output GSM Timing digitalWrite(5,HIGH); delay(1500); digitalWrite(5,LOW); } void loop() { // Use these commands instead of the hardware switch 'UART select' in order to enable each mode // If you want to use both GMS and GPS. enable the required one in your code and disable the other one for each access. digitalWrite(3,LOW);//enable GSM TX?RX digitalWrite(4,HIGH);//disable GPS TX?RX }
Monitor Arduino responds ERROR:
http://www.hostingpics.net/viewer.php?i ... ceiver.jpg
T.T
at least I've got a couple of answers of Shield via USB

Thanks for answering ^^ much thanks ;D ;D

2014-05-09 11:45:24 I just tested GSM via USB.
Monitor Arduino responds ERROR:
http://www.hostingpics.net/viewer.php?i ... ceiver.jpg
T.T
at least I've got a couple of answers of Shield via USB
xd
Thanks for answering ^^ much thanks ;D ;D
Jail3k
Code: Select all
when I have to enter the recipient (AT + CMGS = "6010910XX") void setup() { //Init the driver pins for GSM function pinMode(3,OUTPUT); pinMode(4,OUTPUT); pinMode(5,OUTPUT); //Output GSM Timing digitalWrite(5,HIGH); delay(1500); digitalWrite(5,LOW); } void loop() { // Use these commands instead of the hardware switch 'UART select' in order to enable each mode // If you want to use both GMS and GPS. enable the required one in your code and disable the other one for each access. digitalWrite(3,LOW);//enable GSM TX?RX digitalWrite(4,HIGH);//disable GPS TX?RX }
Monitor Arduino responds ERROR:
http://www.hostingpics.net/viewer.php?i ... ceiver.jpg
T.T
at least I've got a couple of answers of Shield via USB

Thanks for answering ^^ much thanks ;D ;D

2014-05-09 11:05:57
I uploaded a video so you can see the GPS mode via USB :
All time UART in Middle, S2 in USB.
S1 to Prog before upload Sketch, and after switch to Comm
https://www.youtube.com/watch?v=LFgzltY ... e=youtu.be
thank you very much for your interest in helping
Jail3k
Thanks for answering !!Jose wrote: Hola Jail3k,
A little off topic, but saw the telefonica SIM and the Spanish on the video... Do you keep track of the Spanish football league? My colleague told me its quite tight these days!!
Hahahaha, Madrid has been removed and the Barça follow in the league, it gets interesting
Ok, ok to the point.
I could not see well in the video the status of the switches ( too much blurry ). But i saw you switched the Uart Select to the left (GSM) position. For testing, just leave it in middle position. The board has no indication, but the switch is a 3 position switch. Just keep it in the middle, Since software is taking care of this with the following lines:
//Init the driver pins for GSM function
pinMode(3,OUTPUT);
pinMode(4,OUTPUT);
pinMode(5,OUTPUT);
Ok, will try the GSM mode the Switch in the middle ^^
I think its better if you try to connect the serial port directly to the shield first, and get some answers from the AT commands.
The dreaded message:Means the GSM / GPS / GPRS chip is turned off. But the serial configuration should be alright. Try again with AT commands and if you still get "ÿÿ" pressing reset once should get the LEDS on and blinking and you should get a working serial.Jail3k wrote: Open Arduino Monitor and he show me: "ÿÿ"
I uploaded a video so you can see the GPS mode via USB :
All time UART in Middle, S2 in USB.
S1 to Prog before upload Sketch, and after switch to Comm
https://www.youtube.com/watch?v=LFgzltY ... e=youtu.be
thank you very much for your interest in helping

2014-05-09 11:05:57
I uploaded a video so you can see the GPS mode via USB :
All time UART in Middle, S2 in USB.
S1 to Prog before upload Sketch, and after switch to Comm
https://www.youtube.com/watch?v=LFgzltY ... e=youtu.be
thank you very much for your interest in helping
Jail3k
Thanks for answering !!Jose wrote: Hola Jail3k,
A little off topic, but saw the telefonica SIM and the Spanish on the video... Do you keep track of the Spanish football league? My colleague told me its quite tight these days!!
Hahahaha, Madrid has been removed and the Barça follow in the league, it gets interesting
Ok, ok to the point.
I could not see well in the video the status of the switches ( too much blurry ). But i saw you switched the Uart Select to the left (GSM) position. For testing, just leave it in middle position. The board has no indication, but the switch is a 3 position switch. Just keep it in the middle, Since software is taking care of this with the following lines:
//Init the driver pins for GSM function
pinMode(3,OUTPUT);
pinMode(4,OUTPUT);
pinMode(5,OUTPUT);
Ok, will try the GSM mode the Switch in the middle ^^
I think its better if you try to connect the serial port directly to the shield first, and get some answers from the AT commands.
The dreaded message:Means the GSM / GPS / GPRS chip is turned off. But the serial configuration should be alright. Try again with AT commands and if you still get "ÿÿ" pressing reset once should get the LEDS on and blinking and you should get a working serial.Jail3k wrote: Open Arduino Monitor and he show me: "ÿÿ"
I uploaded a video so you can see the GPS mode via USB :
All time UART in Middle, S2 in USB.
S1 to Prog before upload Sketch, and after switch to Comm
https://www.youtube.com/watch?v=LFgzltY ... e=youtu.be
thank you very much for your interest in helping

2014-05-09 11:05:57
I uploaded a video so you can see the GPS mode via USB :
All time UART in Middle, S2 in USB.
S1 to Prog before upload Sketch, and after switch to Comm
https://www.youtube.com/watch?v=LFgzltY ... e=youtu.be
thank you very much for your interest in helping
Jail3k
Thanks for answering !!Jose wrote: Hola Jail3k,
A little off topic, but saw the telefonica SIM and the Spanish on the video... Do you keep track of the Spanish football league? My colleague told me its quite tight these days!!
Hahahaha, Madrid has been removed and the Barça follow in the league, it gets interesting
Ok, ok to the point.
I could not see well in the video the status of the switches ( too much blurry ). But i saw you switched the Uart Select to the left (GSM) position. For testing, just leave it in middle position. The board has no indication, but the switch is a 3 position switch. Just keep it in the middle, Since software is taking care of this with the following lines:
//Init the driver pins for GSM function
pinMode(3,OUTPUT);
pinMode(4,OUTPUT);
pinMode(5,OUTPUT);
Ok, will try the GSM mode the Switch in the middle ^^
I think its better if you try to connect the serial port directly to the shield first, and get some answers from the AT commands.
The dreaded message:Means the GSM / GPS / GPRS chip is turned off. But the serial configuration should be alright. Try again with AT commands and if you still get "ÿÿ" pressing reset once should get the LEDS on and blinking and you should get a working serial.Jail3k wrote: Open Arduino Monitor and he show me: "ÿÿ"
I uploaded a video so you can see the GPS mode via USB :
All time UART in Middle, S2 in USB.
S1 to Prog before upload Sketch, and after switch to Comm
https://www.youtube.com/watch?v=LFgzltY ... e=youtu.be
thank you very much for your interest in helping

2014-05-09 01:30:23 Hola Jail3k,
A little off topic, but saw the telefonica SIM and the Spanish on the video... Do you keep track of the Spanish football league? My colleague told me its quite tight these days!!
Ok, ok to the point.
I could not see well in the video the status of the switches ( too much blurry ). But i saw you switched the Uart Select to the left (GSM) position. For testing, just leave it in middle position. The board has no indication, but the switch is a 3 position switch. Just keep it in the middle, Since software is taking care of this with the following lines:
//Init the driver pins for GSM function
pinMode(3,OUTPUT);
pinMode(4,OUTPUT);
pinMode(5,OUTPUT);
I think its better if you try to connect the serial port directly to the shield first, and get some answers from the AT commands.
The dreaded message:
Jose
A little off topic, but saw the telefonica SIM and the Spanish on the video... Do you keep track of the Spanish football league? My colleague told me its quite tight these days!!
Ok, ok to the point.
I could not see well in the video the status of the switches ( too much blurry ). But i saw you switched the Uart Select to the left (GSM) position. For testing, just leave it in middle position. The board has no indication, but the switch is a 3 position switch. Just keep it in the middle, Since software is taking care of this with the following lines:
//Init the driver pins for GSM function
pinMode(3,OUTPUT);
pinMode(4,OUTPUT);
pinMode(5,OUTPUT);
I think its better if you try to connect the serial port directly to the shield first, and get some answers from the AT commands.
The dreaded message:
Means the GSM / GPS / GPRS chip is turned off. But the serial configuration should be alright. Try again with AT commands and if you still get "ÿÿ" pressing reset once should get the LEDS on and blinking and you should get a working serial.Jail3k wrote: Open Arduino Monitor and he show me: "ÿÿ"

2014-05-09 01:30:23 Hola Jail3k,
A little off topic, but saw the telefonica SIM and the Spanish on the video... Do you keep track of the Spanish football league? My colleague told me its quite tight these days!!
Ok, ok to the point.
I could not see well in the video the status of the switches ( too much blurry ). But i saw you switched the Uart Select to the left (GSM) position. For testing, just leave it in middle position. The board has no indication, but the switch is a 3 position switch. Just keep it in the middle, Since software is taking care of this with the following lines:
//Init the driver pins for GSM function
pinMode(3,OUTPUT);
pinMode(4,OUTPUT);
pinMode(5,OUTPUT);
I think its better if you try to connect the serial port directly to the shield first, and get some answers from the AT commands.
The dreaded message:
Jose
A little off topic, but saw the telefonica SIM and the Spanish on the video... Do you keep track of the Spanish football league? My colleague told me its quite tight these days!!
Ok, ok to the point.
I could not see well in the video the status of the switches ( too much blurry ). But i saw you switched the Uart Select to the left (GSM) position. For testing, just leave it in middle position. The board has no indication, but the switch is a 3 position switch. Just keep it in the middle, Since software is taking care of this with the following lines:
//Init the driver pins for GSM function
pinMode(3,OUTPUT);
pinMode(4,OUTPUT);
pinMode(5,OUTPUT);
I think its better if you try to connect the serial port directly to the shield first, and get some answers from the AT commands.
The dreaded message:
Means the GSM / GPS / GPRS chip is turned off. But the serial configuration should be alright. Try again with AT commands and if you still get "ÿÿ" pressing reset once should get the LEDS on and blinking and you should get a working serial.Jail3k wrote: Open Arduino Monitor and he show me: "ÿÿ"

2014-05-09 01:30:23 Hola Jail3k,
A little off topic, but saw the telefonica SIM and the Spanish on the video... Do you keep track of the Spanish football league? My colleague told me its quite tight these days!!
Ok, ok to the point.
I could not see well in the video the status of the switches ( too much blurry ). But i saw you switched the Uart Select to the left (GSM) position. For testing, just leave it in middle position. The board has no indication, but the switch is a 3 position switch. Just keep it in the middle, Since software is taking care of this with the following lines:
//Init the driver pins for GSM function
pinMode(3,OUTPUT);
pinMode(4,OUTPUT);
pinMode(5,OUTPUT);
I think its better if you try to connect the serial port directly to the shield first, and get some answers from the AT commands.
The dreaded message:
Jose
A little off topic, but saw the telefonica SIM and the Spanish on the video... Do you keep track of the Spanish football league? My colleague told me its quite tight these days!!
Ok, ok to the point.
I could not see well in the video the status of the switches ( too much blurry ). But i saw you switched the Uart Select to the left (GSM) position. For testing, just leave it in middle position. The board has no indication, but the switch is a 3 position switch. Just keep it in the middle, Since software is taking care of this with the following lines:
//Init the driver pins for GSM function
pinMode(3,OUTPUT);
pinMode(4,OUTPUT);
pinMode(5,OUTPUT);
I think its better if you try to connect the serial port directly to the shield first, and get some answers from the AT commands.
The dreaded message:
Means the GSM / GPS / GPRS chip is turned off. But the serial configuration should be alright. Try again with AT commands and if you still get "ÿÿ" pressing reset once should get the LEDS on and blinking and you should get a working serial.Jail3k wrote: Open Arduino Monitor and he show me: "ÿÿ"

2014-05-07 15:45:08 Hello again !!
Thank you very much for answering
;D ;D
https://www.youtube.com/watch?v=kuS775- ... e=youtu.be
I tested the SIM card in a mobile phone.
From the mobile phone gets the message to the correct destination
I've also tried writing my mobil country prefix in the code, but nothing works:
http://www.hostingpics.net/viewer.php?i ... prefix.png
I do not understand why the tests of wiki do not work T.T :'(
Photo of Balcony:
http://www.hostingpics.net/viewer.php?i ... MG2295.jpg
in this balcony I'll test the GPS
Thank you very much again, greetings
;D
Jail3k
Thank you very much for answering

Grey wrote: Hello Jail3k,
In "How to drive the GPS Mode via USB port"
Could you upload the driver sample code into arduino board first.
Yes (code of wiki):Code: Select allAnd when the status LED is on, Did you see something in the Serial monitor? Like GPS ready,GSM ready? ,call ready?
// Product name: GPS/GPRS/GSM Module V3.0 // # Product SKU : TEL0051 // # Version : 0.1 // # Description: // # The sketch for driving the gps mode via the USB interface // # Steps: // # 1. Turn the S1 switch to the Prog(right side) // # 2. Turn the S2 switch to the USB side(left side) // # 3. Set the UART select switch to middle one. // # 4. Upload the sketch to the Arduino board(Make sure turn off other Serial monitor ) // # 5. Turn the S1 switch to the comm(left side) // # 7. RST the board until the START led is on // # wiki link- https://www.dfrobot.com/wiki/index.php/GPS/GPRS/GSM_Module_V3.0_(SKU:TEL0051) void setup() { //Init the driver pins for GSM function pinMode(3,OUTPUT); pinMode(4,OUTPUT); pinMode(5,OUTPUT); //Output GSM Timing digitalWrite(5,HIGH); delay(1500); digitalWrite(5,LOW); } void loop() { digitalWrite(3,HIGH);//disable GSM TX?RX digitalWrite(4,HIGH);//disable GPS TX?RX }
I uploaded a photo in the previous post. We can see who answers the Serial Monitor
CoolTerm and SerialMonitor Arduino get the same results
http://www.hostingpics.net/viewer.php?i ... termss.jpg
when I press the reset button, the Monitor Series responds ".." or "ÿÿ", and nothing more
Could you attach some screen about and hardware connection?
Tomorrow I upload the video test GPS
Today I upload a video testing GSM
I hope the video helps a bit
Video Test 1: How to Send SMS via Arduino (4.3.1 of wiki)Jose wrote: Welcome Jail3k!
Are you using the external power supply for this example as well?
Yes, conect 12V DC 1.0 Amper
there could be some other things, so better to wait for the pics or videos..
Today I upload a video testing GSM
"4.3 How to drive the GSM Mode via Arduino board"
4.3.1 How to Send a message"
Tomorrow I upload the video test GPS
"4.2 How to drive the GPS Mode via USB port"
and this weekend, testing:
"4.3.2 How to Control your Arduino via SMS"
https://www.youtube.com/watch?v=kuS775- ... e=youtu.be
I tested the SIM card in a mobile phone.
From the mobile phone gets the message to the correct destination
I've also tried writing my mobil country prefix in the code, but nothing works:
http://www.hostingpics.net/viewer.php?i ... prefix.png
I do not understand why the tests of wiki do not work T.T :'(
Photo of Balcony:
http://www.hostingpics.net/viewer.php?i ... MG2295.jpg
in this balcony I'll test the GPS
Thank you very much again, greetings


2014-05-07 15:45:08 Hello again !!
Thank you very much for answering
;D ;D
https://www.youtube.com/watch?v=kuS775- ... e=youtu.be
I tested the SIM card in a mobile phone.
From the mobile phone gets the message to the correct destination
I've also tried writing my mobil country prefix in the code, but nothing works:
http://www.hostingpics.net/viewer.php?i ... prefix.png
I do not understand why the tests of wiki do not work T.T :'(
Photo of Balcony:
http://www.hostingpics.net/viewer.php?i ... MG2295.jpg
in this balcony I'll test the GPS
Thank you very much again, greetings
;D
Jail3k
Thank you very much for answering

Grey wrote: Hello Jail3k,
In "How to drive the GPS Mode via USB port"
Could you upload the driver sample code into arduino board first.
Yes (code of wiki):Code: Select allAnd when the status LED is on, Did you see something in the Serial monitor? Like GPS ready,GSM ready? ,call ready?
// Product name: GPS/GPRS/GSM Module V3.0 // # Product SKU : TEL0051 // # Version : 0.1 // # Description: // # The sketch for driving the gps mode via the USB interface // # Steps: // # 1. Turn the S1 switch to the Prog(right side) // # 2. Turn the S2 switch to the USB side(left side) // # 3. Set the UART select switch to middle one. // # 4. Upload the sketch to the Arduino board(Make sure turn off other Serial monitor ) // # 5. Turn the S1 switch to the comm(left side) // # 7. RST the board until the START led is on // # wiki link- https://www.dfrobot.com/wiki/index.php/GPS/GPRS/GSM_Module_V3.0_(SKU:TEL0051) void setup() { //Init the driver pins for GSM function pinMode(3,OUTPUT); pinMode(4,OUTPUT); pinMode(5,OUTPUT); //Output GSM Timing digitalWrite(5,HIGH); delay(1500); digitalWrite(5,LOW); } void loop() { digitalWrite(3,HIGH);//disable GSM TX?RX digitalWrite(4,HIGH);//disable GPS TX?RX }
I uploaded a photo in the previous post. We can see who answers the Serial Monitor
CoolTerm and SerialMonitor Arduino get the same results
http://www.hostingpics.net/viewer.php?i ... termss.jpg
when I press the reset button, the Monitor Series responds ".." or "ÿÿ", and nothing more
Could you attach some screen about and hardware connection?
Tomorrow I upload the video test GPS
Today I upload a video testing GSM
I hope the video helps a bit
Video Test 1: How to Send SMS via Arduino (4.3.1 of wiki)Jose wrote: Welcome Jail3k!
Are you using the external power supply for this example as well?
Yes, conect 12V DC 1.0 Amper
there could be some other things, so better to wait for the pics or videos..
Today I upload a video testing GSM
"4.3 How to drive the GSM Mode via Arduino board"
4.3.1 How to Send a message"
Tomorrow I upload the video test GPS
"4.2 How to drive the GPS Mode via USB port"
and this weekend, testing:
"4.3.2 How to Control your Arduino via SMS"
https://www.youtube.com/watch?v=kuS775- ... e=youtu.be
I tested the SIM card in a mobile phone.
From the mobile phone gets the message to the correct destination
I've also tried writing my mobil country prefix in the code, but nothing works:
http://www.hostingpics.net/viewer.php?i ... prefix.png
I do not understand why the tests of wiki do not work T.T :'(
Photo of Balcony:
http://www.hostingpics.net/viewer.php?i ... MG2295.jpg
in this balcony I'll test the GPS
Thank you very much again, greetings


2014-05-07 15:45:08 Hello again !!
Thank you very much for answering
;D ;D
https://www.youtube.com/watch?v=kuS775- ... e=youtu.be
I tested the SIM card in a mobile phone.
From the mobile phone gets the message to the correct destination
I've also tried writing my mobil country prefix in the code, but nothing works:
http://www.hostingpics.net/viewer.php?i ... prefix.png
I do not understand why the tests of wiki do not work T.T :'(
Photo of Balcony:
http://www.hostingpics.net/viewer.php?i ... MG2295.jpg
in this balcony I'll test the GPS
Thank you very much again, greetings
;D
Jail3k
Thank you very much for answering

Grey wrote: Hello Jail3k,
In "How to drive the GPS Mode via USB port"
Could you upload the driver sample code into arduino board first.
Yes (code of wiki):Code: Select allAnd when the status LED is on, Did you see something in the Serial monitor? Like GPS ready,GSM ready? ,call ready?
// Product name: GPS/GPRS/GSM Module V3.0 // # Product SKU : TEL0051 // # Version : 0.1 // # Description: // # The sketch for driving the gps mode via the USB interface // # Steps: // # 1. Turn the S1 switch to the Prog(right side) // # 2. Turn the S2 switch to the USB side(left side) // # 3. Set the UART select switch to middle one. // # 4. Upload the sketch to the Arduino board(Make sure turn off other Serial monitor ) // # 5. Turn the S1 switch to the comm(left side) // # 7. RST the board until the START led is on // # wiki link- https://www.dfrobot.com/wiki/index.php/GPS/GPRS/GSM_Module_V3.0_(SKU:TEL0051) void setup() { //Init the driver pins for GSM function pinMode(3,OUTPUT); pinMode(4,OUTPUT); pinMode(5,OUTPUT); //Output GSM Timing digitalWrite(5,HIGH); delay(1500); digitalWrite(5,LOW); } void loop() { digitalWrite(3,HIGH);//disable GSM TX?RX digitalWrite(4,HIGH);//disable GPS TX?RX }
I uploaded a photo in the previous post. We can see who answers the Serial Monitor
CoolTerm and SerialMonitor Arduino get the same results
http://www.hostingpics.net/viewer.php?i ... termss.jpg
when I press the reset button, the Monitor Series responds ".." or "ÿÿ", and nothing more
Could you attach some screen about and hardware connection?
Tomorrow I upload the video test GPS
Today I upload a video testing GSM
I hope the video helps a bit
Video Test 1: How to Send SMS via Arduino (4.3.1 of wiki)Jose wrote: Welcome Jail3k!
Are you using the external power supply for this example as well?
Yes, conect 12V DC 1.0 Amper
there could be some other things, so better to wait for the pics or videos..
Today I upload a video testing GSM
"4.3 How to drive the GSM Mode via Arduino board"
4.3.1 How to Send a message"
Tomorrow I upload the video test GPS
"4.2 How to drive the GPS Mode via USB port"
and this weekend, testing:
"4.3.2 How to Control your Arduino via SMS"
https://www.youtube.com/watch?v=kuS775- ... e=youtu.be
I tested the SIM card in a mobile phone.
From the mobile phone gets the message to the correct destination
I've also tried writing my mobil country prefix in the code, but nothing works:
http://www.hostingpics.net/viewer.php?i ... prefix.png
I do not understand why the tests of wiki do not work T.T :'(
Photo of Balcony:
http://www.hostingpics.net/viewer.php?i ... MG2295.jpg
in this balcony I'll test the GPS
Thank you very much again, greetings


2014-05-06 23:08:36 Welcome Jail3k!
Are you using the external power supply for this example as well?
there could be some other things, so better to wait for the pics or videos..
Jose
Are you using the external power supply for this example as well?
there could be some other things, so better to wait for the pics or videos..
No, but be patient. If something, need reading and getting along with Arduino which can take up sometime. Coding trial an error is quite time consuming often. No worries, just post your question and details here so we can helpJail3k wrote: Question
You think it will be very difficult, being a rookie??? T.T


2014-05-06 23:08:36 Welcome Jail3k!
Are you using the external power supply for this example as well?
there could be some other things, so better to wait for the pics or videos..
Jose
Are you using the external power supply for this example as well?
there could be some other things, so better to wait for the pics or videos..
No, but be patient. If something, need reading and getting along with Arduino which can take up sometime. Coding trial an error is quite time consuming often. No worries, just post your question and details here so we can helpJail3k wrote: Question
You think it will be very difficult, being a rookie??? T.T

