{"id":21722752,"url":"https://github.com/mcorts/m5stickc_ph_sensor","last_synced_at":"2025-04-12T21:51:54.303Z","repository":{"id":128775212,"uuid":"274406641","full_name":"McOrts/M5StickC_PH_sensor","owner":"McOrts","description":"pH (Power of Hydrogen) sensor for water based solution with ph-4502c and ESP32 microprocessor ","archived":false,"fork":false,"pushed_at":"2020-06-25T11:14:07.000Z","size":4366,"stargazers_count":14,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T16:01:40.317Z","etag":null,"topics":["arduino","esp32-arduino","iot","m5stickc"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/McOrts.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-23T13:00:02.000Z","updated_at":"2025-01-13T00:20:43.000Z","dependencies_parsed_at":"2023-06-26T21:21:15.667Z","dependency_job_id":null,"html_url":"https://github.com/McOrts/M5StickC_PH_sensor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/McOrts%2FM5StickC_PH_sensor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/McOrts%2FM5StickC_PH_sensor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/McOrts%2FM5StickC_PH_sensor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/McOrts%2FM5StickC_PH_sensor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/McOrts","download_url":"https://codeload.github.com/McOrts/M5StickC_PH_sensor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248637832,"owners_count":21137538,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arduino","esp32-arduino","iot","m5stickc"],"created_at":"2024-11-26T02:32:37.118Z","updated_at":"2025-04-12T21:51:54.289Z","avatar_url":"https://github.com/McOrts.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pH sensor for water based solution with ph-4502c and ESP32 microprocessor \n\n## The problem\nMy aquarium always has water turbidity problems.\n\n## Deployed idea\n\n\u003cimg src=\"images/pH-Sensor-Board-Arduino-Microcontroller-Electrode-Probe-Sensor-14core.png\" width=\"400\" align=\"left\" /\u003e\n\nThe 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.\n\n## Things used in this project\n**Hardware components**\n\n- [M5StickC ESP32 PICO Mini IoT Development Board Finger Computer with Color LCD Built in Battery MPU...](https://www.aliexpress.com/item/32985247364.html) ×\t1\t \n\u003cimg src=\"images/M5StickC.png\" width=\"250\" align=\"right\" /\u003e\n\n- [PH-4502C Liquid PH Value Detection detect Sensor Module Monitoring Control Board For Arduino BNC Electrode Probe](https://www.aliexpress.com/item/32957428276.html) ×\t1\t\n\u003cimg src=\"images/ph-4502_pinout.png\" width=\"250\" align=\"right\" /\u003e\n\n- Jumper Wires / DuPont Wires\n- Voltage Tester\n\n**Software apps and online services**\n- [Arduino IDE](https://www.hackster.io/arduino/products/arduino-ide?ref=project-8e87cc)\n- [Eclipse Mosquitto open source MQTT broker](https://mosquitto.org/)\n- [Node-RED](https://nodered.org/)\n\n## How does it Work?\nThe 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.\n\u003cimg src=\"images/M5StickC_PH_sensor_test.png\" width=\"300\" left=\"left\" /\u003e\nA 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.\n\n## Development\nI have used prototyping material. What is working is proof of concept for the use case of the system control of my aquarium of turtles.\n\n**Schematics**\n\n\u003cimg src=\"images/M5StickC_PH_sensor_bb.png\" width=\"300\"  align=\"center\" /\u003e \n\n## References\n* Based on [Wiring The pH (Power of Hydrogen) Ion Concentration Sensor with BNC Electrode Probe](https://www.14core.com/wiring-the-ph-power-hydrogen-sensor-bnc-electrode-probe-with-microcontroller/)\n* [ph-4502c ph meter calibration notes](https://tlfong01.blog/2019/04/26/ph-4502c-ph-meter-calibration-notes/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcorts%2Fm5stickc_ph_sensor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcorts%2Fm5stickc_ph_sensor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcorts%2Fm5stickc_ph_sensor/lists"}