Page 3 of 4

Re: Water (Pool) Temperature Sensor

Posted: Friday 11 May 2018 10:59
by aleph0
@multinet :
You can forget the 10k pull-up on the flowmeter, nothing change if it's there or not. I also advise NOT to use this flowmeter solution with a wemos as it creates a lot of reboot and I cannot find the reason for it. it's fine to use it with a *-Pi, but not with a wemos. Use a pressure sensor instead, it's easier to get it work reliably.

To link the dosing pumps to the pool, I'm using this kind of hardware : https://www.piscinemateriel.fr/traiteme ... ro-rx.html which is screwed in something like this https://www.piscinemateriel.fr/traiteme ... x1-2-.html It's a french only site, but I guess you can find the equivalent in any swimming pool shop

Custom sensors are fine for pH and ORP, that's what I'm using too

Re: Water (Pool) Temperature Sensor

Posted: Friday 11 May 2018 20:27
by multinet
Thanks Aleph for all you Help

unfortunatly I'm have a bug now : my sensors PH and Redox have value at the highest : 41 for ph and -9400 for redox

I remove the formula in wemos and i saw that value in mv are both at 65535 on wemos ads115 device page

I don't know why and i've checked all my links they seem OK

Do you have a trick to find where my bug could be. I've checked all my link they are OK
Capture d’écran 2018-05-11 à 20.26.19.jpg
Capture d’écran 2018-05-11 à 20.26.19.jpg (29.72 KiB) Viewed 4054 times
Multinet

Re: Water (Pool) Temperature Sensor

Posted: Friday 11 May 2018 22:26
by randytsuch
@aleph0
Thanks very much for the long, detailed reply.
Your results are very impressive. You should be proud of this system.

The issues with acid is why I don't plan to try adding an acid pump. I have a fiberglass pool, and don't have to add acid very often. If I could just automate chlorine, I would be very happy. I may get a ph probe later, to at least automate the ph checking and alert me when it's time to add acid.

Time to start collecting the pieces I will need to put this together.

Randy

Re: Water (Pool) Temperature Sensor

Posted: Wednesday 16 May 2018 10:37
by aleph0
@multinet

I've had this behavior then I first built my pcb. I was a very thin piece of copper who short circuit the SDA or SCL (can't remember) track to the ground. Something so thin that I had to use a magnifier to find it

Re: Water (Pool) Temperature Sensor

Posted: Saturday 23 June 2018 21:24
by multinet
Hello Aleph0

Installation done : ORP sensor + Ph sensor + flow meter

Great ! thank you

I've a question about your formula on pulse counter for flow meter : why to you divide the value by 31,5 ?

