Skip to content

fakcior/xiaomi-humidifier-water-sensor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

xiaomi-humidifier-water-sensor

Xiaomi SmartMi Evaporative Humidifier water level sensor

Thanks to Tomas Vilda for a great job with reverse engineering water sensor serial communication https://github.com/tomasvilda/humidifierstart

This sketch uses Capacitive Touch Library in order to utilize existing hardware.

Solder 1M resistor between two pins on your board, I used D2 and D3, then connect/solder your board as direct replacement of the blue sensor module on the power supply PCB (5V, GND, TX, both probes, looking from the top on 2-pin header left one is sensing pin, second one is GND)

Calibrate your board when fully assembled with empty and full tank then modify accordingly MIN_READING and MAX_READING definitions.

BEWARE: it is advised to calibrate by pouring the water and simultaneously monitoring the sensor value. Save the maximum one. When the water hits certain level it'll short both metal rods making the measurement returns -2. It is expected behaviour.

About

Xiaomi SmartMi Evaporative Humidifier water level sensor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages