Light Controller switch

Discussion in 'Homework Help' started by gindox, Jul 13, 2010.

  1. gindox

    Thread Starter New Member

    Jul 13, 2010
    2
    0
    Hi,

    I am trying to design a circuit that controls a light.
    Having three switches, whenever one of the switches is pressed, the light switches from OFF to ON, or vice versa. There should be also an enable switch, that prevents the light from changing its state.
    D flip-flops shall be used.
     
  2. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    You may find some additional logic gates may help. What design have you come up with?
     
  3. Georacer

    Moderator

    Nov 25, 2009
    5,142
    1,266
    Try saving the state of the light in the Flip Flop, and change the state of the flip flop through the switches.
     
  4. gindox

    Thread Starter New Member

    Jul 13, 2010
    2
    0
    Well I can easy do an XOR on the thee signals from the switches, that will detect if any of there was a switch that has been switched on or off.

    I just don't know how to implement the design of an enable switch that will hold any of the current states.
     
  5. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    Flip flops work nicely for that function.
     
Loading...