Water (Pool) Temperature Sensor

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

aleph0
Posts: 85
Joined: Thursday 12 May 2016 15:47
Target OS: Linux
Domoticz version: 11838
Location: South of France
Contact:

Re: Water (Pool) Temperature Sensor

Post 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
multinet
Posts: 97
Joined: Friday 05 December 2014 22:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Water (Pool) Temperature Sensor

Post 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 3979 times
Multinet
PI 2 - Domoticz 2021.1
RFXCOM - RFXtrx433 USB 433.92MHz Transceiver (5 DIO 54755 + 2 DIO 54756 + 3 DIO 54798)
Z-Wave.Me ZME_UZB1 USB Stick (6 FGSD002 + 2 FGRM222 + 1 FGS223 + 1 FGMS001-ZW5 + 1 FGRGBWM441 + 1 FGBS001 + 2 FGFS101)
6 sondes DS18B20
randytsuch
Posts: 90
Joined: Sunday 20 March 2016 18:56
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: LA, Ca USA
Contact:

Re: Water (Pool) Temperature Sensor

Post 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
aleph0
Posts: 85
Joined: Thursday 12 May 2016 15:47
Target OS: Linux
Domoticz version: 11838
Location: South of France
Contact:

Re: Water (Pool) Temperature Sensor

Post 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
multinet
Posts: 97
Joined: Friday 05 December 2014 22:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Water (Pool) Temperature Sensor

Post 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
PI 2 - Domoticz 2021.1
RFXCOM - RFXtrx433 USB 433.92MHz Transceiver (5 DIO 54755 + 2 DIO 54756 + 3 DIO 54798)
Z-Wave.Me ZME_UZB1 USB Stick (6 FGSD002 + 2 FGRM222 + 1 FGS223 + 1 FGMS001-ZW5 + 1 FGRGBWM441 + 1 FGBS001 + 2 FGFS101)
6 sondes DS18B20
aleph0
Posts: 85
Joined: Thursday 12 May 2016 15:47
Target OS: Linux
Domoticz version: 11838
Location: South of France
Contact:

Re: Water (Pool) Temperature Sensor

Post 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.
multinet
Posts: 97
Joined: Friday 05 December 2014 22:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Water (Pool) Temperature Sensor

Post 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
PI 2 - Domoticz 2021.1
RFXCOM - RFXtrx433 USB 433.92MHz Transceiver (5 DIO 54755 + 2 DIO 54756 + 3 DIO 54798)
Z-Wave.Me ZME_UZB1 USB Stick (6 FGSD002 + 2 FGRM222 + 1 FGS223 + 1 FGMS001-ZW5 + 1 FGRGBWM441 + 1 FGBS001 + 2 FGFS101)
6 sondes DS18B20
aleph0
Posts: 85
Joined: Thursday 12 May 2016 15:47
Target OS: Linux
Domoticz version: 11838
Location: South of France
Contact:

Re: Water (Pool) Temperature Sensor

Post 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
multinet
Posts: 97
Joined: Friday 05 December 2014 22:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Water (Pool) Temperature Sensor

Post by multinet »

C'est bon j'ai trouvé :)

%value%/1000000*187.5

avec un gain à 2/3

Bon week end !

merci
PI 2 - Domoticz 2021.1
RFXCOM - RFXtrx433 USB 433.92MHz Transceiver (5 DIO 54755 + 2 DIO 54756 + 3 DIO 54798)
Z-Wave.Me ZME_UZB1 USB Stick (6 FGSD002 + 2 FGRM222 + 1 FGS223 + 1 FGMS001-ZW5 + 1 FGRGBWM441 + 1 FGBS001 + 2 FGFS101)
6 sondes DS18B20
al300kr
Posts: 12
Joined: Saturday 22 July 2017 13:50
Target OS: -
Domoticz version:
Contact:

Re: Water (Pool) Temperature Sensor

Post 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.
aleph0
Posts: 85
Joined: Thursday 12 May 2016 15:47
Target OS: Linux
Domoticz version: 11838
Location: South of France
Contact:

Re: Water (Pool) Temperature Sensor

Post 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
al300kr
Posts: 12
Joined: Saturday 22 July 2017 13:50
Target OS: -
Domoticz version:
Contact:

Re: Water (Pool) Temperature Sensor

Post 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?
Andyyyy
Posts: 29
Joined: Saturday 13 July 2013 23:46
Target OS: -
Domoticz version:
Contact:

Re: Water (Pool) Temperature Sensor

Post 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
jeyf
Posts: 1
Joined: Saturday 02 May 2020 12:27
Target OS: OS X
Domoticz version:
Contact:

Re: Water (Pool) Temperature Sensor

Post 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?
Lenif
Posts: 3
Joined: Saturday 02 May 2020 14:29
Target OS: Windows
Domoticz version:
Contact:

Re: Water (Pool) Temperature Sensor

Post 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
Last edited by Lenif on Saturday 09 May 2020 5:57, edited 1 time in total.
Lenif
Belgium (FR)
aleph0
Posts: 85
Joined: Thursday 12 May 2016 15:47
Target OS: Linux
Domoticz version: 11838
Location: South of France
Contact:

Re: Water (Pool) Temperature Sensor

Post 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
Lenif
Posts: 3
Joined: Saturday 02 May 2020 14:29
Target OS: Windows
Domoticz version:
Contact:

Re: Water (Pool) Temperature Sensor

Post 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,
Lenif
Belgium (FR)
aleph0
Posts: 85
Joined: Thursday 12 May 2016 15:47
Target OS: Linux
Domoticz version: 11838
Location: South of France
Contact:

Re: Water (Pool) Temperature Sensor

Post 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
Lenif
Posts: 3
Joined: Saturday 02 May 2020 14:29
Target OS: Windows
Domoticz version:
Contact:

Re: Water (Pool) Temperature Sensor

Post by Lenif »

Thanks, See you there, in french :)
Lenif
Belgium (FR)
zierbeek
Posts: 1
Joined: Thursday 05 August 2021 15:08
Target OS: -
Domoticz version:
Contact:

Re: Water (Pool) Temperature Sensor

Post 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!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest