I have to make this project where I have liquid dispenser which counts how many glasses were dispensed. The water is dispensed from the tank to the glass by opening a solenoid valve connected with a micro switch. No I would like use the switch as a clock trigger for the counter circuit which means the voltage has to drop from 220V to 5V and converted from AC to DC. Now I know i have to use a deb ounce circuit to get a clean clocking signal.
Any help is greatly appreciated
Any help is greatly appreciated