Projet of PH Sensor for swimming pool

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
tocks
Normal user
Posts: 12
Joined: 27 Apr 2016, 09:21

Projet of PH Sensor for swimming pool

#1 Post by tocks » 30 Apr 2016, 12:21

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

tocks
Normal user
Posts: 12
Joined: 27 Apr 2016, 09:21

Re: Projet of PH Sensor for swimming pool

#2 Post by tocks » 30 Apr 2016, 16:53

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

Deennoo
Normal user
Posts: 158
Joined: 07 Sep 2015, 13:03

Re: Projet of PH Sensor for swimming pool

#3 Post by Deennoo » 03 May 2016, 11:00

Got the same project as you.

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

User avatar
bertrand
Normal user
Posts: 24
Joined: 30 Jun 2016, 10:22
Location: Hong Kong

Re: Projet of PH Sensor for swimming pool

#4 Post by bertrand » 21 Sep 2016, 13:16

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

sel303
New user
Posts: 8
Joined: 19 Oct 2016, 12:09

Re: Projet of PH Sensor for swimming pool

#5 Post by sel303 » 21 Oct 2016, 00:18

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

sel303
New user
Posts: 8
Joined: 19 Oct 2016, 12:09

Re: Projet of PH Sensor for swimming pool

#6 Post by sel303 » 21 Oct 2016, 13:43

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.

User avatar
bertrand
Normal user
Posts: 24
Joined: 30 Jun 2016, 10:22
Location: Hong Kong

Re: Projet of PH Sensor for swimming pool

#7 Post by bertrand » 24 Oct 2016, 17:01

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...

sel303
New user
Posts: 8
Joined: 19 Oct 2016, 12:09

Re: Projet of PH Sensor for swimming pool

#8 Post by sel303 » 28 Oct 2016, 15:01

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.

User avatar
bertrand
Normal user
Posts: 24
Joined: 30 Jun 2016, 10:22
Location: Hong Kong

Re: Projet of PH Sensor for swimming pool

#9 Post by bertrand » 30 Oct 2016, 05:17

SparkysWidgets just notified the shipment so let's see in 2 weeks !

sel303
New user
Posts: 8
Joined: 19 Oct 2016, 12:09

Re: Projet of PH Sensor for swimming pool

#10 Post by sel303 » 30 Oct 2016, 21:29

The sparky boards are i2c also arnt they?

battika
Normal user
Posts: 10
Joined: 15 May 2016, 14:17

Re: Projet of PH Sensor for swimming pool

#11 Post by battika » 01 Nov 2016, 18:16

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.

User avatar
bertrand
Normal user
Posts: 24
Joined: 30 Jun 2016, 10:22
Location: Hong Kong

Re: Projet of PH Sensor for swimming pool

#12 Post by bertrand » 14 Nov 2016, 15:21

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.

sel303
New user
Posts: 8
Joined: 19 Oct 2016, 12:09

Re: Projet of PH Sensor for swimming pool

#13 Post by sel303 » 25 Nov 2016, 08:19

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.

nowd1976
New user
Posts: 1
Joined: 23 Jul 2018, 01:30

Re: Projet of PH Sensor for swimming pool

#14 Post by nowd1976 » 29 Jul 2018, 20:29

thanks
Last edited by nowd1976 on 26 Sep 2018, 19:59, edited 1 time in total.

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: Projet of PH Sensor for swimming pool

#15 Post by Shardan » 30 Jul 2018, 18:49

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 17927 times


Regards
Shardan
Regards
Shardan

TD-er
Core team member
Posts: 8607
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Projet of PH Sensor for swimming pool

#16 Post by TD-er » 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?

randytsuch
Normal user
Posts: 33
Joined: 05 Jun 2017, 05:32

Re: Projet of PH Sensor for swimming pool

#17 Post by randytsuch » 31 Jul 2018, 17:01

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

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: Projet of PH Sensor for swimming pool

#18 Post by Shardan » 31 Jul 2018, 20:07

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 17893 times
Regards
Shardan

alli21
New user
Posts: 1
Joined: 03 Jan 2019, 18:26

Re: Projet of PH Sensor for swimming pool

#19 Post by alli21 » 03 Jan 2019, 18:39

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

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests