arduino project for a tracker device.
- Connect your arduino to any gps module and run
project_delay.ino
orproject.ino
to start gathering data. - After gathering adequate data connect arduino to your pc again and run
read.ino
, and open up serial monitor and copy output coordinates (ignoring first line) to a file. - open
display.html
clickchoose File
and choose the file from previous step. - it'll load the coordinates snap them to roads and displays them.
read.ino: reads values stored at EEPROM.
clear.ino: clears EEPROM.
project_delay: reads GPS values periodically.
project.ino: reads GPS values as they change.
display.html: display the gathered data stored at a text file
sc.js: java script code for displaying data
- you should have tinyGPS library to compile arduino code
- you should insert google maps api key & google maps roads api key to be able to display google maps
- code is built for arduino mega, so there's a
Serial1
. if you're using another arduino convertSerial1
toSoftwareSerial
. - depending on your gps module data may/may not be precise, also note that many gps modules work only in open spaces.