Click here to Skip to main content
15,886,725 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I need to get latitude and longitude of a location when asked by a micro controller and has to store the same in SD card and cloud with date and Time stamp. I'm using Raspberry pi 3 and GSM sim 900A

What I have tried:

please help me with this. I'm not able to find exact code as I'm a mechanical student I'm new to this
Posted
Updated 16-Jan-17 23:36pm

1 solution

This can't be answered with the provided information.

Split it into different tasks and try to implememt one after another:

  • From where do you get the position data?
    If it is some kind of GPS device, check the documentation. Most GPS devices have a RS-232 serial or USB port.

  • Which format has to be used when storing on the SD card (e.g. text format like with log files)?
    Writing to a text file would be simplest of all your tasks.
  • Which cloud service is used?
    The documentation should provide information on how to connect and store data.
  • How is the device connected to the internet (you mentioned a GSM modem)?
    If this is a problem too: Check the documentation of the modem and learn about serial communication (it has a serial interface).

Once you have answered all those questions yourself you can start thinking about how specific tasks can be implemented in software.

If you got stuck at a specific task come back here. But you won't get complete code written for you here at CodeProject. You have to learn programming or find someone who is doing it for you.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900