Myflow meter in not the YF DN40 but the YF DN 50 (https://fr.aliexpress.com/item/5pcs-G2- ... 6c37njiHiT) : should the formula be different ?

on domoticz i get 7,22l/min it seems very low

thank for your help
Multinet

Re: Water (Pool) Temperature Sensor

Posted: Saturday 23 June 2018 21:43
by aleph0
Yes, the formula depends on the flowmeter type. My experience with 3 different flowmeter is the formula given by the vendor of never the good one :-( They all need to be calibrated to give a meaningful value.

The method I used for that is to measure 10 or 20 liters in a tank, then pour them into the flowmeter with a funnel sealed on it and measure how many pulses I get. I calculate the calibration formula based on those measurement. The liquid need to be poured into the meter fast enough as the are not linear on low flowrates.

Re: Water (Pool) Temperature Sensor

Posted: Saturday 23 June 2018 21:54
by multinet
Thanks for your quick reply

Last question for today, is there a specific formula for the 5V on port #3 on ads1115 .

the %value% in this port is 25471 on my system

Re: Water (Pool) Temperature Sensor

Posted: Saturday 23 June 2018 22:11
by aleph0
Yes, but I'm not at home to check it. This feature is not very useful though ! I can give it to you on Monday

Re: Water (Pool) Temperature Sensor

Posted: Saturday 23 June 2018 22:50
by multinet
C'est bon j'ai trouvé :)

%value%/1000000*187.5

avec un gain à 2/3

Bon week end !

merci

Re: Water (Pool) Temperature Sensor

Posted: Friday 27 July 2018 17:16
by al300kr
Hello, i want to install only ORP sensor and Ph sensor. Could you please answer few questions?
1. For this installation i will need only:
- 2A 5V power supply for wemos and electronic
- wemos pro
- level shifter for conversion between 5V of sensors and 3.3V of wemos
- ADS1115 analog input card for pH and ORP measurments
- phidget 1130 card for pH and OPR aquisition
- generic pH probe from banggoods
- generic ORP probe from ebay
- calibration solutions for both pH and ORP
correct?
2. do you have links for OPR and PH probes, level shifter, ADS1115 and phidget 1130 card?
thanks.

Re: Water (Pool) Temperature Sensor

Posted: Monday 30 July 2018 8:41
by aleph0
Hello !

You're right for point 1, it's all you need ! Wemos pro was chosen because I need external antenna. If you can cope with internal antenna, wemos d1 mini is enough

2. links :
- ORP probe : https://www.aliexpress.com/item/ORP-oxi ... 2e0euzfE3x
- pH probe : https://www.banggood.com/BNC-Electrode- ... rehouse=CN
- level shifter : https://www.banggood.com/Logic-Level-Co ... rehouse=CN
- ads1115 : https://www.banggood.com/CJMCU-ADS1115- ... 86645.html
- phidget 1130 : https://www.gotronic.fr/art-adaptateur- ... -12112.htm

Re: Water (Pool) Temperature Sensor

Posted: Monday 27 August 2018 18:09
by al300kr
aleph0 wrote: Monday 30 July 2018 8:41 Hello !

You're right for point 1, it's all you need ! Wemos pro was chosen because I need external antenna. If you can cope with internal antenna, wemos d1 mini is enough
Thank you!!
please, could you recommend me also calibration ORP fluid?

Re: Water (Pool) Temperature Sensor

Posted: Thursday 17 October 2019 10:47
by Andyyyy
Hello aleph0 !
Great Poolproject.
I am also very interested to use it. did you some script for calibration ?
The 1130 phidgets workink correctly without analog signal isolation like this https://www.dfrobot.com/product-1621.html ?

Andyyyy

Re: Water (Pool) Temperature Sensor

Posted: Saturday 02 May 2020 12:32
by jeyf
hello
i have made the same system but i add DS18B20 sensors.
it works perfectly with 3 DS18B20 and phidget 1130 PH but when i ADD phidget 1130 ORP or pressure sensor on ADS1115 the DS18B20 disappear when the pump is on ...
do you have an idea?

Re: Water (Pool) Temperature Sensor

Posted: Saturday 02 May 2020 14:38
by Lenif
Hello,

I'm come here after google search dor DIY ph regulaton. Nice job ! That's exactly what i want to do for my pool

For those who carried out this project, is it still in service? stable? effective?
Before making the necessary purchases, I wanted advice.
Thank you

Re: Water (Pool) Temperature Sensor

Posted: Saturday 02 May 2020 15:20
by aleph0
I would be curious too about other's experience. Here it's still operating. After having selected the right material for acid piping, it's been rock solid.

If I would make a v2, here are the things I'd change :
- Include water temperature measurement with 18ds20
- Include weighting of chlorine and acid tank for :
* more accurate dosing
* automatic calibration of dosing pump
* alerting when pump loose priming or when water goes back in tanks (defective anti-return device)
- Use venturi-based flow-meter instead of simple flow-meter as they are not reliable for intensive pumping

Re: Water (Pool) Temperature Sensor

Posted: Friday 15 May 2020 9:07
by Lenif
Hello aleph0,

Glad to see that it still works for you, I am in the construction phase of the swimming pool here, I use another solution than domoticz but it doesn't matter, the principle is the same. I am currently looking for the different types of equipment to install the probes.
I would like to start with an automatic PH regulator and reading of the temperature of the water leaving the filtration.
Did you also put an automatic chlorine regulator? What equipment did you use? Same as for the ph but with another probe?
Do you have a page or tutorial somewhere in French.

thank you,

Re: Water (Pool) Temperature Sensor

Posted: Saturday 16 May 2020 19:35
by aleph0
Did you also put an automatic chlorine regulator?
Yes ; I have a full setup filtration+pH+chlorine
Same as for the ph but with another probe?
Yes, an ORP probe connected to a dedicated phidget 1130 card
Same as for the ph but with another probe?
You can have a look at this topic in the french domoticz forum where we discussed and improve the pool management setup in domoticz with the community

Re: Water (Pool) Temperature Sensor

Posted: Saturday 23 May 2020 18:57
by Lenif
Thanks, See you there, in french :)

Re: Water (Pool) Temperature Sensor

Posted: Thursday 05 August 2021 15:12
by zierbeek
Hi all,

thank you for this project!

I have recently bought this ph sensor with the included bnc board : https://nl.aliexpress.com/item/10050016 ... 4c4duSIvfn

Also an ads1115 to connect it to my esp8266 without any issues. It should read fine.

I have read that it should be calibrated with the buffer solutions, so i bought these along. Some questions:

- The board has screws for calibration. Should i do this in espeasy or should i do it with the 2 screws (please a bit of explenation on the 2 screws.)
- The temperature has influence on the ph readings. Should i wire the ds18b20 directly on the bnc board to provide calibration?

Thanks!