Open/Cpn Raspberry Pi-NMEA output to GPS repeater?

steve1963

Active member
Joined
22 Sep 2014
Messages
281
Visit site
I'm a complete novice regarding these matters, but here goes: If one were to build a chart-plotter/AIS system based around OpenCPN, a Raspberry Pi/AIS hat, would it be possible for this to send data to an external GPS repeater in the cockpit? If so, how would this be done? What other hardware would be required?
 

st599

Well-known member
Joined
9 Jan 2006
Messages
7,530
Visit site
I'm a complete novice regarding these matters, but here goes: If one were to build a chart-plotter/AIS system based around OpenCPN, a Raspberry Pi/AIS hat, would it be possible for this to send data to an external GPS repeater in the cockpit? If so, how would this be done? What other hardware would be required?

Have a look at OpenPlotter which provides a full RaspberryPi operating system with Open CPN and all the tools required to both input and output NMEA, CanBus, SignalK, TCP/UDP over WiFi...

OpenPlotter – open-boat-projects.org
Downloading — OpenPlotter 3 documentation
 

AngusMcDoon

Well-known member
Joined
20 Oct 2004
Messages
8,830
Location
Up some Hebridean loch
Visit site
I'm a complete novice regarding these matters, but here goes: If one were to build a chart-plotter/AIS system based around OpenCPN, a Raspberry Pi/AIS hat, would it be possible for this to send data to an external GPS repeater in the cockpit? If so, how would this be done? What other hardware would be required?

NMEA0183 - yes, easy.
NMEA2000 - yes, but not easy.

I assume NMEA0183. The easiest way is to get something like this...

1pcs MAX3232 RS232 to TTL Serial Port Converter Module DB9 Connector COM | eBay

That will convert the RPi's pins' output to RS232. Although NMEA0183 later versions specify RS422 voltage levels they must still also accept RS232 voltage levels for backward compatibility, so the above device will do.

If you want to do NMEA2000 you will need a CANbus driver chip and get the open source NMEA2000 library from Github and faff around a lot. The NMEA2000 library is targeted at Arduino, but I have ported it to plain ol' C code and have it running on an ESP32 and a STM32 microcontrollers.
 

GHB

New member
Joined
24 Aug 2022
Messages
15
Visit site
I'm a complete novice regarding these matters, but here goes: If one were to build a chart-plotter/AIS system based around OpenCPN, a Raspberry Pi/AIS hat, would it be possible for this to send data to an external GPS repeater in the cockpit? If so, how would this be done? What other hardware would be required?
Hardly anyone there yet but I've made a discord server for Pi stuff onboard , pop over & ask away, Or anyone else interested

Join the Rasp Pi boat monitoring Discord Server!
 

GHB

New member
Joined
24 Aug 2022
Messages
15
Visit site
Can't seem to join that group. It is asking me for a password when I am trying to create the account. Doesn't work
I can see you in there, don't know discord very well yet, maybe you need to set a password first time in
 

GHB

New member
Joined
24 Aug 2022
Messages
15
Visit site
oopps, seemed to have logged in as ghb, not gha ??

so if i log out of discord I get ..
XIKbEV7.png


Press register and goes to a create account screen
1L0P5sg.png
 
Top