GNSS Timing Breakout - ZED-F9T (Qwiic) Hookup Guide

Pages
Contributors: Nate, El Duderino
Favorited Favorite 1

Arduino Examples

Note: These examples assume the latest version of the Arduino IDE is used. If this is your first time using Arduino, please review our tutorials on Installing the Arduino IDE and Installing an Arduino Library.

The SparkFun u-blox GNSS Arduino Library includes a host of examples to get users started with everything from a simple position lock to configuring and taking advantage of most features of all u-blox boards SparkFun carries. In this section we'll take a closer look at the examples demonstrating how to set up and use both time pulse signals on the ZED-F9T.

Install the u-blox GNSS Arduino Library through the Arduino Library Manager tool by searching for "SparkFun u-blox GNSS". Users who prefer to manually install the library can download a ZIP of the repository by clicking the button below:

Time Pulse Parameters Example

The u-blox GNSS Arduino Library includes a set of three examples, "Example 23 - Time Pulse Parameters" for configuring and using the time pulse pins on the ZED-F9T and other u-blox modules capable of outputting time pulse signals. Open the examples by navigating to **File > Examples > SparkFun u-blox GNSS Arduino Library > Example23_TimePulseParameters and select one of the three "sub" examples:

  • Example23_TimePulse_Period - Demonstrates how to change the time pulse parameters and configure the time pulse pin(s) to produce a 1 second pulse every 30 seconds.
  • Example23_TimePulse_Frequency - Shows how to adjust the time pulse parameters and configure the Time Pulse pin(s) to produce a 1kHz square wave.
  • Example23_TimePulse_BulletTime - Demonstrates how to configure the Time Pulse pin(s) to produce a pulse once per second with an adjustable delay. You could use this to trigger multiple cameras and replicate the "bullet time" effect.

Open one of the examples, select your Board and Port and upload the code. Open the serial monitor with the baud set to 115200 to view the print out and confirm the time pulse pin(s) was configured and settings saved properly.