Arduino microcontrollers

Discussion in 'Electrical Stuff' started by DaleM, Jan 9, 2019.

  1. DaleM

    DaleM Member

    636
    Aug 5, 2009
    Mt Airy, MD
    340 Sundancer
    Twin 8.1 Horizons
    Has anyone come up with some cool stuff for your boat with Arduinos and the various shields available for them? I'm just getting into them and writing code and they seem to be VERY versatile and wasn't sure if anyone has put together anything cool with them.
     
  2. douglee25

    douglee25 Well-Known Member

    Jan 13, 2008
    Dallas, TX
    Cruisers 3575
    Twin 7.4l
    Not for the boat but my brother developed code with one of them to scan an RFI badge to allow a beer tap to dispense. It tracks the # of dispenses on each badge so folks can't over consume. He also could program certain key badges to have unlimited dispenses.
     
  3. DaleM

    DaleM Member

    636
    Aug 5, 2009
    Mt Airy, MD
    340 Sundancer
    Twin 8.1 Horizons
    Couple that to a breathalyzer and you have the full package :)

    I have done some basic temp reading stuff, but wondered what it would take to tap into a way to remotely turn on the AC or something like like? I know they have systems like the Nest for boats, but they are expensive. If your pushing a button to initiate a cool cycle, I wonder if applying 5volts (or 12v, etc) to the panel for the particular function could tapped in?
     
  4. douglee25

    douglee25 Well-Known Member

    Jan 13, 2008
    Dallas, TX
    Cruisers 3575
    Twin 7.4l
    What about using an Alexa or Google device that networks with your phone?
     
  5. northshore

    northshore Well-Known Member GOLD Sponsor

    Jan 17, 2011
    Cleveland, OH
    1989 340 Sundancer
    Raymarine E90W Radar/Chartplotter
    Twin 454 Mercruiser 340's
    If you wanted to turn any system off or on via Arduinos, Microchip or really any micro controller, all you would need is a solid state relay(SSR) of the appropriate size and type (and some support circuitry) across the switch contacts you wanted to control and tie the input side of the SSR to a Dig out line on your micro controller. Want to know if your battery charger is on? Just reverse the process. (BTW never install anything like this in the bilge due to the BOOM factor)

    Once you have that done, sending a message over the internet in a TCP packet from your home PC or smart phone to the micro is you next step and that is not very hard either if you take it in small chunks.

    On the older Sea Rays you will see the 2 x 40 column LCD displays and that just smacks of a small data acquisition system built around something from Microchip. I used to do just that in the past.
     
  6. Creekwood

    Creekwood Well-Known Member GOLD Sponsor

    Apr 26, 2009
    Oakville and Georgian Bay, Ontario
    '97 330 Sundancer, Raymarine C80 suite with radar, Mercury 310 Hypalon w/8hp Yammie 2stk
    2X 454 carbs w/ vDrives
    My son plays around with Raspberry Pi technology and has done some cool projects. I need to think of something for him to build for me. The parts are really cheap and you can integrate Bluetooth and most other interfaces and peripherals including HDMI video out. There must be something he can do. He built me a modified Billy Bass with Google voice control. I say Hey google and the bass turns it head to listen. Then ask the normal google question and it speaks out the answer like google on a phone.

    He does play around with Arduino too but more with the raspberry pi now.
     
  7. DaleM

    DaleM Member

    636
    Aug 5, 2009
    Mt Airy, MD
    340 Sundancer
    Twin 8.1 Horizons
    That would be ideal and easy - the key is getting the "thing" that can take the command and turn it into the equivalent of pressing the "cool" button on the Cruisair panel remotely. It was be fun to say, "Alexa, cool down the boat" and hear.... "OK" :)

    I was considering something like that coupled with the SSR idea but need to look at the pad to see how it works. Coupling that with ThingSpeak and IFTTT I think this could work. There is Alexa integration with IFTTT.

    A friend of mine has used the RPi more lately too just because there's so much more power/flexibility. I'm still locked in the C language/ladder logic PLC mindset :)

    I need to finish the temp sender first but am always looking for the next neat thing.
     
  8. West32

    West32 Active Member SILVER Sponsor

    102
    May 24, 2017
    Racine
    1999 Sea Ray 370 EC Hardtop
    Raymarine Axiom Pro system, AP, Radar, VHF, Fox Marine Engine Monitor
    Twin Mercruiser 454 Horizon 380 hp
    I built a raspberry pi system to monitor a few systems on my boat while I'm gone. I monitor Line voltage(plugged in), 12 vdc Level, Tilt, Bilge Water level and a smart Snap(if someone unsnaps the cover). The system ties into my marina Wifi and sends me an email when any of these items trips. I have a smart camera in an enclosure on my power pedestal, facing the boat that I can link into with my smart phone to check on things as well.
     
  9. KevinC

    KevinC Well-Known Member

    Feb 25, 2011
    Long Island, NY
    2004 340 Sundancer
    1988 Proline Center Console - 90hp Mariner/Mercury
    1969 Boston Whaler
    Twin 8.1 V-drives
    Why does the geek in me really want one of those ???

    -Kevin
     
  10. northshore

    northshore Well-Known Member GOLD Sponsor

    Jan 17, 2011
    Cleveland, OH
    1989 340 Sundancer
    Raymarine E90W Radar/Chartplotter
    Twin 454 Mercruiser 340's
    Head up to Amazon and do a search for 'CanaKit Raspberry Pi'.
     
  11. gdavis67

    gdavis67 Active Member

    133
    Mar 1, 2017
    Saugatuck, MI
    1990 390ec
    Twin 454 Mercruiser T 340 with Hurth drives
    I have been working on plans to use a Pi for many functions on our boat since beginning of 2018 using these two articles below. My son just graduated from U Mich with his Masters in EE w/ computer science and I'm planning to tap into him for the programming portion. I just need to finish my list of all things I want to incorporate and pull the cord on the purchases. The chartplotter using Openplotter is what got it all started. I would have already started if I could figure out how to incorporate the radar picture on the openplotter as well. It is being done now, but with limited systems and is still heavily under development by people MUCH smarter than I am.

    http://labs.domipheus.com/blog/the-boat-pc-a-marine-based-raspberry-pi-project/

    https://www.allaboutcircuits.com/pr...gation-system-for-a-boat-with-a-raspberry-pi/
     
    Creekwood likes this.
  12. Creekwood

    Creekwood Well-Known Member GOLD Sponsor

    Apr 26, 2009
    Oakville and Georgian Bay, Ontario
    '97 330 Sundancer, Raymarine C80 suite with radar, Mercury 310 Hypalon w/8hp Yammie 2stk
    2X 454 carbs w/ vDrives
    Interesting projects. I like the AIS idea. My son is graduating from University of Toronto's computer science this spring so I better get him started on a project for me soon before he moves off to make his millions!
     
    gdavis67 likes this.
  13. douglee25

    douglee25 Well-Known Member

    Jan 13, 2008
    Dallas, TX
    Cruisers 3575
    Twin 7.4l
    Can you post some details of this system? Pictures or videos?
     
  14. West32

    West32 Active Member SILVER Sponsor

    102
    May 24, 2017
    Racine
    1999 Sea Ray 370 EC Hardtop
    Raymarine Axiom Pro system, AP, Radar, VHF, Fox Marine Engine Monitor
    Twin Mercruiser 454 Horizon 380 hp
    Unfortunately, I do not have any pictures. The system was modeled after "Boat Command" - https://boatcommand.com. It looks like a Black Box in the bilge. I have a wire running from 2 of my bilge pump float switches, a wire running up to a Snap Switch https://sirenmarine.com/products/canvas-snap-cover-sensor and a wire running from each battery to home made battery voltage sensor. The system looks at these inputs and sends me an email. Simple down and dirty, but effective. And No monthly fees.
     
  15. douglee25

    douglee25 Well-Known Member

    Jan 13, 2008
    Dallas, TX
    Cruisers 3575
    Twin 7.4l
    Interesting. I like it!
     
  16. DaleM

    DaleM Member

    636
    Aug 5, 2009
    Mt Airy, MD
    340 Sundancer
    Twin 8.1 Horizons
    The battery voltage sensor was on my mind and then I saw your post. What did you use? I want to do the same so I can monitor each battery in each bank separately. I assume you need to separate them out with a diode to somehow. I was looking around for some Arduino shields that might be able to do voltage readings quick and easy.
     
  17. West32

    West32 Active Member SILVER Sponsor

    102
    May 24, 2017
    Racine
    1999 Sea Ray 370 EC Hardtop
    Raymarine Axiom Pro system, AP, Radar, VHF, Fox Marine Engine Monitor
    Twin Mercruiser 454 Horizon 380 hp

Share This Page

Show Sidebar