Arduino / Raspberry Pi based instrumentation? - SailNet Community
 1Likes
Reply
 
LinkBack Thread Tools
post #1 of 35 Old 06-30-2014 Thread Starter
Senior Member
 
night0wl's Avatar
 
Join Date: Mar 2006
Location: Fort Lauderdale
Posts: 1,479
Thanks: 0
Thanked 22 Times in 22 Posts
Rep Power: 10
 
Arduino / Raspberry Pi based instrumentation?

Hi all,

So I recently ordered a Raspberry Pi and more associated small equipment to make myself a NMEA wireless bridge/repeater. The plan is to (based on a recent Panbo article) utilize a Win8.1 cheapo tablet to run OpenCPN. I've already run the instrumentation and had it all working on my laptop at the helm, and even had OpenCPN acting as a TCP server....so this is no challenge.

*HOWEVER*, this project got me thinking. My Yanmar 3ym30 has only the idiot lights for water temperature, voltage, and oil pressure. At various stages, I've thought about upgrading the Yanmar Panel ($1000+ all in), buying the Maretron N2k instrument andharness ($700 all in), and the cheapest option, splicing in to the existing wiring and putting in analogy instrument gauges.

Then, I thought, hey, I have the raspberry pi. Why not use an arduino board to tap this data this way!?

The trouble is, I'm not very well versed with arduino and instrumentation. However, if I'm willing and able to fund the hardware purchase(s), is there anyone that can guide me through the project? The best thread I've got is this as a reference: Boat Digital Guage Project - Arduino Forum

I figure I'd start with a simple question...so here goes:

Q1 - can someone tap into existing idiot light gauges (at the sender or at the panel) in order to splice the data? How does one interpret the values being returned by the sender gauges (assuming they return various voltages or resistances back to the idiot lights helmide).

S/V Jendai
Beneteau 343

Last edited by night0wl; 06-30-2014 at 11:55 PM.
night0wl is offline  
Quote Quick Reply Share with Facebook
Sponsored Links
Advertisement
 
post #2 of 35 Old 07-01-2014
Old enough to know better
 
Join Date: Dec 2006
Location: Beacon, NY
Posts: 3,662
Thanks: 24
Thanked 150 Times in 146 Posts
Rep Power: 10
 
Re: Arduino / Raspberry Pi based instrumentation?

I would think you would need new senders but that should not be expensive as you can use standard ones the idiot lights are controlled by sensors that trigger a signal a to a point not a continuous range. Put in t fittings to keep existing sensors.

Look like a fun project. I doubt you will save money. But will have fun.

Sent from my NookColor using Tapatalk

1976 C&C 33
Project boat, lots of work to be done!
miatapaul is offline  
Quote Quick Reply Share with Facebook
post #3 of 35 Old 07-01-2014 Thread Starter
Senior Member
 
night0wl's Avatar
 
Join Date: Mar 2006
Location: Fort Lauderdale
Posts: 1,479
Thanks: 0
Thanked 22 Times in 22 Posts
Rep Power: 10
 
Re: Arduino / Raspberry Pi based instrumentation?

Quote:
Originally Posted by miatapaul View Post
I would think you would need new senders but that should not be expensive as you can use standard ones the idiot lights are controlled by sensors that trigger a signal a to a point not a continuous range. Put in t fittings to keep existing sensors.

Look like a fun project. I doubt you will save money. But will have fun.

Sent from my NookColor using Tapatalk
THanks for the feedback!

Can you point to t-fittings that i can use for my senders? Im particularly interested in my oil pressure one?

I'm curious as to the need for new senders. The Maretron unit has a yanmar wiring harness that apparently ties directly into existing senders on my 3ym30 engine. So while they may be hooked up to idiot lights right now, it makes me think that if the Maretron is able to bridge them to NMEA 2000, I should be able to bridge them to plain ol NMEA....right?

