This module provides an API for controlling the Trimble Copernicus II GPS module from an Arduino microcontroller.
Copy the copernicus
folder (the one containing copernicus.h
) into the
Arduino library folder. To use the
library, simply
#include <copernicus.h>
in your sketch.
See: http://trbabb.github.io/copernicus/html/modules.html
Pin name | Copernicus pin | Sparkfun breakout pin | Connect to |
---|---|---|---|
OPEN | 7 | 3 | GND |
RESERVED2 ("boot" on some breakouts) |
10 | 6 | VCC |
VCC | 12 | 8 | Supply voltage (3.3v) |
GND | 13 | 9 | Ground (0v) |
XSTBY | 14 | 10 | VCC |
TX-A | 23 | 7 | Arduino serial RX pin1 |
RX-A | 21 | 5 | Arduino serial TX pin1, via voltage divider or logic level shifter. |
PPS | 19 | 3 | Any Arduino interrupt pin (required for timing only). |
1 Note: The GPS unit and USB serial cannot operate simultaneously if they are sharing the same port. Take care to note whether your Arduino board mirrors USB serial data on the serial pins you are using for your GPS! If communication with a PC is required simultaneously with the GPS unit, a board with at least two hardware serial ports (like the Due) is needed.
The full manual describing the pins, features, and communication protocol of the Trimble Copernicus module is available here.