General

GPS/GPRS/GSM Module V3.0

userHead amjad_alahdal 2014-03-10 20:34:30 4252 Views4 Replies
Hello Every One,
I have been reading most of the topics about the GPS/GPRS/GSM Module V3.0 shield trying to get a working program to send a small SMS. But I really didn't get any. Also, I couldn't get any instructions about how to use the S1 and S2. So,  I am switching them randomly.
Here is my Case:
I have an Arduino Uno. And I have the GPS/GPRS/GSM Module V3.0 Shield.
I connected them, I really don't know how to use the switches so I put them as the default.
I need  a program that can send and SMS. I have tried bunch of programms. But nothing is working. Some says it is the power supply. I have a very strong 9 Volt Battery connected with the USB cable.
Does anyone have a working Code???????
how do I set the switches ?
I will be happy if anyone knows the answers.


thanks
2014-03-13 14:00:47 Hello,
Please check the wiki page: http://www.dfrobot.com/wiki/index.php/G ... U:TEL0051)
I think the sample code "How to drive the GSM Mode via Arduino board"should be O.K.

The switch function:
S1: This switch is serial port communication switch.
COMM: the GSM chip connect to the serial port; PROG: the chip doesn't connect the serial port
S2:
USB: the chip communicate with USB; Arduino: the chip communicate with Arduino board
Uart select: middle always

So when you upload the sketch , you need turn S1 to PROG and S2 to USB side.
When you want to try the AT command , you need turn S1 to COMM and S2 to USB side.
WHen you want to use Arduino to drive the GSM module, turn S1 to COMM and S2 to Arduino.
userHeadPic Grey.CC
2014-03-12 20:03:15 I have done so many programs. If you don't mind, send me a working code to test it.

Thanks
userHeadPic amjad_alahdal
2014-03-12 20:00:52 S1 to comm
S2 to arduino
userHeadPic sam82
2014-03-12 19:57:29 Hi,

Set the switch in-between GSM snd GPS.

In your code make pin 4 high and pin 3 low (diable GPS and enable GSM)

Serial.println("AT");
Serial.println("AT+CMGF=1");
Serial.println("AT+CMGS=\"07123456789\"");
Serial.print("message")
Serial.write(26);

hope this helps
userHeadPic sam82