background image

14. 3. 2016

GPS/GPRS/GSM Module V3.0 (SKU:TEL0051) ­ Robot Wiki

http://www.dfrobot.com/wiki/index.php/GPS/GPRS/GSM_Module_V3.0_(SKU:TEL0051)

8/20

3 Then turn the UART switch back to the GPS side.

For location of the data received, please refer to Location Mapping
(GPRMC) (http://www.sanav.com/gps_tracking/webtrac­
4/maps/MapLocationGPRMC.aspx)

How to drive the GSM Mode via Arduino board

How to Send a message

?
1
2

ŵŵ”‘†—…–ƒ‡śŵŵ‘†—Ž‡ɪŜɥ
ŵŵɤ”‘†—…–śɥɥɬɨ

Summary of Contents for TEL0051

Page 1: ...ne works on frequencies EGSM 900MHz DCS 1800MHz and GSM850 MHz PCS 1900MHz It also supports GPS technology for satellite navigation It s possible for your robot and control system to send messages and use the GSM network It is controlled via AT commands GSM07 07 07 05 and SIMCOM enhanced AT Commands And the design of this shield allows you to drive the GSM GPS function directly with the computer a...

Page 2: ...re http www dfrobot com forum index php topic 17186 msg21374 msg21374 NOTE Two jumper caps of GPS GSM UART SELECTION have been changed to a switch Take off the jumper caps do the same function of slid the switch in the middle More details about switches Switch S1 PC upload program to Arduino board PC communicates with GPS GPRS GSM Module Arduino programming module communication Switch S2 GPS GPRS ...

Page 3: ...release the communication port GSM mode GPS mode Selection Except using UART selection jumper caps old version or switch latest version you could switch GSM and GPS function with the IO pins also The UART selection is located on the bottom right near the PWR STAT and NET LEDs Remove the jumper caps connected for hardware UART selection old version or set the switch in middle position latest versio...

Page 4: ...ƀ ſƀ Ƈ ŵŵ ſɪř ƀŚ ſɫř ƀŚ ſɬř ƀŚ ŵŵ ſɬř ƀŚ ſɩɥɥɥƀŚ ſɬř ƀŚ ƈ ſƀ Ƈ ŵŵ ɐ ɐ ŵŵ Ŝ Ŝ ſɪř ƀŚ ŵŵ ſɬɥɥƀŚ ſɫř ƀŚ ŵŵ ſɬɥɥƀŚ ƈ How to Send a message Steps 1 Send AT 2 Send AT CMGF 1 set the message to text format 3 Send AT CMGS XXXXX xxxx is the number of receiver 4 After you see then type the message you want to send 5 press ctrl z If you want to cancel you can press ESC Note that this step depends on the Seri...

Page 5: ...ext press enter key it will show Enter after text finished Then in the input area pressing Ctrl Z note this key shortcut depends on your version and configuration will send out the single CTRL character successfully as below After press Ctrl Z 2 Ctrl characters can also be sent out in their hexadecimal format this avoids problems with Coolterm version and configurations this method can be used wit...

Page 6: ...teps 1 Send AT 2 Send ATDXXXXXXX xxxxxxx is the number of receiver don t forget the Then you will see After several seconds the receiver will get a phone call from this shield Some AT commands ATH Hang up the phone ATA Answer the phone How to drive the GPS Mode via USB port It is better to take the module outdoor because you know GPS signal is not very well indoor 1 2 ŵŵ ś ŵ ŵ ɪŜɥ ŵŵ ɤ ś ɥɥɬɨ ŵŵ ɤ...

