Cockpitbuilders.com
Arduino Projects => General Discussions => Topic started by: RayS on April 28, 2022, 08:04:10 PM
I've started another project: Using an Avidyne EXP5000 MFD with X-Plane.
I was successful in programming a Teensy to talk to a Garmin MX20 Moving Map unit using position data from X-Plane.
Now I have an Avidyne EXP5000 MFD that I want to talk to using X-Plane Position data.
It recognizes the following formats:
1. King/Aviation
2. NorthStar
3. NMEA 0183
I prefer the NMEA format as it seems to be more popular. Has anyone tinkered with NMEA 0183 GPS data using Arduino/Teensy?
I'd love to hear from you!
I did some stuff with an 8051. Decoding NMEA is pretty easy. Producing an NMEA string with provided data should be pretty easy too. Just stick a bunch of strings together and tack on a checksum.
I'd prototype it in Python on a PC for testing/fiddling, then rewrite for Arduino when you know it's going to work.
Here's an example of generating the checksum.
http://engineeringnotes.blogspot.com/2015/02/generate-crc-for-nmea-strings-arduino.html?m=1
That's exactly what I was looking for. Thanks!
On my Garmin controller I am also generating a checksum because the Garmin protocol also requires it (I guess it's just good practice) so most of the bits are there, just need to rewire things a bit.