Saturday, July 12, 2014

Measuring PH with Dormant Labs PH Module V2 Using 10 & 7 calibration solutions

Here is another setup guide that shows how to measure PH using the Dormant Labs PH Module V2, except this time we will calibrate using 10 & 7 ph calibration solutions.

You will need

  • 10 ph calibration solution
  • 7 ph calibration solution
  • Dormant Labs PH Module V2
  • A PH probe
  • 4 dupont female to male cables
  • An Arduino
  • Containers to hold the PH calibration solutions, and a container to rinse the ph probe with water.

Fill one cup with 10 PH calibration solution, one cup with 7 ph calibration solution, and one cup with water.

Connect the ph probe to the module.

Connect the module SDA,SCL pins to the Arduino SCL and SDA pins, here because we are using a mega, the SCL is pin 21, and SDA is pin 20. Then connect VCC to 5v on the arduino mega, and then connect GND to the GND pin on the arduino mega.

Then connect the arduino mega to your computer.

Now we will upload the source code. Get the source code from here:

and upload it using the Arduino IDE, if you do not have the arduino IDE then get it from the arduino site.

After uploading the code, open the serial monitor and you should see something like this:

It will output the wrong reading until we calibrate it, so lets do that.

First rinse off the ph probe in the tap water.

Now dip it in the PH 7 calibration solution, and write down the value for avgPhVolts that comes up in the serial monitor.

Now rinse it again.

Now dip it in the PH 10 calibration solution and write down the value for avgPhVolts in the serial monitor.

Also write down the avgRoomTempC value that appears in the serial monitor.

Here are the values that I got:

Now enter them for the values of volt7, volt10, and calibrationTempC and upload.

You now have calibrated your ph sensor! Edit the program to do whatever you want now.