This page describes how to set up and use a pH sensor.
The kit includes the following items:
- pH probe
- pH controller board (MinipH by Sparky's Widgets)
- laser-cut base plate
- screws and rubber feet
Assemble pH Board
- Attach the pH controller board to the laser-cut base plate using the provided screws:
- Attach the rubber feet to the bottom of the base plate:
- Connect the probe to the controller board:
- Connect the pH controller to your Arduino using one of the I2C plugs.
- When you are ready to use the probe, unscrew the storage container that is attached to the end of the probe. Be sure not to spill any of the storage liquid.
Using the Kit
The pH sensor can be used with the Exploring pH lesson.
You can also use the Sensor Plotter (select the MinipH device type).
After each use, dip the probe into distilled water for cleaning, then place the probe back into the storage container with the storage liquid.
You'll need a two buffer solutions. One with a pH of 7 and one with a pH of 4.
- Load the pH Calibration sketch on your microcontroller.
- Rinse your probe with distilled or deionized water.
- Dry the probe, especially the tip, with a clean paper towel.
- Place the probe in one of the buffer solutions. Only the tip of the probe needs to be submerged.
- When the value stabilizes, make a note of the value and which buffer solution the value is for.
- Rinse and dry the probe again.
- Place the probe in the other buffer solution and note it's value as you did before.
- Click on the
Codetab for the pH Calibration sketch.
At the top of the sketch, replace the values for
PH_4_VALUEwith the values you noted earlier.
#define PH_7_VALUE <your-value-here> #define PH_4_VALUE <your-value-here>
Send the sketch to your Arduino with the modified values.
- Check the buffer solutions again and verify the calibrated value. Make sure you rinse and dry the probe after each reading.
Other sketches that use the pH Sensor will have similar sections where you can place your own calibration values. The pH sensor will drift over time and will need to be recalibrated. Just follow this procedure whenever you need to recalibrate.
If you have any trouble, email firstname.lastname@example.org.