Step 3: The Software
---------------------------------------------------
initialize serial, libraries and variables.
create a text file on SD card with header
pull GPS data
write GPS data in the end of the text file.
flash led
keep looping
------------------------------------------------------
I'm not going to go into my code in to much detail but it's commented enough to understand whats happening.
You will notice I'm using two really awesome libraries written by Mikal Hart, so make sure you have downloaded them! (TinyGPS and NewSoftSerial )
TinyGPS basically makes it easier for us to extract data like longitude and latitude from the slightly complex NMEA sentences that the GPS module spits out.
NewSoftSerial allows us to transform any pins into "serial pins". In this case pins 2 and 3 as previously mentioned.
The Arduino file is attached.
Just upload and it should work! (Leave a comment with the issue if it's not)
Remove these ads by
Signing Up






































Visit Our Store »
Go Pro Today »




can u upload the full software plz
thanks
I tried re-uploading but it is still showing up as a .tmp file.
I do have 2 solutions for you however for now, until a moderator gets back to me:
1. Try a different browser. When I tried Internet Explorer it opened as a link and the full text showed. Simple Copy/Paste.
2. Change the filetype to .pde instead of .tmp and it opens just fine.
Thanks for your interest and sorry for the slight incontinence for now!