Cruisers Forum
 


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 21-07-2017, 04:51   #31
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,711
Images: 2
Re: Nmea recording device needed

Ron, kbox recording to sdcard is excellent idea, wish it were more common. I am going rpi route for cost and general utility reasons, also this something I need to become familiar with, rpi, linux, kplex, etc. Additionally we have some great support from the guys, so I am going to document each step for the supplimentary hardware manual for others to follow.
rgleason is offline   Reply With Quote
Old 21-07-2017, 05:29   #32
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Re: Nmea recording device needed

Quote:
Originally Posted by rgleason View Post
Ron, kbox recording to sdcard is excellent idea, wish it were more common. I am going rpi route for cost and general utility reasons, also this something I need to become familiar with, rpi, linux, kplex, etc. Additionally we have some great support from the guys, so I am going to document each step for the supplimentary hardware manual for others to follow.
Documenting this would be great

Since I'd like something similar I've started having a look at mysql/node-red. Would probably be easier to get at all the data afterwards rather than having one huge file full of NMEA sentences.

The Openplotter guys have logging on their radar as well so I'll leave a link to this thread on the openplotter forums.
conachair is offline   Reply With Quote
Old 23-07-2017, 09:27   #33
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,711
Images: 2
Re: Nmea recording device needed

I've been reading up on rpi3 insructions and have some questions.
1. Mini Sdcard 8gb type 6 with reader (I guess it is a USB connection?) suggested as best. Will we want a larger or different one?
2. Load Noobs then select OS. Is this the best way to start
configuation? What OS -raspian?
3. Then Openplotter?
4. Since we want to have it powered by a 12vdc plug and at least 2.5vdc stable power supply, is there a good source? Would batterybackup included be good since 12vdc plugs are not very reliable? - perhaps use a different very simple reliable connector like for a trailer hitch?
5. I think I have Hdmi, disply/tv screen, usb mouse and keyboard. If we decide on 7" screen, which one would be best for cockpit? Below?
6. Should I just get the reccommended box? I think this will be located below in Nav station.
7. How to package and simplify all the wiring and wires.
8. Are there any other accessories I might need other than the switch to record?

I'll read openplotter install instructions next, then node red.

Thanks
rgleason is offline   Reply With Quote
Old 23-07-2017, 09:45   #34
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,711
Images: 2
Re: Nmea recording device needed

Some links
Rpi3 https://www.raspberrypi.org/products...-pi-3-model-b/

Openplotter http://www.sailoog.com/en/openplotter

Openplotter dwnld. Includes Noobs http://www.sailoog.com/

Node Red https://nodered.org/
rgleason is offline   Reply With Quote
Old 23-07-2017, 12:21   #35
Registered User

Join Date: Apr 2013
Location: So Cal
Boat: Catalina 387
Posts: 967
Re: Nmea recording device needed

Since 0183 is purely serial, one of these would work:

Logomatic v2 Serial SD Datalogger

You'd need to decode the NMEA sentences on reading, but it'd loggem.
jeepbluetj is offline   Reply With Quote
Old 23-07-2017, 14:56   #36
Registered User

Join Date: Nov 2015
Location: Ireland
Posts: 471
Re: Nmea recording device needed

No need to load any OS before OpenPlotter. There is a NOOBS+OpenPlotter download that installs both together.

You can even install it headless if you want, just write the SD card as instructed, install it in the Pi and then wait for about 30 mins. You'll then see a WiFi network called OpenPlotter, password is 12335678. Use VNC to connect to it and you are in action.

Good luck. :-)
AedanC is offline   Reply With Quote
Old 24-07-2017, 01:46   #37
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Re: Nmea recording device needed

Quote:
Originally Posted by rgleason View Post
I've been reading up on rpi3 insructions and have some questions.
1. Mini Sdcard 8gb type 6 with reader (I guess it is a USB connection?) suggested as best. Will we want a larger or different one?

I use 16G cards so there's plenty of room for all the charts..
Usually sans disc ultra x10.

A usb sd card reader/writer is really handy to back up from a Pi menu as you go along.

pi@openplotter:~ $ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 13G 5.6G 6.8G 46% /
devtmpfs 458M 0 458M 0% /dev
tmpfs 462M 0 462M 0% /dev/shm
tmpfs 462M 6.7M 455M 2% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 462M 0 462M 0% /sys/fs/cgroup
/dev/mmcblk0p6 65M 21M 45M 33% /boot
tmpfs 93M 4.0K 93M 1% /run/user/1000
/dev/mmcblk0p5 30M 397K 28M 2% /media/pi/SETTINGS




Quote:
2. Load Noobs then select OS. Is this the best way to start
configuation? What OS -raspian?
3. Then Openplotter?
From memory the installation autoruns so you don't even need a monitor, it will load the OS then reboot straight into OpenPlotter



Quote:
4. Since we want to have it powered by a 12vdc plug and at least 2.5vdc stable power supply, is there a good source? Would batterybackup included be good since 12vdc plugs are not very reliable? - perhaps use a different very simple reliable connector like for a trailer hitch?
Pi's do like good power so one area where it's best not to skimp - I use an ebay buck boost DC converter set to about 5.2v.


