Simple water level measurement using micropython/esp8266 and ultrasonic sensor hc-sr04
- esp8266 nodeMcu v3. This is flashed with micropython.
- hc-sr04 - ultrasonic distance sensor
- Load the files boot.py and main.py to the esp via repl.
The esp reads water-level periodically and sends the data to a remote server. The file boot.py runs first followed by main.py
This was tested with 3.3v version of hc-sr04 To wake from deepsleep connect D0 to the rst button