Also, I think youre right about saving money, but this is a learning excercise too. Just for reference sake, the cheapest nmea wifi repeaters I've seen are upwards of $350. I'm less than $100 in for my diy one so far. That included the pi, a dc-dc step down/step up, a mini usb hub, a dc power brick to tap into the 12v supply...and misc bits and bots (case, cables). This commodity hardware stuff is amazing.

S/V Jendai
Beneteau 343

Last edited by night0wl; 07-01-2014 at 12:28 AM.
night0wl is offline  
Quote Quick Reply Share with Facebook
post #4 of 35 Old 07-01-2014 Thread Starter
Senior Member
 
night0wl's Avatar
 
Join Date: Mar 2006
Location: Fort Lauderdale
Posts: 1,479
Thanks: 0
Thanked 22 Times in 22 Posts
Rep Power: 10
 
Re: Arduino / Raspberry Pi based instrumentation?

Quote:
Originally Posted by miatapaul View Post
I would think you would need new senders but that should not be expensive as you can use standard ones the idiot lights are controlled by sensors that trigger a signal a to a point not a continuous range. Put in t fittings to keep existing sensors.

Look like a fun project. I doubt you will save money. But will have fun.

Sent from my NookColor using Tapatalk
Whoops! Looks like you're right about the senders being limit. Here is an example of what someone did to "tee" in a coolant temp gauge.



Wonder how I would do this for oil pressure.

S/V Jendai
Beneteau 343
night0wl is offline  
Quote Quick Reply Share with Facebook
post #5 of 35 Old 07-01-2014
Learning the HARD way...
 
eherlihy's Avatar
 
Join Date: Jan 2007
Location: Boston / Ft Myers Area
Posts: 4,416
Thanks: 187
Thanked 122 Times in 119 Posts
Rep Power: 10
 
Re: Arduino / Raspberry Pi based instrumentation?

Quote:
Originally Posted by night0wl View Post
Whoops! Looks like you're right about the senders being limit. Here is an example of what someone did to "tee" in a coolant temp gauge.



Wonder how I would do this for oil pressure.
You will need a T and a nipple.

Locate the oil pressure limit switch. Unscrew it from the engine block. Thread a nipple to extend the oil pressure "gallery" to a more convenient location. Thread the "T" onto the nipple. Install the oil pressure limit switch, and the oil pressure sender (which is a potentiometer/varistor/rheostat).

On my vessel, instead of a nipple, the PO used a 2 foot length of high pressure hose. He mounted the senders away from the engine, on a bulkhead.
Here is a pic of the boat (when I first inspected her).

You can see next to the old battery charger (long since gone) the hose, the "T" and both senders (one of which is behind the raw water hose, above the mixing elbow).


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

USCG Licensed OUPV Captain, ASA 101/103/104/105/106/118 Instructor - Also certified in Marine Electrical Systems


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
eherlihy is offline  
Quote Quick Reply Share with Facebook
post #6 of 35 Old 07-01-2014 Thread Starter
Senior Member
 
night0wl's Avatar
 
Join Date: Mar 2006
Location: Fort Lauderdale
Posts: 1,479
Thanks: 0
Thanked 22 Times in 22 Posts
Rep Power: 10
 
Re: Arduino / Raspberry Pi based instrumentation?

Quote:
Originally Posted by eherlihy View Post
You will need a T and a nipple.

Locate the oil pressure limit switch. Unscrew it from the engine block. Thread a nipple to extend the oil pressure "gallery" to a more convenient location. Thread the "T" onto the nipple. Install the oil pressure limit switch, and the oil pressure sender (which is a potentiometer/varistor/rheostat).

On my vessel, instead of a nipple, the PO used a 2 foot length of high pressure hose. He mounted the senders away from the engine, on a bulkhead.
Here is a pic of the boat (when I first inspected her).

You can see next to the old battery charger (long since gone) the hose, the "T" and both senders (one of which is behind the raw water hose, above the mixing elbow).
Is there any impact to having the oil pressure be "teed" or on a hose further away from the engine block itself? Or does it even out across the entirety of the measurement surface?

S/V Jendai
Beneteau 343
night0wl is offline  
Quote Quick Reply Share with Facebook
post #7 of 35 Old 07-02-2014
Senior Member
 
WoobaGooba's Avatar
 
Join Date: Oct 2012
Posts: 133
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 4
 
Re: Arduino / Raspberry Pi based instrumentation?

How/where is the NMEA 2K decoding being done? OpenCPN able to decode 2K? 2K first converted to 0183 by? etc. Thanks.
WoobaGooba is offline  
Quote Quick Reply Share with Facebook
post #8 of 35 Old 07-02-2014
Old enough to know better
 
Join Date: Dec 2006
Location: Beacon, NY
Posts: 3,662
Thanks: 24
Thanked 150 Times in 146 Posts
Rep Power: 10
 
Re: Arduino / Raspberry Pi based instrumentation?

Look at Summit Racing they have lots of generic gage and sending units.

Sent from my ADR6425LVW using Tapatalk

1976 C&C 33
Project boat, lots of work to be done!
miatapaul is offline  
Quote Quick Reply Share with Facebook
post #9 of 35 Old 07-04-2014 Thread Starter
Senior Member
 
night0wl's Avatar
 
Join Date: Mar 2006
Location: Fort Lauderdale
Posts: 1,479
Thanks: 0
Thanked 22 Times in 22 Posts
Rep Power: 10
 
Re: Arduino / Raspberry Pi based instrumentation?

Quote:
Originally Posted by WoobaGooba View Post
How/where is the NMEA 2K decoding being done? OpenCPN able to decode 2K? 2K first converted to 0183 by? etc. Thanks.
The Maretron units are pure N2k. Just saying that if Maretron is able to take analog senders from Yanmar and convert to a digital signal....we should be able to do the same.

S/V Jendai
Beneteau 343
night0wl is offline  
Quote Quick Reply Share with Facebook
post #10 of 35 Old 07-04-2014
Owl
 
-OvO-'s Avatar
 
Join Date: Dec 2011
Posts: 219
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 5
 
Re: Arduino / Raspberry Pi based instrumentation?

"Is there any impact to having the oil pressure be "teed" or on a hose further away from the engine block itself? "

No. It's a hydraulic system - pressure is the same everywhere.
-OvO- is offline  
Quote Quick Reply Share with Facebook
Reply

Quick Reply
Message:
Options

By choosing to post the reply above you agree to the rules you agreed to when joining Sailnet.
Click Here to view those rules.

Register Now



In order to be able to post messages on the SailNet Community forums, you must first register.
Please enter your desired user name, your email address and other required details in the form below.
Please note: After entering 3 characters a list of Usernames already in use will appear and the list will disappear once a valid Username is entered.


User Name:
Password
Please enter a password for your user account. Note that passwords are case-sensitive.

Password:


Confirm Password:
Email Address
Please enter a valid email address for yourself.

Email Address:
OR

Log-in









Human Verification

In order to verify that you are a human and not a spam bot, please enter the answer into the following box below based on the instructions contained in the graphic.




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page



Similar Threads
Thread Thread Starter Forum Replies Last Post
ipad as instrumentation... blutoyz Electronics 40 02-10-2014 01:07 AM
Raspberry Pi Storm Warning nsweeting General Discussion (sailing related) 10 12-17-2012 05:57 PM
ST 60 instrumentation mounting brokesailor Gear & Maintenance 17 08-07-2011 08:18 AM
Datamarine Instrumentation Retracs Electronics 2 09-04-2010 08:22 AM
Racing instrumentation advice? mcagney Gear & Maintenance 1 06-22-2005 05:21 PM

Posting Rules  
You may post new threads
You may 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 On
Trackbacks are On
Pingbacks are On
Refbacks are On

 
For the best viewing experience please update your browser to Google Chrome