/OverflowDetection

A small ESP32-based device that activates a beeper when water is detected. Topics License

Primary LanguagePythonMIT LicenseMIT

Overflow Detector

This is the code for a simple microcontroller with a moisture sensor and a buzzer that alerts the user when the moisture sensor detects water. This is used for detecting overflow from an airco water reservoir to avoid spills.

Installation

Having flashed the micropython firmware to the ESP32 you can upload the code:

ampy --port /dev/ttyUSB0 --baud 115200 put main.py

To see the output:

screen /dev/ttyUSB0 115200

Define WiFi credentials