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 Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
Old 24-01-2016, 06:40   #271
cruiser

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

Quote:
Originally Posted by manitu View Post
I was talking about Original and aftermarket outboard sensors . But glueing a BMP180 to the head could work, I guess. Any digital solution on the water pressure?

.Manitu
Water pressure I've never even thought about so can't help there I'm afraid, but for head temp the ds18n20 sensors are the way forward, I haven't connected one to openplotter on a Pi yet but the page is there ready so should be plug and play. Also not sure about display options yet though signalK might come of age any day now if we're lucky.
As for the numbers the senors spit out, this was recorded on an arduino with a sensor on the head and another on the exhaust loop.



With one of these just zip tied to the head/exhaust.
conachair is offline   Reply With Quote
Old 25-01-2016, 09:05   #272
Registered User

Join Date: Jul 2015
Location: Barcelona, Catalonia.
Posts: 297
Re: OpenPlotter project

Quote:
Originally Posted by Saqqara View Post
Hi Sailoog, has the specific hardware been selected for the upcoming SPI ADC?
I basically thought of using simple and cheap MCP3008 ADC (10 bits) or MCP3208 (12 bits). These chips have 8 inputs and a SPI interface to communicate with the processor. For instance we could have:

- 2 inputs for 2 battery banks sensors.
- 2 inputs for aux power source (solar panel, wind generator) sensors.
- 4 extra inputs (engine rpm, wind sensors...)

For voltage and current monitoring I would like to know your opinions about limits, I mean, max values of voltage and current that
the divider should support.

