General

GPS/GSM/GPRS shield HTTP Post Request

userHead sam82 2014-03-13 03:31:08 5081 Views2 Replies
Hi,

I have been using the GPS/GSM/GPRS Arduino shield for a while and can send SMS messages, get GPS coordinates ect. But would really like to be able to send HTTP Post requests, has anyone done this with this shield? or know if its possible? Ive tried using AT commands but don't seem to be getting anywhere.

Thanks
Sam
2014-05-30 21:48:14 [quote="visualxl"]
I think it is possible but I have not try it yet.

If you run GSM -> Tools -> TestGPRS, you can see that they make use of GET request. You may want to play around with that. ;)
[/quote]
This shield is not compatible with the GSM library from Arduino IDE. At least not yet as far as I know.

[quote="sam82"]
I have been using the GPS/GSM/GPRS Arduino shield for a while and can send SMS messages, get GPS coordinates ect. But would really like to be able to send HTTP Post requests, has anyone done this with this shield? or know if its possible? Ive tried using AT commands but don't seem to be getting anywhere.
[/quote]
Hi Sam,

There is a library and test code to do this on our github:
https://github.com/DFRobot/GPS-GPRS-GSM-Shield-V3.0

The library is originally meant for Leonardo compatible boards. Using the second Serial port to manage the  GPS/GSM/GPRS. The geolocator code, includes a small php script on server side to read HTTP posts and parse them onto google maps. The Arduino code does some what the posting. Code is from one of our forum members, and there are a few other posts about it.

You might want to try the tester tool as well, since it is very helpful for testing AT commands:
https://www.dfrobot.com/wiki/index.php/AT_command_tester
userHeadPic Jose
2014-05-30 18:31:13 I think it is possible but I have not try it yet.

If you run GSM -> Tools -> TestGPRS, you can see that they make use of GET request. You may want to play around with that. ;)
userHeadPic visualxl