PH Sensor For Water Based Solution With Ph-4502c And ESP32 ...

pH sensor for water based solution with ph-4502c and ESP32 microprocessor

The problem

My aquarium always has water turbidity problems.

Deployed idea

The approach is easy. We have a sensor that send an analogical signal that we have to read. Most of the microcontrollers that exist have at least, one analogical digital conversion input AD. I have chosen the compact M5StickC model based on ESP32 that incorporates a perfect LCD screen for this use case.

Things used in this project

Hardware components

  • M5StickC ESP32 PICO Mini IoT Development Board Finger Computer with Color LCD Built in Battery MPU... × 1

  • PH-4502C Liquid PH Value Detection detect Sensor Module Monitoring Control Board For Arduino BNC Electrode Probe × 1

  • Jumper Wires / DuPont Wires
  • Voltage Tester

Software apps and online services

  • Arduino IDE
  • Eclipse Mosquitto open source MQTT broker
  • Node-RED

How does it Work?

The device is intended to be used as a portable tool. When the M5StickC is turned on, its display shows a continuous reading. If we press the M5 button, the last measurement will be sent in an MQTT package to the server that we have configured in the config.h file. A Node-red application collects the package and displays the graph in an component of the dashboard that I have developed for the control of the smart aquarium filter.

Development

I have used prototyping material. What is working is proof of concept for the use case of the system control of my aquarium of turtles.

Schematics

References

  • Based on Wiring The pH (Power of Hydrogen) Ion Concentration Sensor with BNC Electrode Probe
  • ph-4502c ph meter calibration notes

Từ khóa » Ph 4502c