OpenSprinkler › Forums › Comments, Suggestions, Requests › Using OSPI as a Pool Chemistry Monitor
- This topic is empty.
-
AuthorPosts
-
August 12, 2013 at 11:59 pm #22596
BpmerkelMemberI’ve been shopping around and collecting thoughts and parts lists to assemble an RPi Data Logger for Pool Chemistry (namely pH, Oxidation Reduction Potential, Temperature, ambient Temperature, maybe sunlight exposure.) I’m lovin’ the OSPI platform with the 24VAC -> 5VDC conversion, Real Time Clock, triacs (in case I actually want to control pumps, valves, etc.), enclosure, and now four Analog inputs (and an output). I’ve seen similar projects for the Arduino that are less palatable–as I prefer the power of a full OS, WiFi, remote login, web server, programming languages, and the massive community support around Linux.
Sensors abound for pH and ORP, as well as temperature probes, light, and digital temperature chips. I think the OSPI platform is the perfect starting point for this integration–removing much of the trial and error design and testing for A-to-D converters, RTCs, 24VAC->5DC transformers with enough power for WiFi, etc.
My goal at first would be to integrate it into Xively to data log to the cloud via WiFi… so I can chart and monitor by the Xively mobile app (and maybe send an alert notification when I need to add salt, shock, acid, stabilizer, etc.)
I think this would be a great project and generate a lot of interest for spa and pool owners the world over… and perhaps branch out to other water-chemistry monitoring (fish tanks: salt water and fresh water, etc.) Could this be a new branch of Ray’s and the OpenSprinkler Community’s awesome work?
Thoughts?
August 13, 2013 at 2:07 pm #25329
SamerKeymasterI think this would be a cool project if you could provide suggested modules to attach to the Raspberry Pi + OSPi. I know I would be interested in this but I know nothing about the various hardware used to accomplish what you are suggesting nor do I know how I would hook them up.
Is this something that would make managing a pool easier? Or just a way to give you extra information? If so, how?
I think if you can find a way to make some instructions and get the hardware working properly I would be open to making a mobile front-end for it.
Thanks!
August 13, 2013 at 7:50 pm #25330
BpmerkelMemberMy goal for version 1 is to simply automate the monitoring of my pool’s chemistry over time (mine is a saltwater pool and spa).
Basically I want to be proactive and forewarned rather than my current reactive approach to pool chemistry
management (wait until my wife tells me there’s algae growing :-). If there was a constant data feed (say, to Xively),
then I could better predict when levels call for manual intervention (add salt, add stabilizer, add acid, etc.)
I’m not sure about the alerts or chart color variation available from Xively, but it would be cool to color the
charts green, yellow, orange, and red based on intervention required (green = all good; yellow = you have two weeks to do something;
orange = one week to do something; red = you are too late, don’t go swimming until you’re back to green!)Here are some notes and links that I’ve collected so far:
- Other projects:
- The Open Spa Monitor (SpaSitter) Arduino project
http://openspamonitor.blogspot.com/
(unpublished design, no pre-assembled hardware integration offered like OSPi) - Salt Water Aquarium (“Reef Keeping”) Forums
http://www.reefcentral.com/forums/showthread.php?t=1968389
http://www.ultimatereef.net/forums/showthread.php?t=545407&page=13
(growing movement for RPi for aquarium water chemistry management) - Polysensor
http://www.dil.iitb.ac.in/poly/project_details.htm - Jarduino
https://code.google.com/p/jarduino-aquarium-controller/ - Myron L hand-held water quality meter:
http://www.isopurewater.com/Myron-L-6PIIFC-Ultrameter-II-Meter-Conductivity-TDS-Resistivity-pH-ORPFree-Chlorine-Temperature_p_5760.html
- The Open Spa Monitor (SpaSitter) Arduino project
- Sensors:
- ORP/pH sensors on Phidget:
http://www.phidgets.com/products.php?category=36 - ORP/pH sensors from Atlas Scientific:
https://www.atlas-scientific.com/product_pages/sensors/orp-sensor.html
https://www.atlas-scientific.com/product_pages/sensors/ph-sensor.html - Light Photo Cell and Temperature sensors (digital preferred, as we only have 4 A/D “ports”):
http://chicagodist.com/products/waterproof-ds18b20-temperature-sensor-for-raspberry-pi-arduino
http://www.adafruit.com/products/161#Description
http://microcontrollershop.com/product_info.php?products_id=4408 - DrDaq Data Logger board (interesting add-on board with lots of sensors and A/D capability:
http://www.drdaq.com/
- ORP/pH sensors on Phidget:
- ORP for Pool Water Quality information:
- Using ORP and pH for pool chemistry monitoring background:
http://www.rhtubs.com/ORP.htm
http://www.eutechinst.com/techtips/tech-tips27.htm
http://www.myronl.com/PDF/application_bulletins/orp_ab.pdf
http://www.gfsignet.com/go/?action=GF_DocumentDownload&doc_uuid=4A79220919993E1D34532B2B8A683C6DThe most ubiquitous and cost-effective sanitizing agent used in disinfection systems is chlorine.
When chlorine is used as the sanitizer, free chlorine measurements are required to ensure residual
levels high enough for ongoing bactericidal activity. The conversion of ORP measurements to free chlorine
is accurate when chlorine is the only oxidizing/reducing agent in solution and pH is stable between 5 and 9.
This pH range fits most applications because pH is usually maintained such that the most effective form of
free chlorine, hypochlorous acid, exists in the greatest concentration with respect to other variables such
as human tolerance.ORP (Oxidation Reduction Potential) or Redox is used in pool water treatment as an indication of sanitation
in relation to free chlorine parameter. ORP technology has gained recognition worldwide and is found to be a
reliable indicator of bacteriological water quality. Referencing a table that illustrates the kill time of
E.Coli bacteria as a function of ORP value: with a value of 600 mV, the life of the bacteria is almost 2 minutes; at 650 mV it reduces to 30 seconds;
above 700 mV the bacteria is killed within a few seconds. It is therefore necessary for the water to have an ORP value of at least 700 mV to ensure good water quality.
- Using ORP and pH for pool chemistry monitoring background:
- WiFi USB dongles for Raspberry Pi (not exhaustive):
I think OSPi would give me a fast start–all I’d need are the following:
- 1 Raspberry Pi Rev B 512MB board (’cause its the latest!)
- 1 WiFi USB dongle
- 1 OpenSprinklerPi v1.2 board (need those 4 A/D channels)
- 1 ORP sensor probe
- 1 pH sensor probe
just the analog probes, no interface cards required as they’ll connect directly to the OSPi A/D solder points - 1 temperature sensor probe (likely analog to connect to an A/D port like the other probes)
- 1 ambient temperature sensor (preferably digital in the box (maybe) so I don’t have to use an A/D port)
- 1 “sunlight” phot cell sensor (optional later integration, preferably digital so I don’t have to use an A/D port)
- 1 probe container or something to harness the three probes together for constant immersion in the pool water
- 3 BNC connectors to mount on the box to interface to the analog sensors
- For power, I would connect to my existing 24VAC feed going into my pool light controller
August 14, 2013 at 1:00 pm #25331
BpmerkelMemberOrdered my RPi this morning from Amazon.com with free shipping, complete with an 8GB Class 10 SDHC Flash Memory Card and a WiFi USB adapter with high-gain antenna (same as the Adafruit one, but $10 less from China).
The shopping list now looks like the following (bold = purchased):
- 1 OpenSprinklerPi v1.2 board (need those 4 A/D channels)
- 1 ORP sensor probe
- 1 pH sensor probe
just the analog probes, no interface cards required as they’ll connect through the BNC connectors to the OSPi A/D solder points - 1 temperature sensor probe (likely analog to connect to an A/D port like the other probes)
- 1 ambient temperature sensor (preferably digital in the box (maybe) so I don’t have to use an A/D port)
- 1 “sunlight” phot cell sensor (optional later integration, preferably digital so I don’t have to use an A/D port)
- 1 probe container or something to harness the three probes together for constant immersion in the pool water
- 3 BNC connectors to mount on the box to interface to the analog sensors
- 1 Xively.com account for data collection in the cloud and charting on my tablet
- 1 Raspberry Pi Rev B 512MB board (’cause its the latest!)
- 1 8GB Class 10 SDHC Flash Memory Card
- 1 WiFi USB dongle
- 1 USB Keyboard with built-in USB hub (already have plenty of these)
- 1 USB Mouse (already have)
- 1 Monitor w/HDMI input (already have)
- 1 WiFi access point with internet connection (already have)
- For power, I would connect to my existing 24VAC feed going into my pool light controller
I need a name for the project… any ideas? OpenWaterMonitorPi (OWMPi)? (I like the WM in the name–can likely turn that zig zag into a resistor or water wave design (or both! 🙂
March 29, 2014 at 1:23 pm #25332
buttercmMemberThis would be awesome! Do you need any development help?
Project name suggestions: waterbug, poolspy, pooly,
This would be great for fish tanks too.
July 11, 2014 at 8:41 pm #25333
waynerMemberAre you still working on this project at all?
Here is another idea that I think would be cool – put this in a waterproof case filled with solar electric cellsso that it would float on the pool surface and get powered by sunlight. Kind of like the Solar Breeze pool skimmer:
July 14, 2014 at 4:40 pm #25334
BpmerkelMemberI found this recently on Quirky: https://www.quirky.com/blog/post/2014/02/sync-and-swim-introducing-skipper/. It appears to be moving through the development stages and the initial price point appears very reasonable (~$20)!
August 23, 2014 at 8:03 pm #25335
baker195ParticipantWhat is the status of this pool chemistry project?
- Other projects:
-
AuthorPosts
- You must be logged in to reply to this topic.
OpenSprinkler › Forums › Comments, Suggestions, Requests › Using OSPI as a Pool Chemistry Monitor