Skip to content

Use Arduino Uno to simulate a GPS module, sending PPS pulse and GPRMC to Lidar

License

Notifications You must be signed in to change notification settings

Adlink-ROS/arduino_pps_gprmc_time_sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

arduino_pps_gprmc_time_sync

Use Arduino Uno to simulate a GPS module, sending PPS pulse and GPRMC message to Lidar.

Verified Platform

Wiring Connection

VLP-16 Arduino Description
Ground GND
GPS PULSE Pin#8 PPS_OUT
GPS RECEIVE Pin#11 GPRMC_TX

VLP-16 Configuraition

Make sure the parameter gps_time in yaml file is set to true to enable time sync.

Test Result

  • VLP-16 web interface

It is successfully synchronized if you see the coordinates of GPS Position and locked PPS status.

  • VLP-16 ROS 2 timestamp

If the gps_time parameter is set, then you will see the time jump after time synchronized.

  • GPRMC debug message

You can enable the debug messages in Arduino code to monitor the GPRMC.

Note

If Arduino is connected to other device and the UART data is not readable, please consider to change the inverse_logic to false.

About

Use Arduino Uno to simulate a GPS module, sending PPS pulse and GPRMC to Lidar

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages