Template: L76K GPS Module Working with Arduino
Working With Arduino
This demo has been verified on Arduino MEGA2560.
Click to download the sample demo or download it in the #Resource.
Hardware Connection
Module | Arduino |
---|---|
VCC | 5V |
GND | GND |
TX | RX2 |
RX | TX2 |
PPS | NC |
Demo Usage
Choose the Arduino mega2560 development board and the corresponding port, and upload the demo after verification.
The first position for the module will take 35 seconds.
Open SSCOM and set the baud rate as 9600.
The original data is output by the module at first.
Time is the time of L76X GPS Module output.
Lat and Lon are the output latitude and longitude and latitude and longitude directions. B_Lat and B_Lon are the converted Baidu map coordinates, copy the coordinates to http://api.map.baidu.com/lbsapi/getpoint/, and you can see your location (the coordinate format is longitude Lat first, latitude Lon after, separated by commas in the middle).
The Arduino uno demo is also included in the file, but the data accuracy of this platform is insufficient, and only the time in the satellite data is displayed. If you want other information, you can modify the program yourself.