Page 7: ...ɩ ſ ƀ ŵŵ ɤ ɪŜ Ŝ ŵŵ ɤ ɫŜ ſ ƀ ŵŵ ɤ ɬŜ ɨ ſ ƀ ŵŵ ɤ ɭŜ ŵŵ ɤ Ş śŵŵ Ŝ Ŝ ŵ ŵ Ŝ ŵ ŵ ŵ ɏ ɏ ɪŜɥɏſ ś ɥɥɬɨƀ ſƀ Ƈ ŵŵ ſɪř ƀŚ ſɫř ƀŚ ſɬř ƀŚ ŵŵ ſɬř ƀŚ ſɨɬɥɥƀŚ ſɬř ƀŚ ƈ ſƀ Ƈ ſɪř ƀŚŵŵ ſɫř ƀŚŵŵ ƈ After uploading the sample code you could follow these steps to get GPS data Steps 1 Turn the UART switch to GSM side 2 Input 4 AT command Send AT Send AT CGPSIPR 9600 set the baud rate Send AT CGPSPWR 1 turn on GPS power su...

Page 8: ...ule_V3 0_ SKU TEL0051 8 20 3 Then turn the UART switch back to the GPS side For location of the data received please refer to Location Mapping GPRMC http www sanav com gps_tracking webtrac 4 maps MapLocationGPRMC aspx How to drive the GSM Mode via Arduino board How to Send a message 1 2 ŵŵ ś ŵ ŵ ɪŜɥ ŵŵ ɤ ś ɥɥɬɨ ...

Page 9: ...52 53 54 55 56 ŵŵ ɤ ś ɥŜɨ ŵŵ ɤ ś ŵŵ ɤ ŵŵ ɤ ś ŵŵ ɤ ɨŜ ɨ ſ ƀ ŵŵ ɤ ɩŜ ɩ ſ ƀ ŵŵ ɤ ɪŜ Ŝ ŵŵ ɤ ɫŜ ŵŵ ɤ ɬŜ ɨ ſ ƀ ŵŵ ɤ ɭŜ ŵŵ ɤ Ş śŵŵ Ŝ Ŝ ŵ ŵ Ŝ ŵ ŵ ŵ ɏ ɏ ɪŜɥɏſ ś ɥɥɬɨƀ ƃɪƄ ʰ Ƈ ɪřɫřɬƈŚŵŵ ŵŵ ŵŵ ɪɌ ɬ ř ŵŵ ɨɥɌ ɨɩ Š ſƀ Ƈ ŵŵ ſ ʰ ɥ Ś ʳ ɪŚ ʫʫƀƇ ſ ƃ Ƅř ƀŚ ƈ ſɬř ƀŚŵŵ ſɨɬɥɥƀŚ ſɬř ƀŚ ſɪř ƀŚŵŵ ſɫř ƀŚŵŵ ſɩɥɥɥƀŚ Ŝ ſɰɭɥɥƀŚ ŵŵ ſɬɥɥɥƀŚŵŵ ſɬɥɥɥƀŚ ſɬɥɥɥƀŚ ƈ ſƀ Ƈ Ŝ ſɑ ɑƀŚ ŵŵ ſɩɥɥɥƀŚ Ŝ ſɑ ɑƀŚ ſɩɥɥɥƀŚ ŵŵ Ŝ ſɑ ʫ ʰɨɑƀŚ ſɨɥɥɥƀŚ Ŝ ſɑ...

Page 10: ...rum discussion with more coding examples and options on this link Click Me http www dfrobot com forum index php topic 945 msg4514 msg4514 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 ŵŵ ś ŵ ŵ ɪŜɥ ŵŵ ɤ ś ɥɥɬɨ ŵŵ ɤ ś ŵŵ ɤ ŵ ŵ Ŝ ŵŵ ɤ ś ŵŵ ɤ ɨŜ ɨ ſ ƀ ŵŵ ɤ ɩŜ ɩ ſ ƀ ŵŵ ɤ ɪŜ Ŝ ŵŵ ɤ ɫŜ ſ ƀ ŵŵ ɤ ɬŜ ɨ ſ ƀ ŵŵ ɤ ɭŜ ɩ ſ ƀ ŵŵ ɤ ɮŜ ſ ʴɭ ƀ ŵŵ ɤ ɯŜ ɨɪ ŵŵ ɤ ɰŜ ɑ ɑ ɑ ɑ Ŝ ŵƋ Ƌ ś ɩɥɨɪŞɨɨŞ...

