January 24, 2020

pH Sensor Interface With Arduino

In chemistry, pH is a scale used to specify how acidic or basic a water-based solution is. Acidic solutions have a lower pH, while basic solutions have a higher pH. At room temperature (25°C or 77°F), pure water is neither acidic nor basic and has a pH of 7.
Here is a chart of different pH of different items.
This tutorial is about the interfacing of the Analog pH sensor with Arduino Nano. Then we display the data using a serial terminal.

What is an analog pH sensor?
Analog pH meter is specifically designed to measure the pH of the solution and reflect the acidity or alkalinity. It is commonly used in various applications such as aquaponics, aquaculture, and environmental water testing.
The sensor signal from the sensor goes to a circuit board that converts the signal to a (0-5) V analog signal easily readable from the Arduino board. All we have to do is to put the analog signal to any Analog pin of the Arduino (Arduino Nano in my case) and read the voltage using ADC.


Pinout:
  • VCC supplies power for the module. You can directly connect it to the 5V pin on the Arduino.
  • Data pin voltage varies from (0-5) Volt with the pH value.
  • GND is the Ground Pin and needs to be connected to the GND pin on the Arduino.
Connecting This device with Arduino is very easy. VCC pin goes to Arduino 5v pin GND pin goes to Arduino Ground Pin and the OUT pin goes to Arduino A0 pin.


Software:



No comments:

Post a Comment