Cruisers Forum
 


Join CruisersForum Today

Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 04-02-2020, 05:34   #166
Registered User

Join Date: Aug 2016
Location: In the Atlantic
Boat: Prout Snowgoose 35
Posts: 1,416
Re: Raspberry Pi as Onboard Computer

Quote:
Originally Posted by thomm225 View Post
So I plugged in this $17.00 GPS Dongle that I bought online into one of the USB ports on the ($50) Raspberry, and now I have my position shown on the OpenCPN Chart.

It's on my kitchen table but that is very close to the water and shown on the OpenCPN Chart

All I did was to enable the serial port in Openplotter and it looks like I'm good to go. I didn't download any drivers for it

Pretty amazing really since it appears chart plotters can go for $500.00 on up.........when I move the dongle the ship turns so it must be updating even indoors.......and there are satellite bars showing comms on OpenCPN

Next I'll try to get AIS and GPS from my GX2200 (and disconnect the dongle)
Good stuff.

Any half decent GPS unit will work indoors. 10 years ago even my cheap bluetooth unit from eBay would happily work in doors in most buildings and vehicles. My garmin handheld are the same, work indoors with high accuracy.
__________________

mikedefieslife is offline   Reply With Quote
Old 09-02-2020, 15:10   #167
Registered User
 
thomm225's Avatar

Join Date: Aug 2011
Boat: B27
Posts: 6,231
Re: Raspberry Pi as Onboard Computer

Quote:
Originally Posted by steffan View Post
Fun thread...

I'll preface my reply with the fact that I have just bought my boat and haven't installed anything on her yet. Agree that this is probably only worth it if you enjoy this sort of messing around.

On my desk at home I have OpenPlotter installed on a Pi 3B+, and made it a Plex server+client for movies at anchor. This model Pi struggles to playback video so I will upgrade to a Pi 4 before installing on the boat. Movies will be stored on a USB 3.0 external SSD.

I have the GX2200 VHF mentioned earlier in the thread as this looked like the cheapest way to inject GPS and AIS data. OpenPlotter makes it pretty easy to watch the NMEA0183 sentences flow through and I've seen the GPS data do that. As far as I can tell the GX2200 doesn't broadcast it's AIS demo data so I have not seen those yet.

Right now the radio is wired into a RS422 USB stick on the Pi. This required reversal of the grey and brown wires to work, for some reason. I plan to add a Yacht Devices multiplexer to bring other data in at some point.

A decent 5.2V, 25W power supply will get soldered to the PI motherboard before installation, and I will be using a case with an integrated fan and heatsinks. I may solder the RS422 daughterboard on there too, and secure the whole works to some plywood.
So it's the small bits of information we get on CF that really help!

I checked and checked and rechecked all my setups and i couldn't see that I was doing anything wrong. Wiring was right and all the setup on the VHF was correct but the NMEA debug screen showed no input at all from my SH GX2200 but my hockey puck gps was inputting good data

So after a couple hours of getting nowhere I decided to go to lunch and reread this thread.

Thanks for the above! That's was all it took to give me AIS targets!!
__________________

thomm225 is offline   Reply With Quote
Old 09-02-2020, 16:53   #168
Registered User

Join Date: Apr 2017
Location: Minnesota
Boat: Jeanneau SO 34.2
Posts: 43
Images: 1
Re: Raspberry Pi as Onboard Computer

There was a disucssion earlier in this thread about fans. I used this project to have my case fan come on at 65C, and off at 55C.

https://howchoo.com/g/ote2mjkzzta/co...erature-python

Open Plotter / OpenCPN won't get things that hot, but Plex just about will in some cases, depending on the video format. The fan takes <30 secs to cool from 65 to 55 at 22C ambient. I have no idea what it's actually drawing when it's on, but it's labeled as 0.1A and is silent.
Attached Thumbnails
Click image for larger version