Page 11: ...82 83 84 85 86 87 88 89 90 ŵŵ ɪɌ ɬ ř ŵŵ ɨɥɌ ɨɩ Š ʰ ɨɪŚ Ś ſƀ Ƈ ŵŵ ſ ʰ ɥ Ś ʳ ɪŚ ʫʫƀƇ ſ ƃ Ƅř ƀŚ ƈ ſ ř ƀŚ Ŝ ſɰɭɥɥƀŚ ŵŵ ſɬř ƀŚ ŵŵ ſɨɬɥɥƀŚ ſɬř ƀŚ ſɪř ƀŚ ŵŵ ſɫř ƀŚ ŵŵ ſɩɥɥɥƀŚ ſɬɥɥɥƀŚ ŵŵ ſɬɥɥɥƀŚ Ŝ ſɑ ʫ ʰɨřɫɑƀŚ ŵŵ ƈ ſƀ Ƈ ſ Ŝ ſƀʴɥƀ Ƈ ʰ Ŝ ſƀŚ ſ ʰʰɐ ɐƀ Ƈ ſɨɥƀŚ ʰ Ŝ ſƀŚ ſ ʰʰɐ ɐƀ ŵŵ ř ɐʫ ɑ ɑř ɨɐ Ƈ ſɨɥƀŚ Ŝ ſɑ ʫ ʰɨɑƀŚ ŵŵ ř ɑ ɑ ſɨɥƀŚ ƈ ƈ ſ ʰʰɐ ɐƀ Ƈ ſɨɥƀŚ ʰ Ŝ ſƀŚ ſ ʰʰɐ ɐƀ ŵŵ ſɑ ɑƀ ř Ŝ Ƈ ſɨɥƀŚ ſ ř ƀŚ ŵŵ ſɬɥƀŚ Ŝ ſɑ ʫ ...

Page 12: ...0 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 ŵŵ ś ŵ ŵ ɪŜɥ ŵŵ ɤ ś ɥɥɬɨ ŵŵ ɤ ś ɥŜɨ ŵŵ ɤ ś ŵŵ ɤ ŵŵ ɤ ś ŵŵ ɤ ɨŜ ɨ ſ ƀ ŵŵ ɤ ɩŜ ɩ ſ ƀ ŵŵ ɤ ɪŜ Ŝ ŵŵ ɤ ɫŜ ŵŵ ɤ ɬŜ ɨ ſ ƀ ŵŵ ɤ ɭŜ ŵŵ ɤ Ş śŵŵ Ŝ Ŝ ŵ ŵ Ŝ ŵ ŵ ŵ ɏ ɏ ɪŜɥɏſ ś ɥɥɬɨƀ ƃɪƄ ʰ Ƈ ɪřɫřɬƈŚŵŵ ŵŵ ŵŵ ɪɌ ɬ ř ŵŵ ɨɥɌ ɨɩ Š ſƀ Ƈ ŵŵ ſ ʰ ɥ Ś ʳ ɪŚ ʫʫƀƇ ſ ƃ Ƅř ƀŚ ƈ ſɬř ƀŚŵŵ ſɨɬɥɥƀŚ ſɬř ƀŚ ſɪř ƀŚŵŵ ſɫř ƀŚŵŵ ſɩɥɥɥƀŚ Ŝ ſɰɭɥ...

Page 13: ...d How to drive the GPS Mode via Arduino board S1 Comm S2 Arduino S3 UART Middle 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 ŵŵ ś ŵ ŵ ɪŜɥ ŵŵ ɤ ś ɥɥɬɨ ŵŵ ɤ ś ɨŜɩ ŵŵ ɤ ś ŵŵ ɤ ŵŵ ɤ ś ŵŵ ɤ ɨŜ ɨ ſ ƀ ŵŵ ɤ ɩŜ ɩ ſ ƀ ŵŵ ɤ ɪŜ Ŝ ŵŵ ɤ ɫŜ ŵŵ ɤ ɬŜ ɨ ſ ƀ ŵŵ ɤ ɭŜ ŵŵ ɤ ɐ ɐ ř Ŝ ŵŵ ɤ Ş śŵŵ Ŝ Ŝ ŵ ŵ Ŝ ŵ ŵ ŵ ɏ ɏ ɪŜɥɏſ ś ɥɥɬɨƀ ſ Ƌ ɏ ř ƀŵŵ Ƈ ŵŵƋ ɏ ʰɥŜɥŚ ŵŵ ř Ś ſ ɏ ƃɥƄʰʰɐŞɐƀ Ƈ ʰɨŚ ŵŵ ſ ...

