/M5StickC_PH_sensor

pH (Power of Hydrogen) sensor for water based solution with ph-4502c and ESP32 microprocessor

Primary LanguageC++MIT LicenseMIT

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

  • Jumper Wires / DuPont Wires
  • Voltage Tester

Software apps and online services

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