UPDATE: This product has been replaced by its successor:
http://rezaalihussain.blogspot.com/2014/04/measuring-ph-using-dormant-labs-ph.html
Here is a quick setup guide to help you get started measuring ph using arduino.
http://rezaalihussain.blogspot.com/2014/04/measuring-ph-using-dormant-labs-ph.html
Here is a quick setup guide to help you get started measuring ph using arduino.
You will need:
- An Arduino
- Dormant Labs PH Shield (You can get this here http://www.tindie.com/products/rezahussain/arduino-ph-shield-by-dormant-labs/)
- A ph probe, any ph probe with a bnc connector will work. Here are some I recommend if you do not have a ph probe, PHE-1304-U, PHE-1311, PHE-7357-10. I use the threaded PHE-7357-10 in my setup. I have used several ebay probes and they also work well.
- 7.0, 4.0 ph calibration fluid. Part numbers PHA-4 and PHA-7 from omega are good. You can also get PH 7.0 and 4.0 calibration fluid from your local pet store in the aquarium section.
- three small cups to hold the calibration fluid and water to rinse the probe
1. Take your arduino and insert the ph shield on top of it.
2. Connect your PH Probe to the shield.
3. Download the Arduino Dormant Labs PH Shield Sketch , open it in the arduino IDE, and then upload. If you do not have the Arduino IDE installed, go to the Arduino site. Make sure you are using arduino IDE 1.0 or higher.
4. After uploading, open the serial monitor. The button is in the top right hand side of the Arduino IDE. It should start showing scrolling text similar to below. Don't worry about the values yet, they will be correct once we calibrate the ph probe. Leave this serial monitor window open on your computer.
5. Pour the 7.0 calibration solution into one cup, the 4.0 calibration solution into a second cup, and tap water into the third.
6. Start by rinsing your ph probe in the tap water.
7. Now immerse the tip of the probe into your 7.0 calibration solution. Swirl it around for 10 seconds, then press the calibrate button on the ph shield.
8. Now re-rinse the probe in the water.
9. Now immerse the probe in the 4.0 calibration fluid, swirl around for 10 seconds, and then press the calibrate button.
10. Your ph shield is now calibrated! The serial monitor in the arduino ide now will show correct information. You can now alter the sketch however you like.
Hello,
ReplyDeleteThanks for posting this tutorial. Could you use any of the probes that you listed for measuring pH in soil?
Hello, you can measure the ph of soil with those probe by using a 'soil solution' (mixing soil with water and then measuring). You might be able to use this however. http://www.getbluelab.com/shop/Bluelab+Soil+pH+Probe.html
DeleteCAN I USE THIS WITH A NANO AND A MEGA OR IS IT JUST FOR THE UNO?
ReplyDeleteHello, you can use it with UNO and Mega, I am working on a new version that will be compatible with all microcontrollers
DeleteHi! I got one set up. But how do I connect the LCD shield like the one shown with the LCD 5110 shield? I am flywiring it with sparkfun LCD. Could you please advice ASAP? Thank you very much!
ReplyDeleteHello, can you link the lcd that you are using?
Deletehttps://www.sparkfun.com/products/9054
DeleteThis is the LCD that I am using. I did try to configure it to work somehow, but I can't figure out how to make it display calibration status or instructions...
The program appears to be related to temperature... does it require a temperature sensor also? If so how is it connected to it?
DeleteHello, the board has an onboard temperature sensor that measures ambient temp.
DeleteYou should start by printing out what goes to the arduino console to the lcd and then work up from there. Displaying calibration status, you would have to code that functionality.
I have been on the waiting list for one of these for several weeks now. how long till you start shipping out as i really can't wait much longer and will have to purchase from some other supply?
DeleteHello John,
DeleteYou should purchase from another supply if your project is time critical. Version 1 of this module will not re-enter production. Version 2 is still in the R&D phase.
Can you tell me about the V2 What extras it has ?
DeleteAlso the R1 has a temperature sensor does this measure the outside air temperature or the water temperature?
last Q how long till the V2 is out ?
Thanks
The Planned List For V2 is
Delete-I2C communication
-Higher precision / Noise immunity
-Galvanic isolation
-Module form factor instead of shield
V1 has an ambient air temperature sensor.
I can't say when V2 will be out, a conservative estimate is sometime in Jan or Feb 2014.
V2 has entered production as of mid february 2014, I'm just waiting to get them in my hands now.
DeleteThanks so much for your documentation on this, best I have found so far. I was wondering if you had any experience setting up the PH readings output to a web server or a spreadsheet for future use?
ReplyDeleteHello Miles,
DeleteI do know how, and plan to make a tutorial this weekend if everything goes right :)
Well I guess I am still waiting for my parts to arrive
Deletepesky parts :)
ReplyDeleteMine are arriving next week. Hopefully things go well.
Hey Reza!
ReplyDeleteI remember a while back you had a post using the pH Shield in conjunction with an old peristaltic pump to control dosing (pH) levels. I have been looking for it and I haven't been able to find it in your archives. Is there anyway I could take a look at that tutorial again?
Thank you for time and efforts. Great work!
Best,
Eric
Thanks Eric!
Deleteyes, it should be right here: http://rezaalihussain.blogspot.com/2013/02/diy-arduino-ph-controller-tutorial.html
Outstanding!
DeleteThanks again! : )
This comment has been removed by a blog administrator.
ReplyDeleteHi, Reza. Congrats for this tutorial!
ReplyDeleteI need to connect some ISE probes (nitrite/ammonia) to arduino via BNC, but so far I couldn`t find any BNC shield specific for this kind of probe.
There was a generic one provided bu=y Practical MAker, but there aren`t not available anymore.
Can you please recommend where can I find this BNC shield for arduino or tell if I can use this PH BNC shield?
Thanks, Daniel