The key of this project was to learn how to use analog input of ESP8266 with embedded ADC (at pin A0). The median of readed data is sended to Smarthome API. I am using a median, because it is tolerant of maximum and minimum value errors.
VCC can be supplied by voltage from 3.3V to 5V
The series of exposed parallel conductors, together acts as a variable resistor (kind of like a potentiometer) whose resistance varies according to the water level.
ESP8266 | Water Level sensor |
---|---|
A0 | S |
3.3 | + |
GND | - |