Name:	IMG_20200209_174236.jpg
Views:	42
Size:	409.1 KB
ID:	208392  
steffan is offline   Reply With Quote
Old 09-02-2020, 17:15   #169
Registered User
 
thomm225's Avatar

Join Date: Aug 2011
Boat: B27
Posts: 6,231
Re: Raspberry Pi as Onboard Computer

So I still have this boot up problem with my first Raspberry Pi 4. It does not boot up at power up.

If I cycle power on the switch of whatever is feeding it, it still will not power up.

I have to unplug and re-plug in quickly to make it boot up.

This am in the 40 degrees F on the boat, it took a few tries


I think I'll try another SD Card to see if that changes things but I'm thinking a power supply problem.
thomm225 is offline   Reply With Quote
Old 25-03-2020, 23:25   #170
Registered User
 
fxykty's Avatar

Join Date: Apr 2016
Location: Auckland
Boat: Outremer 55L
Posts: 1,148
Re: Raspberry Pi as Onboard Computer

Quote:
Originally Posted by thomm225 View Post
So I still have this boot up problem with my first Raspberry Pi 4. It does not boot up at power up.

If I cycle power on the switch of whatever is feeding it, it still will not power up.

I have to unplug and re-plug in quickly to make it boot up.

This am in the 40 degrees F on the boat, it took a few tries


I think I'll try another SD Card to see if that changes things but I'm thinking a power supply problem.

Have you checked that the eprom is OK? If not do that first (take out SD card and plug in the power, count the fast green blinks) and upgrade the firmware if that is the problem. Instructions are on the Pi site.
fxykty is offline   Reply With Quote
Old 26-03-2020, 00:09   #171
Registered User
 
fxykty's Avatar

Join Date: Apr 2016
Location: Auckland
Boat: Outremer 55L
Posts: 1,148
Raspberry Pi as Onboard Computer

In New Zealand weíre in total lockdown and unfortunately my wife and I are both working in essential businesses so no sailing away for the month or however long this lockdown lasts. Sigh.

But, it does allow for time to really get into building the Pi and itís network for the boat, at home first with all the extra resources a dry land house affords.

First step is putting Open Plotter onto the Pi. No luck at all with the basic OP NOOBS install - no boot at first, then boot and install but black screen after reboot. Bah humbug. So I installed the Raspbian NOOBS instead, which works just fine. Once everything updated and secured, I installed the OP advanced Debian settings. That was quite tedious as had to update and install each element of OP individually (via the graphical interface), but had it done and itís all working fine now. So far using mains AC power with the Pi offical power supply for the Pi and the AC to brick to 14.1V power cord for the 28Ē display monitor.

Second step I've set up a 12V network here at home using an AC power transformer outputting 7.5A at 12V. Power for the Pi is sorted with a little Tecsun 25W 12V/5V converter. The 28Ē display monitor (that is specíd for 14.1V 1.79A) seems to be happy with the 12.8V being output from the transformer after I cut the wire after the brick and attached them to the bus bar. So far so good. Iíve got a 5A fuse on the power supply and itís not getting blown. Sweet so far.

Hereís the little power system. The AC transformer is the big box at the top, then a small combined bus bar on the left, and the Tecsun for the Pi power. Iíve also wired a small 12V male plug to test our Natureís Head fans wiring - Iíve made three plug and play spare fans so changing out a failed fan will be easy.

Click image for larger version

Name:	60689512252__1D89CF70-6ABF-4439-BDA0-D655C2ACF310.jpg
Views:	32
Size:	87.3 KB
ID:	211290

Donít worry, Iíll mount this on a board and lay things out nicely this weekend. And other than the wiring everything else is staying at home and wonít go to the boat.

Third, depending on the courier deliveries, will be adding the router and the mobile gateway (Iíve bought the Mailasail Red Box and 4G RoamFree Gateway from the UK - I like the sat phone integration the Red Box offers and the Gateway offers global sims support). Once those arrive Iíll add them to the home system and set up the future local network for the boat and WiFi gateway.

