Connect with us

create circuit for on and off on second press only

Discussion in 'Electronics Homework Help' started by ostr1969, Dec 5, 2018.

  1. ostr1969

    ostr1969

    6
    0
    Dec 5, 2018
    how can i create simple circuit(dc) that will change state every second press?
    press and release - on
    press and release - still on
    press and release - off
    press and release - still off

    or: another option
    press - on
    release - still on
    press - off
    release - still off

    can it be done without controller?
     
  2. kellys_eye

    kellys_eye

    4,289
    1,143
    Jun 25, 2010
    Look at the 'condition' of the switches and tell us which 'action' is actually causing the event. The key is the 'edges' of the signal.
     
  3. ostr1969

    ostr1969

    6
    0
    Dec 5, 2018
    if i understand your question, on is supplying 5V voltage to a solenoid.
    off, supply voltage less then 1V or disconnecting.
     
  4. Harald Kapp

    Harald Kapp Moderator Moderator

    8,694
    1,692
    Nov 17, 2011
    CircuitMaster likes this.
  5. AnalogKid

    AnalogKid

    2,214
    624
    Jun 10, 2015
    Both operation sequences are fairly easy to achieve without a controller, using simple logic chips like gates and flipflops.

    Of the two operations you described, the second one is much easier than the first. In text mode, it is a debounced switch clocking a toggle flipflop. If the switch is a SPDT type, then a single chip dual D flipflop and two resistors can do it all. One ff is the switch debouncer (using the Set and Reset inputs) and one ff is the toggle (using the clock and D inputs and -Q output).

    ak
     
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.