Page 1 of 1

Projet of PH Sensor for swimming pool

Posted: 30 Apr 2016, 12:21
by tocks
Hello,

I want to realize a PH sensor for my swiming pool.

My first answer is : THe sensor type PH is in ESPeasy ?

can you point me to a compatible sensor?

Thanks

Re: Projet of PH Sensor for swimming pool

Posted: 30 Apr 2016, 16:53
by tocks
I think buy this product

1) TH sensor : http://fr.aliexpress.com/item/BNC-Elect ... 267.rkk6nU

2) Module connecor : http://fr.aliexpress.com/item/Liquid-PH ... 261.rkk6nU

What do you think about this.

This two product are correct for Wemos ?

Thanks

Re: Projet of PH Sensor for swimming pool

Posted: 03 May 2016, 11:00
by Deennoo
Got the same project as you.

Got the same product on my basket, waiting for sourcing more element before buy them

Re: Projet of PH Sensor for swimming pool

Posted: 21 Sep 2016, 13:16
by bertrand
The problem with these probes is that they are not supposed to stay immersed for a long period of time... You'll need a proper industrial probe.
https://fr.aliexpress.com/item/High-qua ... .51.6HptlQ

https://world.taobao.com/item/529548354 ... .37.1MnJBW

Re: Projet of PH Sensor for swimming pool

Posted: 21 Oct 2016, 00:18
by sel303
I got this board and sensor
https://www.dfrobot.com/index.php?route ... ct_id=1110
Seems to work pretty good with an arduino TKLCD.
I just cant figure out how im going to connect it to either directly to a ESP or Ideally serial connection from the TKLCD to a ESP unit. Is it possible to do with ESPeasy? It runs at 5v

Re: Projet of PH Sensor for swimming pool

Posted: 21 Oct 2016, 13:43
by sel303
The most luck ive had so far was trying to connect the two through i2c using the 'ProMini Extender" but the readings are completely off. I i'm thinking I need to get the code a little more polished on the Leo board.

Re: Projet of PH Sensor for swimming pool

Posted: 24 Oct 2016, 17:01
by bertrand
I really need to make it work...

I tried to get pH & EC boards on Tindie but all the shops are on back order (Sparkyswidget, Cyberplant, DormantLabsm etc...) and worse: they don't reply emails...

I might give a run and order some PCBs...

Re: Projet of PH Sensor for swimming pool

Posted: 28 Oct 2016, 15:01
by sel303
DFrobot board and PH industrial sensor seem decent, especially for 50bux, shipping was also very quick. I'm still having trouble getting the code to work.

Re: Projet of PH Sensor for swimming pool

Posted: 30 Oct 2016, 05:17
by bertrand
SparkysWidgets just notified the shipment so let's see in 2 weeks !

Re: Projet of PH Sensor for swimming pool

Posted: 30 Oct 2016, 21:29
by sel303
The sparky boards are i2c also arnt they?

Re: Projet of PH Sensor for swimming pool

Posted: 01 Nov 2016, 18:16
by battika
I bought the PH sensor module and probe in post 2 last summer, managed to find some info regarding calibration so bought three different buffer liquid and calibrated it at 25 Celsius. Then built a super basic system that posts PH value every 15 minutes at Thingspeak and placed it next to the pool. The problem is the module does not have auto compensation for temperature and I did not find anything regarding how to take temperature into account. So, the readings were very different during the day (around PH6) and during the night (PH7) :lol:

So, it was not possible to trust the readings so I gave up on this project. Hope you guys will have better luck with your sensors.

Re: Projet of PH Sensor for swimming pool

Posted: 14 Nov 2016, 15:21
by bertrand
sel303 wrote:The sparky boards are i2c also arnt they?
Yep, that makes it easy to have one node that reads all your water parameters:
pH, EC, Temp... and if you're into Ions, then you can add more probes.

Re: Projet of PH Sensor for swimming pool

Posted: 25 Nov 2016, 08:19
by sel303
Anyone get further with this? Trying to get the i2c to read acurate numbers started to take time away from other projects. I'm thinking about getting the Atlas board.

Re: Projet of PH Sensor for swimming pool

Posted: 29 Jul 2018, 20:29
by nowd1976
thanks

Re: Projet of PH Sensor for swimming pool

Posted: 30 Jul 2018, 18:49
by Shardan
A word about temperatur compensation with pH probes.

Some basics:
Usually it is said that pH probes should be calibrated with buffer solutions at 25°C.
This is not really correct, it is just the usual compromise so the buffer solutions are made for use at 25°C.
Beware: Buffer solutions vary their pH value with temperature too!

For really exact pH gauging the solution should have the same temperature as the water you want to check.
Remeber you have to use buffer solutions made for this temperature - makes things somewhat complex.

To make things even more complex:
If you want to meter values above ph7 you have to calibrate with ph7 buffer and pH 9 or pH 10 buffer.
If you want to meter values below ph7 you have to calibrate with ph7 buffer and pH 4 buffer.
The output curve of the probe differs between above / below pH7 slightly.

The temperature compensation depends on 2 factors.
- The deviation of the temperature (for example calibrated at 25°C, gauging at 15°C)
- Deviation of the pH value from the neutral point (pH 7).

On pH7 you don't have any temperature deviation. If water has pH 7, it has pH7 at 10°C and it has pH 7 at 50°C.

For a pool or a fishtank the temperature deviation usually is negligible.

Let me give an example.
Requierement: You calibrated your pH probe at 25°C.

Your fishtank or your pool shows a pH of 6 at 25°.
What pH would be shown without temperature compensation if you raise or lower the temperature by 20°C?
At 5°C it would show pH 5.93. (Difference -0.07 pH)
At 45°C it would show pH 6.07. (Difference +0.07 pH)

Lets say at 25°C you see pH 5.
At 5°C it would show pH 4.86. (Difference -0.14 pH)
At 45°C it would show pH .14. (Difference +0.14 pH)

As you can see temperature compensation is not the most important thing for most home users.

Anyways, you may simply use a DS18B20 waterpoof sensor and calculate the temperature compensation
with a rule.
A table with some compensation values is shown in the attached picture.
left column shows deviation from calibration temperature.
(Sadly picture is in German language, but the table should be clear enough).
temp-pH.jpg
temp-pH.jpg (489.75 KiB) Viewed 18231 times


Regards
Shardan

Re: Projet of PH Sensor for swimming pool

Posted: 30 Jul 2018, 23:02
by TD-er
But then the question is: How to waterproof your sensor for a pH far from neutral? :0
Or do you just measure the glass containing the concentration?

Re: Projet of PH Sensor for swimming pool

Posted: 31 Jul 2018, 17:01
by randytsuch
Have you guys seen this project?
http://www.domoticz.com/forum/viewtopic ... a1736e75e2

He provides lots of information.

I've thought about trying to implement a chlorine sensor for my pool, but haven't make any progress yet.

Randy

Re: Projet of PH Sensor for swimming pool

Posted: 31 Jul 2018, 20:07
by Shardan
TD-er wrote: 30 Jul 2018, 23:02 But then the question is: How to waterproof your sensor for a pH far from neutral? :0
Or do you just measure the glass containing the concentration?
No problem. pH-probes are cabled sensors so the electronics can be somewhat distant to the probe itself.
Electronics should be mounted in a IP65 waterproof case.

More industrial solution: There are glands for pH probes in the market similiar to cable glands.
These glands can be fixed to a tube where the liquid is flowing.
100_4820.JPG
100_4820.JPG (10.8 KiB) Viewed 18197 times

Re: Projet of PH Sensor for swimming pool

Posted: 03 Jan 2019, 18:39
by alli21
Hello Guys,

I am having a swimming pool at my house. I have not so much knowledge about the PH sensor. Can anyone tell me something about this? Is it a necessary equipment to be installed in the swimming pool? Please help me with this.

Thanks