ame wrote:Ok, well all you need is the send_HTTP() function in the Arduino code, and the PHP code. You don't need all the modem control stuff for the GPRS module. You do need something that will check if the Pi is connected to the internet, and if it's moving around you need something that will always try to connect to any open Wifi.
The PHP script does not use a database. It just stores the data in a flat file. You can use a database later if you want.
I suggest you try and make the cooking hack work, then write something that does what *you* want.
By the way : how do you program in raspberry pi python?I'm such a newbie in python
Can I Use the ADA fruit to send the data through http Im using WEBIde for programming it through the terminal using Putty:
http://learn.adafruit.com/adafruit-ulti ... g-your-gps
import gps
# Listen on port 2947 (gpsd) of localhost
session = gps.gps("localhost", "2947")
session.stream(gps.WATCH_ENABLE | gps.WATCH_NEWSTYLE)
while True:
try:
report = session.next()
# Wait for a 'TPV' report and display the current time
# To see all report data, uncomment the line below
# print report
if report['class'] == 'TPV':
if hasattr(report, 'time'):
print report.time
except KeyError:
pass
except KeyboardInterrupt:
quit()
except StopIteration:
session = None
print "GPSD has terminated"