Increase calculation efficiency by using binary format output
Overview
BONAV GPS module can output customized NMEA sentence in binary format. Binary protocol is an efficient way of transferring coordinate messages in binary numbers and can be easily processed by a low powered micro controller without the need for conversion and huge C++ string libraries.
Background
Binary protocol is an efficient way of transferring coordinate messages from GPS module to micro controllers. Coordinates that used to require more than 20 bytes in NMEA can now be sent with only 8 bytes in binary protocol format. In addition, because of the increase in efficiency, a lower transfer rate can easily parse 10Hz messages without losing any packages.
Binary protocol is a lot more efficient when using tiny 8-bit micro controllers. This is because microcontrollers contain limited flash space, and the process of converting ASCII string into normal variables will require huge libraries and a lot of CPU calculation cycles, which may be too much to handle for these tiny controllers. With binary protocol, these simple bytes can be put directly into the variables with a few clock cycles, without the need for parsing, conversion and the huge C++ string libraries.
Solution
BONAV can customize GPS module output sentences in binary mode when used in combination with "One Sentence" PGTOP format. |