New Homepage Forums Sensor Shields GPS location and send it to HTTP server

This topic contains 7 replies, has 3 voices, and was last updated by avatar Eslam Ali 3 years, 2 months ago. This post has been viewed 2175 times

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • #10034

    Hello all , i was wondering how to make the one sheeld push the data from the GPS to mark locations on google maps on an HTTP server which i have created , would i use the same AT codes or are there 1sheeld codes to make life easier ?
    A sample code for clarifying would be so appreciated !


    avatarEslam Ali

    Hi Mohammed,

    Yeah you can do this using the Internet shield functionality supporting HTTPs requests to any available API “check the Internet shield Here” but may i ask you simple questions:

    1- What do you mean by AT codes ?

    2- Do the server you got is supported to get values by the https requests and save it in database and then deal with it ?

    please let us know and we will try our best to help you out 😉 .


    Hello eslam ,

    Sorry for the late reply was busy with exams , i mean the arduino codes themselves are supported themselves by the onesheeld to run it ?
    Yes, the server is supported to get values by https requests but i am still trying to figure out how to save it on database in different fields , am working on a graduation project to track and monitor many vehicle’s velocity , speed and location etc . So , my implementation is to use an arduino with onesheeld to access the internet from the phone and use its GPS and accelemtor to measure those values and send it to a MYSQL server that i have created .

    Thanks in advance .

    avatarEslam Ali

    Hi Mohammed,

    Yeah sure you can use the Arduino code to access the phones sensors and grab the data and even take decisions once a certain condition met so for your example you may log your data over the internet using the HTTP requests codes like “GET-POST-PUT…etc” which is handled in our Internet shield all you have to do is just use your API with our internet shield and you can get the data and then make your analysis 😉 .

    Wish my reply helped you out please let us know if there’s anything confronts you 🙂 and we wish you the best of luck in your graduation project .


    can you show me a code for example on how to implement such a thing ?
    thanks in advance

    avatarEslam Ali

    Yeah sure you can check it out  both Internet Advanced and Simple examples in 1Sheeld example they have simple explanation of how you can deal with Http request please check it out from File >> Examples >>OneSheeld >> Advanced or Simple >> Internet and let us know with your progress 😉 .


    Hello sir, currently i follow this tutorial and I dont know afterwards, it is error. Please help..

    #include <OneSheeld.h>
    HttpRequest myRequest(“”)

    void setup() {
    // put your setup code here, to run once:

    void loop() {
    // put your main code here, to run repeatedly:
    void successFunction(HttpResponse myResponse){
    void jsonResponseFunction(JsonKeyChain & key, char * value){


    avatarEslam Ali

    Hi afnanbasir93,

    Would you please show us the error you got ? Thanks

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.