Arduino pH sensor

From wikiluntti

Introduction

3 major commercially available or mass-produced solutions:

  1. Atlas Scientific and Gravity analog pH Kit with board, sensor and buffer solutions. Hiqh quality, not open source.
  2. DFRobot Gravity: Analog pH Sensor Kit
  3. Other (Chinese) manufacturers.
  4. Seeed Studio


If the pH electrode is labotorary grade, it is not designed for submerging into measuring solution permanently. Thus, use an industrial-grade pH electrode (lifecycle about 3 years), but calibrate it at least twice every year.

Theory

An ideal pH sensor because H+ ions. Ranging linearly:

  • U = 0 @ pH 7
  • U > 0 @ pH < 7
  • U < 0 @ pH > 7

A high quality op amp is needed to amplify the voltage.

The pH electrode

  • a passive sensor

Calibration

Code

References

https://www.e-tinkers.com/2019/11/measure-ph-with-a-low-cost-arduino-ph-sensor-board/