Page 14: ...2 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 ʰ Ƌɨɥʫſ ɏ ƃ ʫʫƄŞɥ ɪɥƀŚ ſ ʰɥŚ ʳ Ś ʫʫƀ ʰ Ƌɨɥʫſ ɏ ƃʫʫ ƄŞɥ ɪɥƀŚ ŵŵ ſ ʰɥŚ ʳ Ś ʫʫƀ ʰ ŵɨɥŚ ŵŵ ʰɥŞ Ś ƈ ŵŵ Ƈ ʰɥŚ ſ ɏ ƃ ƄŠʰɐŜɐƀ ʰ Ƌɨɥʫſ ɏ ƃ ʫʫƄŞɥ ɪɥƀŚ ſ ʰɥŚ ʳ Ś ʫʫƀ ʰ Ƌɨɥʫſ ɏ ƃʫʫ ƄŞɥ ɪɥƀŚ ſ ʰɥŚ ʳ Ś ʫʫƀ ʰ ŵɨɥ Ś ƈ Ś ƈ ſƀŵŵ Ƈ ʰɥŚ ƃɭƄʰƇ ɐɛɐřɐ ɐřɐ ɐřɐ ɐřɐ ɐřɐ ɐ ƈŚŵŵ ƃɭƄʰƇ ɐɥɐřɐɥɐřɐɥɐřɐɥɐřɐɥɐřɐɥɐ ƈŚ ſɨƀ Ƈ ſ Ŝ ſƀƀ Ƈ ƃ Ƅ ʰ Ŝ ſƀŚŵŵ ſ ƃ Ƅʰʰ ƃ Ƅƀ ŵŵ Ƈ ʫʫŚ ſ ʰʰɭƀ Ƈ ʰɥŚ ɨŚŵ...

Page 15: ...41 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 ƈ ſƀŵŵ ŞŞ Ƈ Ś ƃɰƄʰƇ ɐɥɐřɐɥɐřɐɥɐřɐɥɐřɐɥɐřɐɥɐřɐɥɐřɐɥɐřɐɥɐ ƈŚ ʰɥŜɥŚ ſ ſƀƀŵŵ Ƈ ſɨƀŚŵŵ ɨ ɐřɐ ŵŵ ſɨƀ Ƈ ſ Ŝ ſƀƀ Ƈ ƃ Ƅ ʰ Ŝ ſƀŚ ʫʫŚ ƈ ſ ʰʰɰƀ Ƈ ʰɥŚ ʰ ſ řɩƀŚŵŵ ʰ ŞɪɥɥɥɥŜɥɥŚŵŵ ʫɯ ʰ Ś ʰ ŵɨɥɥɥɥŚ ʰſ ŵɨɥɥƀʩɨɥɥŚ ʰ ʩɨɥɥŚ ŵŵ ſ ʴʰɩɫƀ ŵŵ ʫ ŵŵ Ƈ ŵŵ ŞʰɩɫŚ ŵŵ ƈ ſ ʳɥƀ ŵŵ Ş Ƈ ʫʰɩɫŚ ƈ Ŝ ſ ƀŚ Ŝ ſɑ ɑƀŚ Ŝ ſ ƀŚ Ŝ ſɑ ɑƀŚ Ŝ ſ ƀŚ Ŝ ſɑ ɑƀ...