Quote:
5. I think I have Hdmi, disply/tv screen, usb mouse and keyboard. If we decide on 7" screen, which one would be best for cockpit? Below?
6. Should I just get the reccommended box? I think this will be located below in Nav station.
I have a 19" monitor down below but don't use it that much, underway it's a sony xperia tablet in the cockpit and down below often it's easier to use the laptop either SSH into the terminal or VNC to echo the Pi desktop on the laptop.


Quote:
8. Are there any other accessories I might need other than the switch to record?
REALLY handy are ds18b20 thermometer sensors, I love having engine/alternator/exhaust elbow graphed and engine temp displayed in opencpn dashboard - but maybe that's running before walking...

A breakout board for the GPIO pins is really handy.

You might find a node-red dashboard switch is actually handier than a hard wired switch, then any device which can get a web page up can be used.
conachair is offline   Reply With Quote
Old 26-07-2017, 23:25   #39
Registered User

Join Date: Nov 2015
Location: Ireland
Posts: 471
Re: Nmea recording device needed

Are you planning to receive the data from NMEA 0183? If so you'll need a USB to RS 422/488 interface. Basically a differential serial port.

Aedan
AedanC is offline   Reply With Quote
Old 27-07-2017, 01:33   #40
Moo
Registered User

Join Date: Mar 2017
Posts: 804
Re: Nmea recording device needed

If the whole point of this is to log data to generate polars you can add environmental conditions with the addition of sensors such as the BME280 which gives pressure, temperature and humidity. The use the I2C interface is virtually plug and play in Openplotter.
Moo is offline   Reply With Quote
Old 27-07-2017, 03:07   #41
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,711
Images: 2
Re: Nmea recording device needed

AedanC. The boat has an Artisense for 0183 which has a USB plug. For my boat I have a rs232 to usb converter and before that a seatalkconverter.

Moo That's very helpful to know and I'll find some sensors.

Do you guys think the box will hold the power unit and breakout board? This needs to be pretty tidy for my friends boat. Also I think a hard switch is going to be much easier for him to start recording.
rgleason is offline   Reply With Quote
Old 27-07-2017, 10:21   #42
Moo
Registered User

Join Date: Mar 2017
Posts: 804
Re: Nmea recording device needed

Quote:
Originally Posted by rgleason View Post
Moo That's very helpful to know and I'll find some sensors.

Do you guys think the box will hold the power unit and breakout board? This needs to be pretty tidy for my friends boat. Also I think a hard switch is going to be much easier for him to start recording.
I housed all of mine in an industrial IP67 standard waterproof box with IP67 push buttons and connectors for power and sensor etc. I mounted the touch screen with a silicon gasket so it should all be pretty watertight still.

Inside the box there is the Pi with GPS hat, homebrew buck converter PSU, heading sensor, RTC, temperature sensor (to monitor temp inside the box) and interfaced outside 1W temperature sensors, the BME280, external GPS antenna, NMEA0183 interface, N2K interface and an external USB. It measures 22x15x7cm.
Moo is offline   Reply With Quote
Old 28-07-2017, 02:46   #43
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Re: Nmea recording device needed

This looks like it might be worth a look for creating polars:

https://github.com/joabakk/signalk-polar

https://www.npmjs.com/package/signalk-polar-graphing
conachair is offline   Reply With Quote
Old 28-07-2017, 05:39   #44
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,711
Images: 2
Re: Nmea recording device needed

Yes, Conachair, that would be a good way and there are several other utilities such as Polar_pi, Polauto (windows) which will sort out that data nest and make polars, and I even believe Sean's weather_routing may do it but have not tried it.

Interesting point that Motor Boats also can also use polars! Yes, they do have different characteristics based on the speed and angle of the wind and that can be mapped! This all adds up to fuel savings or not, and the polars can help make predictions for speed at certain RPM etc.
rgleason is offline   Reply With Quote
Old 30-07-2017, 10:16   #45
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Re: Nmea recording device needed

Update this end -

I now have openplotter recording data into a sqlite database, just some thermometers so far and haven't figured out what to actually do with the data, here's a few hours graphed in plotly..

I think it's well worth the effort sorting out a database to store in even if you record a daily file of nmea as well, so much easier to get at the data..

RRDTOOLS might actually be a better way to record as the databases are a fixed size, some data "falls off" the far end of the database as a new data goes in but it's a big of a slog to set up, though it does its own graphing as well. I'll leave this running for a few days and see how big the file gets, one bonus of sqlite is that everything is stored in one file so you can copy over to another machine to play with it.

conachair is offline   Reply With Quote
Reply

Tags
nmea, record


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
Recording Radar Spokes str-alorman OpenCPN 4 26-05-2017 13:57
For Sale: Comar NMEA-2-WIFI NMEA 0183 Converter $230 4arch Classifieds Archive 1 02-11-2015 03:02
Multiplexing NMEA on a router (NMEA over WiFi redux) Mollymawk Marine Electronics 16 21-10-2014 05:18
Polauto Recording cansailor OpenCPN 8 17-06-2013 16:50
Recording Costs of Ownership Therapy Dollars & Cents 11 10-07-2009 11:36

Advertise Here


All times are GMT -7. The time now is 02:17.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.