Posts

Showing posts from 2013

Arduino based personal gps

Image
GPS model EM486 , arduino uno and 20*4 lcd few connecting wires will do connect 4,6,11,12,13,14 to 8,9,10,11,12,13 of arduino .Here is the sample code for displaying latitude and longitude #include #include /* This sample code demonstrates the normal use of a TinyGPS object. It requires the use of SoftwareSerial, and assumes that you have a 4800-baud serial GPS device hooked up on pins 3(rx) and 4(tx). */ GPS gps; SoftwareSerial ss(3, 4); void setup() { Serial.begin(115200); ss.begin(4800); Serial.print("Simple TinyGPS library v. "); Serial.println(TinyGPS::library_version()); Serial.println("by Mikal Hart"); Serial.println(); } void loop() { bool newData = false; unsigned long chars; unsigned short sentences, failed; // For one second we parse GPS data and report some key values for (unsigned long start = millis(); millis() - start

Arduino based personal gps