V: 15 max? (solar panels can reach 22V in sunny day but there is always a
stabilizer between panels and battery, isn't it?)

A: 180A max? (the problem here is the windlass which can be really hungry)

How about these dividers https://www.sparkfun.com/products/10644? they support up to 180A. The problem could be that they are designed to measure from 0 to 50V and we would measure from 0 to 15 and that would mean
a loss of accuracy.
__________________
OpenPlotter Project
https://openmarine.net/openplotter
Sailoog is offline   Reply With Quote
Old 25-01-2016, 09:12   #273
Registered User

Join Date: Jul 2015
Location: Barcelona, Catalonia.
Posts: 297
Re: OpenPlotter project

Quote:
Originally Posted by misterjenkins View Post
I've been playing around with open plotter, in the first instance, I'm hoping to use it to decode AIS signals and send them to an android tablet running OpenCPN.

I've got everything installed, I've calibrated the receiver, but I never seem to get any signals (I'm about 500yds from a marina, and Marine Traffic shows signals there).

From the NMEA inspector, I can see the following status messages when I restart NMEA:
Failed to connect with localhost: 101101.Error: 111, trying to reconnect

This is then replaced by the message

Failed to connect with localhost: 101101.Error: Timed out, waiting for data...

Can anyone help with this?

Thanks
openplotter version?

antenna?

DVB-T receiver model?

calibration value (ppm)?
__________________
OpenPlotter Project
https://openmarine.net/openplotter
Sailoog is offline   Reply With Quote
Old 25-01-2016, 09:18   #274
Registered User

Join Date: Jul 2015
Location: Barcelona, Catalonia.
Posts: 297
Re: OpenPlotter project

Manitu, look at this...

https://bitbucket.org/R_P_Ryan/enginemonitor/wiki/Home

Quote:
The EngineMonitor is an Arduino-based system for older marine diesel engines. It provides diagnostic information that is typically found only on modern engines....
Lots of good and inspiring ideas.
__________________
OpenPlotter Project
https://openmarine.net/openplotter
Sailoog is offline   Reply With Quote
Old 25-01-2016, 12:05   #275
Registered User

Join Date: Apr 2012
Location: Turkey, Greece
Boat: Moody 44
Posts: 111
Re: OpenPlotter project

Quote:
Originally Posted by Sailoog View Post
I basically thought of using simple and cheap MCP3008 ADC (10 bits) or MCP3208 (12 bits). These chips have 8 inputs and a SPI interface to communicate with the processor. For instance we could have:

- 2 inputs for 2 battery banks sensors.
- 2 inputs for aux power source (solar panel, wind generator) sensors.
- 4 extra inputs (engine rpm, wind sensors...)

For voltage and current monitoring I would like to know your opinions about limits, I mean, max values of voltage and current that
the divider should support.

V: 15 max? (solar panels can reach 22V in sunny day but there is always a
stabilizer between panels and battery, isn't it?)

A: 180A max? (the problem here is the windlass which can be really hungry)

How about these dividers https://www.sparkfun.com/products/10644? they support up to 180A. The problem could be that they are designed to measure from 0 to 50V and we would measure from 0 to 15 and that would mean
a loss of accuracy.

Comments:
Some boats are 24v
Some boats have 3 battery banks (I have 3 (Bow Thruster, House, Start)
The NASA commercial battery monitor shunts are 200A and 100A. I have a 200A

Questions
Will you provide a facility to read tank level sensors?
I would particularly like to read my 0-190 ohm fuel sender
A fresh water sender would be nice too.
Is the ability to read and display multiple DS18B20 temp sensors in the pipeline?
affinite is offline   Reply With Quote
Old 25-01-2016, 12:17   #276
Registered User

Join Date: Mar 2014
Location: Maryland USA
Boat: Beneteau Oceanis 37
Posts: 83
Re: OpenPlotter project

Quote:
Originally Posted by Sailoog View Post
I basically thought of using simple and cheap MCP3008 ADC (10 bits) or MCP3208 (12 bits). These chips have 8 inputs and a SPI interface to communicate with the processor. For instance we could have:

- 2 inputs for 2 battery banks sensors.
- 2 inputs for aux power source (solar panel, wind generator) sensors.
- 4 extra inputs (engine rpm, wind sensors...)

For voltage and current monitoring I would like to know your opinions about limits, I mean, max values of voltage and current that
the divider should support.

V: 15 max? (solar panels can reach 22V in sunny day but there is always a
stabilizer between panels and battery, isn't it?)

A: 180A max? (the problem here is the windlass which can be really hungry)

How about these dividers https://www.sparkfun.com/products/10644? they support up to 180A. The problem could be that they are designed to measure from 0 to 50V and we would measure from 0 to 15 and that would mean
a loss of accuracy.

I use an MCP3008 on a pi for monitoring our boat. Currently I just use 2 channels on it - main bank voltage and bilge pump voltage (goes high when the pump cycles). Our boat has a VDO panel with a bunch of inputs that I plan on tying into to get more info. That would add 2 other battery banks, and voltage levels from each of 3 water/fuel tank sensors. Our boat also has a 50mV/100A max shunt that the VDO panel reads to show amperage. I know all of the house loads go through that shunt, but I'm not sure about the windlass. I'd like to tie into the leads from that shunt to record amperage on the pi, but I'll need a higher gain ADC to get something useful out of the 50mV shunt range.


Sent from my iPhone using Cruisers Sailing Forum
Davidasailor is offline   Reply With Quote
Old 25-01-2016, 12:53   #277
Registered User

Join Date: Oct 2012
Location: Brighton, UK
Boat: Westerly Oceanlord
Posts: 513
Re: OpenPlotter project

Quote:
Originally Posted by conachair View Post
Water pressure I've never even thought about so can't help there I'm afraid, but for head temp the ds18n20 sensors are the way forward
The problem with jumping back in to a thread on the last page after missing a few is that you can misinterpret.

First thought: Don't think I need to know water pressure in the heads but knowing the temperature there would be pretty useful in helping answer the "do I really want to get up?" question.

Not so relevant in Sailoog's part of the world. More so for winter liveaboards nearer conachair or me.
muttnik is offline   Reply With Quote
Old 25-01-2016, 17:53   #278
Registered User

Join Date: Oct 2011
Location: Moss, Norway
Boat: 35' Jeanneau Espace 1000 DL
Posts: 354
Re: OpenPlotter project

Quote:
Originally Posted by muttnik View Post
The problem with jumping back in to a thread on the last page after missing a few is that you can misinterpret.

First thought: Don't think I need to know water pressure in the heads but knowing the temperature there would be pretty useful in helping answer the "do I really want to get up?" question.

Not so relevant in Sailoog's part of the world. More so for winter liveaboards nearer conachair or me.
Water pressure alarm is a must-have when running surface propeller and tuned 2-strokes.
It signals a broken impeller, broken/bent pickup, or broken water hose before you seize the engine. The water temp indication is to slow ,if you dont cach in at once it starts climbing.

Cylinder temp, water pressure, volts and rpm. Those are the basics on older 2-stroke engines.

.manitu
__________________
Is it possible that my sole purpose in life is to act as a warning to others?
manitu is offline   Reply With Quote
Old 25-01-2016, 18:26   #279
Registered User

Join Date: Oct 2011
Location: Moss, Norway
Boat: 35' Jeanneau Espace 1000 DL
Posts: 354
Re: OpenPlotter project

Sorry if this has been asked before , but, in a full scale system with radar , can openplotter change the UDP packets from the radar to TCP, so it can be transmitted to wireless devices?


Edit: temperature in the heads.. haha , finally caught it.

.manitu
__________________
Is it possible that my sole purpose in life is to act as a warning to others?
manitu is offline   Reply With Quote
Old 26-01-2016, 03:24   #280
Registered User

Join Date: Oct 2012
Location: Brighton, UK
Boat: Westerly Oceanlord
Posts: 513
Re: OpenPlotter project

Quote:
Originally Posted by manitu View Post
can openplotter change the UDP packets from the radar to TCP, so it can be transmitted to wireless devices?
Let me pre-empt any reply by Sailoog by asking...

Are you sure that's what you want?

OpenCPN's radar plugins (unless they've changed since last I looked: do correct me if they have) and proprietary display programs associated with radar units which use udp multicast won't know anything about making a TCP connection.

The elegant and seamless way (though not scalable but we don't care in this use case) to bridge multicast radar/sonar packets onto wireless would be layer 2 multicast-to-unicast: The bridge does igmp snooping on the wireless interface and sends L3 multicast traffic via L2 unicast to only those stations from which it has seen a join of the relevant group.

Some googling throws up evidence that OpenWRT has recently acquired the ability to do this but I'm unaware of such ability in the general Linux kernel so wouldn't be optimistic that OpenPlotter could do this.

Of course I could be completely wrong and welcome anyone putting me right :-)
muttnik is offline   Reply With Quote
Old 26-01-2016, 10:12   #281
Registered User

Join Date: Jul 2015
Location: Barcelona, Catalonia.
Posts: 297
Re: OpenPlotter project

Quote:
Originally Posted by affinite View Post
Questions
Will you provide a facility to read tank level sensors?
I would particularly like to read my 0-190 ohm fuel sender
A fresh water sender would be nice too.
Is the ability to read and display multiple DS18B20 temp sensors in the pipeline?
Now OP can read a float switch and warn of an empty/ful tank. No level measure. That should be measured by analog sensors.

I am not familiarized with senders. Do they output a variable voltage to read? or do you have to read a variable resistor value?

On OP v0.6.0 will be implemented the ability of read just one DS18B20 but multiple DS18B20 is the next in the TO DO list.
__________________
OpenPlotter Project
https://openmarine.net/openplotter
Sailoog is offline   Reply With Quote
Old 26-01-2016, 10:44   #282
Registered User

Join Date: Jul 2015
Location: Barcelona, Catalonia.
Posts: 297
Re: OpenPlotter project

Really useful info about voltage and current onboard, thanks!

I am afraid there are a lot of possible sensors, infinite combination of then and too many magnitudes to measure. Instead of choosing magnitudes to apply to the SPI interface of OP (bank 1, bank 2, tank level, water pressure ...), It will be better to design some open system to customize it, I mean...

There are 8 total possible analog inputs. When you define an analog input in OP, you will set:
  • The channel (1-8)
  • The name of the magnitude to measure (voltage battery bank 1/2/3, engine rpm, water pressure ...)
  • The unit of the magnitude (Volts, Amp, rpm)
  • The value obtained at that moment with a reliable measurement system in order to have calibration data.
Once created, the magnitude and the measured values would be present in the triggers/actions system and optionally in the NMEA stream.

Each sensor installation should be responsible for getting the correct voltage to the ADC.

What am I forgetting?
__________________
OpenPlotter Project
https://openmarine.net/openplotter
Sailoog is offline   Reply With Quote
Old 26-01-2016, 10:56   #283
Registered User

Join Date: Jul 2015
Location: Barcelona, Catalonia.
Posts: 297
Re: OpenPlotter project

Quote:
Originally Posted by manitu View Post
Sorry if this has been asked before , but, in a full scale system with radar , can openplotter change the UDP packets from the radar to TCP, so it can be transmitted to wireless devices?
The only thing that OP could get from UDP, multiplex and send to TCP is NMEA 0183 and I assume you are talking about other kind of data, aren't you?
__________________
OpenPlotter Project
https://openmarine.net/openplotter
Sailoog is offline   Reply With Quote
Old 26-01-2016, 19:09   #284
Registered User

Join Date: Mar 2014
Location: Maryland USA
Boat: Beneteau Oceanis 37
Posts: 83
Re: OpenPlotter project

Quote:
Originally Posted by Sailoog View Post
Really useful info about voltage and current onboard, thanks!

I am afraid there are a lot of possible sensors, infinite combination of then and too many magnitudes to measure. Instead of choosing magnitudes to apply to the SPI interface of OP (bank 1, bank 2, tank level, water pressure ...), It will be better to design some open system to customize it, I mean...

There are 8 total possible analog inputs. When you define an analog input in OP, you will set:
  • The channel (1-8)
  • The name of the magnitude to measure (voltage battery bank 1/2/3, engine rpm, water pressure ...)
  • The unit of the magnitude (Volts, Amp, rpm)
  • The value obtained at that moment with a reliable measurement system in order to have calibration data.
Once created, the magnitude and the measured values would be present in the triggers/actions system and optionally in the NMEA stream.

Each sensor installation should be responsible for getting the correct voltage to the ADC.

What am I forgetting?

You might also want to make a customizable refresh rate for each channel. Some channels like RPMs might need to be fast refresh, whereas things like tank sensors could probably suffice at a reading per minute or so.


Sent from my iPhone using Cruisers Sailing Forum
Davidasailor is offline   Reply With Quote
Old 27-01-2016, 01:51   #285
Registered User

Join Date: Apr 2012
Location: Turkey, Greece
Boat: Moody 44
Posts: 111
Re: OpenPlotter project

Quote:
Originally Posted by Sailoog View Post
Now OP can read a float switch and warn of an empty/ful tank. No level measure. That should be measured by analog sensors.

I am not familiarized with senders. Do they output a variable voltage to read? or do you have to read a variable resistor value?

On OP v0.6.0 will be implemented the ability of read just one DS18B20 but multiple DS18B20 is the next in the TO DO list.
S.
Most basic fuel senders simply present a variable resistance eg 0-190 Ohm. If you are taking OP down the MCP3008 ADC path then I will setup and monitor a simple voltage divider incorporating the fuel sender.
Regards
affinite is offline   Reply With Quote
Reply


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
Want To Buy: Project Boat: Engineless 35'ish blue water cruiser project Max Sail Classifieds Archive 52 24-03-2013 12:27
Greetings + my project Marco Meets & Greets 8 27-02-2009 16:28
Major Project: What is the best way to organize our discussions? Andy R Forum Tech Support & Site Help 6 04-04-2006 14:21
Our ongoing project - Offshore 41 By Invitation Construction, Maintenance & Refit 7 04-12-2005 06:42
Portal sailing website project CaptainTom Meets & Greets 2 20-03-2003 06:50

Advertise Here


All times are GMT -7. The time now is 18:25.


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.