Read AC voltage... Maybe
Posted: Sun Jan 14, 2018 1:41 pm
I have an Electrolux air washer which i decided to convert to a smart one. So i have already added necessary relays and can control fan speed and power... One thing left. It has a water control built in. I want to keep the original functionality of the board so i need to connect to the water sensor in parallel.
This water control consists of two metal pieces submerged in water. And 2 wires going to the control board (from now on let's call them water wires)
I have taken the pic of the board and highlighted the part where this water wires connect. This circuit is driven by a 9V ac-ac transformer. Multimeter shows around 1,5-3V of AC current on the metal plates.
So going the easy way i've just connected to the metal plates +3,3V from wemos and then to the analog pin A0 (pulled to ground via 10k). Actually it almost worked. Had reading of around 158 when water present and 60 when not.
But i lost the functionality of the original control board. With +3,3V from wemos connected it always "detected" water even when there was none. (i have tried switching sides with no luck).
So i removed the 3,3V from wemos and just left the analogue pin connected to one of the metal plates. This gives me fluctuation reading from 2 to 30.
So i wonder what is the correct way to go?
This water control consists of two metal pieces submerged in water. And 2 wires going to the control board (from now on let's call them water wires)
I have taken the pic of the board and highlighted the part where this water wires connect. This circuit is driven by a 9V ac-ac transformer. Multimeter shows around 1,5-3V of AC current on the metal plates.
So going the easy way i've just connected to the metal plates +3,3V from wemos and then to the analog pin A0 (pulled to ground via 10k). Actually it almost worked. Had reading of around 158 when water present and 60 when not.
But i lost the functionality of the original control board. With +3,3V from wemos connected it always "detected" water even when there was none. (i have tried switching sides with no luck).
So i removed the 3,3V from wemos and just left the analogue pin connected to one of the metal plates. This gives me fluctuation reading from 2 to 30.
So i wonder what is the correct way to go?