Teensy 3.6 + NMEA 2000 GPS

CAN Transciever

Output


GNSS,17580,54492.00,52.2881250067,0.1715296685,127.46,0,1,8,1.07,2.01,45.52,0
GNSS,17580,54493.00,52.2881249094,0.1715295560,127.45,0,1,8,1.07,2.01,45.52,0
GNSS,17580,54494.00,52.2881247736,0.1715294700,127.46,0,1,8,1.07,2.01,45.52,0


Photo

5 volts

The challenge here was to receive GPS and depth data using the CAN protocol.

The NMEA 2000 is a communication standard used for connecting between marine sensors and displays. The network runs at 250k bps using a binary message format sent in packets. NMEA 2000 runs on a Controller Area Network (CAN) technology. The National Marine Electronics Association (NMEA) controls the copyright over the standard. The network is a multiple-broadcaster and multiple-listener. The code below hasn't gone through the NMEA certification process and thus it may not coexist with other devices on the network.

Fritzing

Image developed using Fritzing

Sketch

Second sketch