Hello guys, welcome back to another tutorial! Today, we're diving into something different from my usual audio and PCB projects. I recently ordered DFRobot Gravity: Analog pH Sensor/Meter Kit V2 (SEN0161-V2) to do some research work. I just want to set up this kit and want to see the accuracy of reading it can provide. Because lab-grade PH meters came with a huge price tag. And this kit is well known among the hobbyists for some reason. This was an exciting opportunity to explore pH monitoring from an electronic engineer's perspective.

pH measurement might sound like pure chemistry, but it's actually a fascinating intersection of electrochemistry and analog electronics. Same with this kit, I can pair this with my Arduino; this is a pure analog-based kit which I then control using my Arduino NANO. I will demonstrate how to calibrate it over a serial monitor. And after all this, we will see the accuracy of readings with the given buffer solutions.

This article is brought to you by JUSTWAY. Throughout this project, I'm using Arduino Nano for the microcontroller. Electronics like pH sensors need proper protection from the environment, and that's where JUSTWAY comes in. They help turn DIY projects into professional prototypes with custom 3D-printed enclosures.

What is pH and Why Does it Matter?

Before jumping into the technical details, let's understand what we're actually measuring. pH is a logarithmic scale that measures the hydrogen ion activity in a solution, indicating whether it's acidic, neutral, or alkaline:

  • pH = 7: Neutral (pure water)
  • pH < 7: Acidic (lemon juice, vinegar)
  • pH > 7: Alkaline/Basic (baking soda, soap)

The scale typically ranges from 0 to 14, where each unit represents a tenfold difference in acidity. This logarithmic nature makes pH measurement quite sensitive and interesting from an engineering standpoint.

Unboxing and First Impressions

The kit arrived well-packaged with everything you need to get started:

What's in the Box:

  • pH Probe (Laboratory Grade) with 1-meter cable
  • pH Signal Conversion Board V2
  • Gravity Analog Sensor Cable (3-pin)
  • pH Standard Buffer Solution 4.0 (2 bottles)
  • pH Standard Buffer Solution 7.0 (2 bottles)
  • Waterproof Gasket (2 pieces)
  • Screw Cap for BNC Connector
  • M3 nylon standoffs and screws for mounting

How Does It Work?

The heart of this kit is the laboratory-grade pH probe. Unlike the cheap pH sensors you might find online, this one uses a proper glass electrode.

The capabilities are given here:

  • Detection Range: 0-14 pH
  • Temperature Range: 5-60°C
  • Response Time: Less than 2 minutes
  • Internal Resistance: Less than 250MΩ
  • Zero Point: 7±0.5

The glass electrode works on the principle of ion-selective membrane potential. The glass membrane is sensitive to hydrogen ions (H+), and generates a voltage proportional to the pH of the solution it's immersed in. This voltage is typically in the millivolt range and has extremely high impedance. The raw output from a pH probe is low low-voltage (millivolts) signal, which requires buffering and amplification. The signal conversion board handles all of this:

Specifications:

  • Supply Voltage: 3.3-5.5V
  • Output Voltage: 0-3.0V (analog)
  • Measurement Accuracy: ±0.1 @ 25°C
  • Connector: BNC for probe, PH2.0-3P for output

From an electronics perspective, the board likely uses a high-input-impedance op-amp buffer (probably a FET-input op-amp given the impedance requirements) followed by signal conditioning circuitry.

Setting Up the Hardware

The hardware setup is straightforward; connect the pH probe to the BNC connector on the signal conversion board. Wire the signal board to your Arduino:

  • VCC (Red) → 5V
  • GND (Black) → GND
  • Signal (Blue) → A1 (or any analog pin)

I'm using Arduino Nano/UNO for this project because it's compact and has enough analog inputs for future multi-sensor projects I'm planning.

The Calibration Process:

Unlike simple sensors that you can plug and play, pH probes require calibration....

Read more »