Also waiting for the Yacht Devices Seatalk NG to Ethernet gateway, which is coming from Russia by post. That will have to wait for the boat install before I can test that and FINALLY have boat data on a network for OpenCPN and phones and tablets.

By that time hopefully the lockdown will be done and Iíll be able to mount all this at our nav station. Then weíll move the chart plotter mfd from the nav station to the cockpit bulkhead (itíll be nice to have radar and an outdoor visible and weatherproof screen out there). The large monitor will be used for planning and logging.

Hopefully this is interesting for others. If so, Iíll report the home network experience with the RedBox and Gateway in another post and the boat network integration and install after that.
fxykty is offline   Reply With Quote
Old 06-04-2020, 03:53   #172
Registered User
 
fxykty's Avatar

Join Date: Apr 2016
Location: Auckland
Boat: Outremer 55L
Posts: 1,148
Re: Raspberry Pi as Onboard Computer

Fed Ex delivered from the UK the MailASail Red Box and 4G RoamFree 4Gateway a couple days ago. Putting a lockdown weekend, no sailing sigh, to decent use I added the two components to my dining table boat computer network.

Click image for larger version

Name:	60781944383__E0C58C3E-1513-44C6-8FC2-6EEF1C133BA3.jpg
Views:	20
Size:	97.5 KB
ID:	212142

Red Box is hooked into 12V power and a USB cable from the 4Gateway. Since the Pi only has one Ethernet port that I want to reserve for the Yacht Devices Seatalk-Ethernet gateway the comms between the Red Box and the Pi are via WiFi rather than hard wired.

Powered everything up and the Pi connected to the Red Box and I could bring up the admin interface on the Pi. First step done.

Then I hardwired our home internet into the Red Box and on selecting the wired connection in the Red Box admin interface the Pi is connected to the world. Great.

Next I put a local SIM into the 4Gateway and on the Pi selected the 4Gateway as the live connection. Yes, works, and Pi is connected to the Internet via cellular.

Next will be to connect our Iridium phone to the Red Box - need to stealth run up to the boat and retrieve the sat phone and bring it home. The Red Box should recognise it as another connection type - this is the reason why I bought the Red Box to use as our router as opposed to any other router.

When I eventually get a WiFi antenna then that will get connected to the Red Box via USB cable. While weíre cruising NZ and the S Pacific Islands cellular is quite common and WiFi very uncommon so weíre not in a rush to buy that, but will later on. That will take care of all the different connections that we can have while cruising.

The Red Box handles all the connection types and the admin interface on the Pi allows me to choose which connection to use and to set the rules for each connection.
fxykty is offline   Reply With Quote
Old 06-04-2020, 04:08   #173
Registered User

Join Date: Jul 2018
Location: Currently Run Aground Ashore...
Boat: Sail & Power for over 35 years, experience cruising the Eastern Caribbean, Western Med, and more
Posts: 994
Re: Raspberry Pi as Onboard Computer

Quote:
Originally Posted by fxykty View Post
...The Red Box should recognise it as another connection type - this is the reason why I bought the Red Box to use as our router as opposed to any other router.

...The Red Box handles all the connection types and the admin interface on the Pi allows me to choose which connection to use and to set the rules for each connection.
Nice
__________________

jmh2002 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Raspberry Pi or ... for onboard computer Tenedos Marine Electronics 18 04-02-2017 20:27
Wanted Raymarina Type 300 Course computer or S3 Course computer Plukky Marine Electronics 0 08-05-2014 23:20
computer onboard donegalbreeze Marine Electronics 8 22-06-2012 09:48
Onboard Computer - Linux Progs ? conachair Marine Electronics 3 30-01-2012 12:49
Computer Onboard? Ron Laking Marine Electronics 25 18-07-2011 07:18

Advertise Here


All times are GMT -7. The time now is 03:21.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2020, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.