Enable $GPVTG Sentence on NEO-6M GPS

Hi… I’m trying to retrieve the $GPVTG sentences on the NEO-6M but all I’m receiving is $GPGLL and $GPGGA. Have someone worked at this GPS receiver before and could help?

Tks

What have you tried? Show your code (in code tags).

Pete

BTW. Do you have the U-Blox protocol description for the the neo-6M?

Pete

el_supremo:
BTW. Do you have the U-Blox protocol description for the the neo-6M?
File:U-blox-6-Receiver-Description-Including-Protocol-Specification.pdf - Waveshare Wiki

Pete

Tks, Pete! Thats what I want! Thank you, Pete!

I would recommend getting the spec from the source, not WaveShare: ublox NEO-6 Protocol. That link should take you directly to the Set NMEA message output rate configuration command, "$PUBX,40". It will turn various sentences on or off.

BTW, you might be interested in my NeoGPS library. It even has an example for sending several different ublox configuration commands, including the "$PUBX,40". NeoGPS is smaller, faster, more accurate and more reliable than all other libraries. There are lots of hints and tips in the Installation and Troubleshooting pages. If you want to try it, NeoGPS is available from the Arduino IDE Library Manager, under the menu Sketch -> Include Library -> Manage Libraries. The VTG sentence is not enabled by default, so you have to edit the NMEAGPS_cfg.h file in the Libraries/NeoGPS directory.

Cheers,
/dev