The importance of Checksum?

I'm working with a group that is equipping an RC airplane to fly autonomously. It is our first attempt, so there are a few things we do not have a good concept of yet.At the moment, we are focusing on integrating our GPS component and enabling communication with our microcontroller. We have found some good pieces of code to read the NMEA sentences, but we do not understand Checksum.Why is checksum necessary, and what is the checksum number (i.e. "*28") telling us? Any other advice on getting started with NMEA 0183 would also be appreciatedHolt

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • 3D Robotics
    If your GPS module has a binary mode you can avoid NMEA entirely and make your life a lot easier, as we do with ArduPilot and the EM406 and uBlox binary modes. BTW, what features in the existing open source (or commercial) autopilots were missing for you, such that you decided to roll your own? It's a non-trivial task, as you've already found....
  • Developer
    The checksum means the vAlues have been read correctly from your GPS. The modual sums them and you sum them and then you compare the sum. A bad gps value could cause an error in your nav equations sending your plane into the ground.
This reply was deleted.

Activity

Jose Araujo liked Jose Araujo's profile
Aug 29
spencer harvey liked spencer harvey's profile
Jul 9
More…