Hello,
I am trying to get some help with a circuit I have for a digital electronics class. Here is the premise:
"Design and implement an LED flasher circuit that is controlled by a user activated pushbutton. Upon power up, the LED should be off. When the user pushes the button, the LED should be on. When the user pushes the button again, the LED should be off. When the user pushes the button again, the LED should flash at a 10 Hz rate (approximate). If the user pushes the button again, the LED should be off and the whole cycle should repeat.
Use a synchronous state machine built from J-K flip-flops to control this device. The state machine should use Gray code ordering."
I can set the circuit to be off on start up, hit a button and go to ON, hit the button and PULSE at 10Hz. But I cannot seem to figure out how to get it to go to the off state in between ON and PULSE.
I am including a pdf of the circuit.
Any help would be greatly appreciated. Thanks.
I am trying to get some help with a circuit I have for a digital electronics class. Here is the premise:
"Design and implement an LED flasher circuit that is controlled by a user activated pushbutton. Upon power up, the LED should be off. When the user pushes the button, the LED should be on. When the user pushes the button again, the LED should be off. When the user pushes the button again, the LED should flash at a 10 Hz rate (approximate). If the user pushes the button again, the LED should be off and the whole cycle should repeat.
Use a synchronous state machine built from J-K flip-flops to control this device. The state machine should use Gray code ordering."
I can set the circuit to be off on start up, hit a button and go to ON, hit the button and PULSE at 10Hz. But I cannot seem to figure out how to get it to go to the off state in between ON and PULSE.
I am including a pdf of the circuit.
Any help would be greatly appreciated. Thanks.
Attachments
-
148.8 KB Views: 21