driving a clock signal from an AC switch

Discussion in 'The Projects Forum' started by Yami, Apr 26, 2016.

  1. Yami

    Thread Starter Member

    Jan 18, 2016
    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
  2. KMoffett

    AAC Fanatic!

    Dec 19, 2007
    Can you post a sketch of the present wiring?

  3. Yami

    Thread Starter Member

    Jan 18, 2016
    Hi Ken,
    Well right now its just a micro switch connected to a solenoid valve. I guess my question is about the conversion of the voltages etc. could you please recommend furt
  4. firosekhan

    New Member

    Apr 13, 2016

    All you need is just a 230V coil supply relay which will be energized in parallel with solenoid valve. Give +5 VDC to relay's common and use NO or NC based on your requirement. Hope this should serve the purpose.
    Yami likes this.