
going to be soldering to the through hole pins, then just attach lines to power, ground, and the I C data lines to the
microcontroller of you choice. Of course, if you're using the SAM-M8Q then you don't need an antenna since it
already has one.
RedBoard Qwiic and the ZOE-M8Q with attached Adhesive Antenna
RedBoard Qwiic and the SAM-M8Q
SparkFun U-Blox Library
Note:
This example assumes you are using the latest version of the Arduino IDE on your desktop. If this is
your first time using Arduino, please review our tutorial on installing the Arduino IDE. If you have not
previously installed an Arduino library, please check out our installation guide.
Both the SAM-M8Q and ZOE-M8Q share the same library. These two also share a library with their other u-BLOX
higher precision cousins. The SparkFun U-blox Arduino library can be downloaded with the Arduino library
manager by searching '
SparkFun Ublox
' or you can grab the zip here from the GitHub repository:
SPARKFUN U-BLOX ARDUINO LIBRARY (ZIP)
There are 13 example sketches provided to get you up and receiving messages from space.
Example Code
We're just going to look at example two (i.e. "
Example2_NMEAParsing.ino
") which in my opinion, makes it clear
the awesomeness of these GPS receivers. That is to say, talking to satellites and finding out where in the world
you are.
2