Become a TFP Supporter Pool Math Forum Rules Pool School
Results 1 to 11 of 11

Thread: Custom Automation - Arduino

  1. Back To Top    #1

    Join Date
    Apr 2015
    Location
    Mississauga, ON, Canada
    Posts
    49

    Custom Automation - Arduino

    So I recently installed a MaxFlo VS pump. The pump has the ability to be controlled via external relays, which got me thinking about how I could integrate the pool with the existing Insteon automation I already have in the house.

    My plan is to have a local controller at the pump, which will have
    - A button to activate the remote stop switch that the pump supports
    - 4 buttons to activate 4 different speeds.
    - A button to control the heater on /off
    - A button to control the pool light on /off.

    I'll run this all with an Arduino.

    The cooler part will be integrating this with the rest of the automation.
    I use OpenHab as my automation controller, and it supports the MQTT message bus protocol.
    I'll get an Ethernet shield for the Arduino, and use MQTT to communicate.
    OpenHab also supports Apple Homekit, so I should be able to control the pool directly form my iPhone, or via Siri.

    Let me know if this sounds cool, and I'll post updates as I go.

    The first question I have is regarding the 12VDC power supply that's available in the MaxFlo VS pump. The manual indicates that it can be used as a power supply to activate the relays for the speed control. I wonder how much current it can supply. Maybe I can use that 12V supply to power my control panel. Though the Arduino, plus ethernet, plus relays, plus LCD screen may be a 500-600 mA draw.

    Anyone have any experience with this external relay control?

    Thanks
    13K gal 18'x36', IG vinyl, Hayward MaxFlo SP23520VSP Pump, Hayward pro series sand filter, Hayward Aquarite SWG, Raypack R266 NG Heater, Dolphin Premium (S300i) Robot, Custom controller (in progress)

  2. Back To Top    #2
    foobert's Avatar
    Join Date
    Jul 2013
    Location
    Bay Area, CA
    Posts
    143

    Re: Custom Automation - Arduino

    Just out of curiosity, why use an Arduino over a Raspberry Pi?

    Although I've been side tracked w/ work and life lately, I'll eventually get around to finishing this.

    I can't speak to the specifics of your pump, but, I'd be very suspect of drawing 0.6A off your pump's power supply unless they've clearly documented this is within the limits of it and you fused it with a fast-blow fuse. It's going to be a very expense if Ohhh #$% moment if you accidentally short something out.

    I'm powering my setup with an off-the-shelf 12V supply capable of 3A current ($8 on Amazon) and a 5-volt step-down buck converter for the Pi.
    ~john
    24.5K G, pebble, SuperFlo VS 1.5, 48sq DE filter, Hayward H250FDN, Autopilot RC-52, Poolvergnuegen & 3 daily swimmers in season.

  3. Back To Top    #3

    Join Date
    Apr 2015
    Location
    Mississauga, ON, Canada
    Posts
    49

    Re: Custom Automation - Arduino

    Why Arduino? - Mostly because I haven't used it before and want to give it a try.
    I do have a raspberry Pi running the OpenHab/Insteon setup.

    I think you're probably right about drawing that much power, it's more about me not wanting to run another conduit for the power, but that's what I'll end up doing.

    The step down you mention is a good idea, I'll need a 5V supply to run the LCD directly. The Arduino takes 12V in without any trouble.
    This one looks particularly small and nice : UBEC DC/DC Step-Down (Buck) Converter - 5V @ 3A output ID: 1385 - $9.95 : Adafruit Industries, Unique fun DIY electronics and kits
    Though my options on amazon.ca are more limited.
    13K gal 18'x36', IG vinyl, Hayward MaxFlo SP23520VSP Pump, Hayward pro series sand filter, Hayward Aquarite SWG, Raypack R266 NG Heater, Dolphin Premium (S300i) Robot, Custom controller (in progress)

  4. Back To Top    #4

    Join Date
    Apr 2015
    Location
    Mississauga, ON, Canada
    Posts
    49

    Re: Custom Automation - Arduino

    I'm in full prototyping mode now.






    13K gal 18'x36', IG vinyl, Hayward MaxFlo SP23520VSP Pump, Hayward pro series sand filter, Hayward Aquarite SWG, Raypack R266 NG Heater, Dolphin Premium (S300i) Robot, Custom controller (in progress)

  5. Back To Top    #5

    Join Date
    Mar 2008
    Location
    Los Angeles, Ca
    Posts
    252

    Re: Custom Automation - Arduino

    I'm planning to do something similar with my new Maxflo pump, so will be curious to see how your project goes.
    25,000 gal fiberglass pool, Raypak 336k BTU low nox RP 2100 gas heater, Pentair CCP520 520 sq ft Cart filter, Max-Flo VS2303VSP pump, diy control and automation system

    seperate spa, with own pump, cartridge filter, Hayward H200FDN heater, diy control and automation system

  6. Back To Top    #6

    Join Date
    Apr 2015
    Location
    Mississauga, ON, Canada
    Posts
    49

    Re: Custom Automation - Arduino

    Mounted the screen and power converters to the 3D printed front panel.

    Next up is mounting the Arduino, circuit board, and relay board in the enclosure.







    13K gal 18'x36', IG vinyl, Hayward MaxFlo SP23520VSP Pump, Hayward pro series sand filter, Hayward Aquarite SWG, Raypack R266 NG Heater, Dolphin Premium (S300i) Robot, Custom controller (in progress)

  7. Back To Top    #7

    Join Date
    Mar 2008
    Location
    Los Angeles, Ca
    Posts
    252

    Re: Custom Automation - Arduino

    Wow, looks really nice
    I already know whatever I do will look garage shop by comparison.
    25,000 gal fiberglass pool, Raypak 336k BTU low nox RP 2100 gas heater, Pentair CCP520 520 sq ft Cart filter, Max-Flo VS2303VSP pump, diy control and automation system

    seperate spa, with own pump, cartridge filter, Hayward H200FDN heater, diy control and automation system

  8. Back To Top    #8

    Join Date
    May 2012
    Location
    Toronto, ON
    Posts
    472

    Re: Custom Automation - Arduino

    Keep us up to date on how it works out for you. I would love to get my pool more automated but the price that you pay for some of the systems like Jandy Aqualink, etc is stupidly expensive for the functionality that it gives you, especially considering that you could hack it together with hardware worth about $15 with a RPi and a couple of relays. Whenever I look at buying the automation interfaces it seems to cost about $1000 in CAD.
    Vinyl 18'x36' in-ground 100,000 L, Jandy Aquapure 1400 SWCG, Jandy Lite2 heater, StaRite System3 filter, Evac tube solar heating panels

  9. Back To Top    #9

    Join Date
    Apr 2015
    Location
    Mississauga, ON, Canada
    Posts
    49

    Custom Automation - Arduino

    Finally got the unit installed outside, it was a real pain to fit in the box, wish I had an extra inch of depth on it.

    If I want to update the program on the arduino, I'll have to open it up, and connect to my laptop to program it.





    13K gal 18'x36', IG vinyl, Hayward MaxFlo SP23520VSP Pump, Hayward pro series sand filter, Hayward Aquarite SWG, Raypack R266 NG Heater, Dolphin Premium (S300i) Robot, Custom controller (in progress)

  10. Back To Top    #10

    Join Date
    Dec 2017
    Location
    punta gorda
    Posts
    1

    Re: Custom Automation - Arduino

    Neat project. I like the case, similar to what I made for my last house except it wasnt an outdoor enclosure.

    I used the beaglebone and built an android app it control it.

    This time around I will keep the app the same but use a chip micro controller and build an alexa skill for voice control.

    Do you have an app or is it just button control?

  11. Back To Top    #11

    Join Date
    Apr 2015
    Location
    Mississauga, ON, Canada
    Posts
    49

    Re: Custom Automation - Arduino

    I've got it connected to my home automation platform OpenHab, this gives the ability to control via app on the phone, or HomeKit, or Alexa.

    /m
    13K gal 18'x36', IG vinyl, Hayward MaxFlo SP23520VSP Pump, Hayward pro series sand filter, Hayward Aquarite SWG, Raypack R266 NG Heater, Dolphin Premium (S300i) Robot, Custom controller (in progress)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •