This is a simple tutorial for the people who'd like to know how to connect and use their GPS module with an Arduino.
I am using an Arduino UNO Shield #Hackduino and an VK16E GPS module.
for more info refer the datasheet.
Step 1: Circuit ConnectionBLACK wire to Ultimate board Gnd connection
RED wire to Ultimate board 5V connection
BLUE wire to Ultimate board RxD connection
GREEN wire to Ultimate board TxD connection
WHITE wire to Ultimate board PPS connection
As per our code
connect
RXPin of board to digitalPin 4,
TXPin of board to digitalPin 3
Vcc to 5v and GND to GND
Step 2: ProgrammingFirst of all you need is a library:
You can download from here
After installing library in the arduino open DeviceExample.ino from examples> tinyGPS++
or copy the below code simply.
Step 3: NotesPlease place the GPS module outside your house or at the window.
- Inexpensive GPS modules such as the VK16E do not have very accurate 1pps signals.
- You will probably find that like many GPS modules that use a patch antenna, the GPS module may need to be by a window or outside. GPS signals seem to vary substantially in strength depending on location and surrounding buildings etc. The GPS module may also benefit from being further away from the Ultimate kit, depending on your shack layout and grounding. For this reason you may want to connect the GPS module to the kit using several metres of wire. I recommend the use of a screened cable with the screen connected to Gnd. 4)
- The Module has a Green LED as shown in the pictures above, which is continuously ON while the GPS module is searching for satellite lock, and flashes at 1 pulse per second when locked.
how to check location on google map just use below link
https://maps.google.com/?q=<lat>, <lng>
lat-> lattitude
lng->longitude
Comments
Please log in or sign up to comment.