Page 16: ...7 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 ƃ Ƅ ʰ Ŝ ſƀŚ ʫʫŚ ƈ ſ ʰʰɨɥƀ Ƈ ʰɥŚ Ŝ ſ ſ řɬƀŵɨɥɥŜɥřɮƀŚŵŵ Ś ƈ ƈ ƈ ƈ ɏ ſƀŵŵ Ƈ ʰɥř Ś ſ ſƀƀ Ƈ ſɪƀŚ ſɨƀ Ƈ ſ Ŝ ſƀƀ Ƈ ʰ Ŝ ſƀŚ Ŝ ſ ƀŚ Ŝ ſƀŚ ʫʫŚ ƈ ſ ʰʰɨƀ Ƈ ʰɥŚ Ś ƈ ƈ ƈ ƈ ſƀŵŵ Ƈ Ś ƃɨɨƄʰƇ ɐɥɐřɐɥɐřɐɥɐřɐɥɐřɐɥɐřɐɥɐřɐɥɐřɐɥɐřɐɥɐřɐɥɐřɐɥɐ ƈŚ ſ ſƀƀ Ƈ ſɫƀŚ ſɨƀ Ƈ ſ Ŝ ſƀƀ Ƈ ƃ Ƅ ʰ Ŝ ſƀŚ ...

Page 17: ... 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 Ƈ ſɬƀŚ ſɨƀ Ƈ ſ Ŝ ſƀƀ Ƈ ʰ Ŝ ſƀŚ Ŝ ſ ƀŚ ŵŵ Ŝ ſ ř ƀŚ Ŝ ſƀŚ ʫʫŚ ƈ ſ ʰʰɨƀ Ƈ ʰɥŚ Ś ƈ ƈ ƈ ƈ ſƀŵŵ Ƈ ř ʰɥŚ ƃɯƄʰƇ ɐɥɐřɐɥɐřɐɥɐřɐɥɐřɐɥɐřɐɥɐřɐɥɐřɐɥɐ ƈŚ ſ ſƀƀ Ƈ ſɰƀŚ ſɨƀ Ƈ ſ Ŝ ſƀƀ Ƈ ƃ Ƅ ʰ Ŝ ſƀŚ ſ ƃ Ƅʰʰɐřɐƀ ʰɨŚ ʫʫŚ ƈ ſ ƀ Ƈ ʰɥŚ Ŝ ſ ſ řɨƀřɨƀŚŵŵ Ś ƈ ƈ ƈ ƈ ſƀ Ƈ ſɪř ƀŚŵŵ ſɫř ƀŚ ſɬř ƀŚ ſɬř ƀŚ ſɨɬɥɥƀ...

Page 18: ...ɥɥƀŚ ſɫř ƀŚŵŵ ſɪř ƀŚŵŵ ſɩɥɥɥƀŚ Ŝ ſɑɛ ś ɑƀŚ ƈ ſƀ Ƈ ſɨƀ Ƈ Ŝ ſɑ śɑƀŚ ſƀŚ Ŝ ſɑ śɑƀŚ ſƀŚ Ŝ ſɑ śɑƀŚ ɏ ſƀŚ Ŝ ſɑ śɑƀŚ ſƀŚ Ŝ ſɑ śɑƀŚ ɏ ſƀŚ Ŝ ſɑ śɑƀŚ ſƀŚ Ŝ ſɐ ɐƀŚ Ŝ ſɐ ɐƀŚ ƈ ƈ GPS Sample Code This code will send GPS information to you phone via SMS Please download the library gps_gsm_sim908 http www dfrobot com forum download file php id 94 first Upload the sketch to your Arduino board after about 5 10 minu...

Page 19: ...buildings around GPS needs time to connect to at least 4 satellites to output data AT command tester by one of our contributors http www dfrobot com wiki index php AT_command_tester Q2 What s the minutes and seconds of coordinate data A The raw gps information from the serial is in the form DDmm mmmmm e g If the raw information is 5320 12345 then it is 53 degress and 20 12345 minutes In order to c...

Page 20: ...as to share please visit DFRobot Forum http www dfrobot com forum or email to techsupport dfrobot com More Version history GPS GPRS GSM Module V2 0 SKU TEL0051 http www dfrobot com wiki index php GPS GPRS GSM_Module_V2 0_ SKU TEL0051 Go Shopping GPS GPRS GSM Shield V3 0 Arduino Compatible SKU TEL0051 http www dfrobot com index php route product product filter_name gps product_id 673 Go Shopping DF...

Reviews: