Pool Control Unit

Motivation

Any extended period away from pool almost always result in pool turning green. Can remotely run the pump with common power control circuits, but without feedback of pH/Chlorine no way to tell what state the pool is in. And the pump settings/control has no remote features.

Goals

  • Measure temperature, water volume, salt, chlorine, pH
  • Controllable on/off of primary pump and chlorinator strength settings
  • Power and flow rates monitoring
  • All control / sensing feedback to smart home
  • Control acid / chlorine dosing for managing levels automatically
  • Future proofing for solar / heating loop

System Design

Basic plumbing loop with indicated sensor locations providing a non-interruptive parallel line for all sensing and dosing requirements. Sense/dose loop can therefore be isolated without effecting the existing pump/filtering loop. One PCB to add active control and feedback to the existing pump/chlorinator controller, and a second PCB for all sensors, communication and usb connection to other PCB.

https://2pz8uuzrbjqkggx8.public.blob.vercel-storage.com/images/projects/pool/pcu-plumbing-dtZ3eMnMZ0gjtwwmKWEu54aHdZuwIz.webp

Plumbing layout and sensor locations.

https://2pz8uuzrbjqkggx8.public.blob.vercel-storage.com/images/projects/pool/plumbing-cad-Qo4Q3xV36GoFVGV5Iti7O6c8v59yyN.webp

Physical hardware layout concept.

https://2pz8uuzrbjqkggx8.public.blob.vercel-storage.com/images/projects/pool/pcu-render-front-u88J3sZuu7XFWA5zB9oTm19E2CnNqu.webp

PCB for hacking existing chlorinator and pump controller. Provides USB access with all sensing and control overrides.

Electrical

Inside the Pump controller

  • LEDS sensing - 14 total - 2 for errors, 3 for mode, 8 for chlorine strength, 1 for backwash.
  • Switches - 4 total - 1 for mode, 2 for chlorine strength, 1 for backwash.
  • STM custom PCB. 20+ io total. Comms to second unit.
  • Temp sensor?

Existing PCB notes for interfacing https://datasheet4u.com/pdf-down/9/A/1/9A103J_CinetechIndustrial.pdf 2 x 9A103J res networks for switches - 9 pins, 10x10^3 10kOhms, +-5%, A=common 5V 2 x 9A102J res net for leds - 9 pins, 10x10^2 1kOhms, +-5%, A=common 5V

https://www.ti.com/general/docs/suppproductinfo.tsp?distId=10&gotoUrl=https%3A%2F%2Fwww.ti.com%2Flit%2Fgpn%2Fsn74hc165 2 x SN74HC165N for sw Switches are all hooked into 8-bit parellel in series serial out setup. 5V high by default, switches pull to ground. To replicate this, need to pull that line to ground.

https://www.st.com/resource/en/datasheet/hcf4094.pdf 2 x HCF4094BE for leds

Inside the Pump house

Plumbing Supplies

Check PCU.drawio for loop setup

Calculations

Pump generates 10psi pressure. 1HP. Main pipe 50mm diameter.