Skip to content

kylehendricks/esp32-salt-level-sensor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note: The HC-SR04 did not end up giving me consistent results. I ended up switching to using the time-of-flight vl53l0x sensor. Here is the new project.

esp32-salt-level-sensor

An ESP32 based water softener salt level sensor

Uses the HC-SR04 ultrasonic distance sensor to measure the salt level in the brine tank.

The level is published to an MQTT broker configured in the menuconfig.

To get accurate measurements of the echo signal from the HC-SR04, the ESP32's RMT peripheral is used.

Building

  1. Run make menuconfig to configure Wifi and MQTT.
  2. Run make flash && make monitor to flash then tail the ESP32 logs.

About

An ESP32 based water softener salt level sensor

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published