eeweb.com

CMOS Toggle Flip Flop Using Push Button

The circuit below uses a CMOS dual D flip flop (CD4013) to toggle a relay or other load with a momentary push button. Several push buttons can be wired in parallel to control the relay from multiple locations. A high level from the push button is coupled to the set line through a small (0.1uF) capacitor. The high level from the Q output is inverted by the upper transistor and supplies a low reset level to the reset line for about 400 mS, after which time the reset line returns to a high state and resets the flip flop. The lower flip flop section is configured for toggle operation and changes state on the rising edge of the clock line or at the same time as the upper flip flop moves to the set condition. The switch is debounced due to the short duration of the set signal relative to the long duration before the circuit is reset. The Q or Qbar outputs will only supply about 2 mA of current, so a buffer transistor or power MOSFET is needed to drive a relay coil, or lamp, or other load. A 2N3904 or most any small signal NPN transistor can be used for relay coil resistances of 250 ohms or more. A 2N3053 or medium power (500 mA) transistor should be used for coil resistances below 250 ohms. The 47 ohm resistor and 10uF capacitor serve to decouple the circuit from the power supply and filter out any short duration noise signals that may be present. The RC network (.1/47K) at the SET line (pin 8) serves as a power-on reset to ensure the relay is denergized when circuit power is first applied. The reset idea was suggested by Terry Pinnell who used the circuit to control a shed light from multiple locations.

From : http://ourworld.compuserve.com/homepages/Bill_Bowden/

Related Links
More circuit about toggle flip flop
More circuits about Digital flip flop
More circuits about One shot timer

Relay Toggle Circuit Using a 555 Timer
CMOS Toggle Flip Flop Using Laser Pointer
Bistable Flip Flop
D – Flip-Flop Made With A LM556 Timer
555 timer Mono stable (one shot)

Related Posts :

  • This circuit is a hybrid - D type Flip-Flop that is constructed from an LM556 - Dual Timer integrated circuit. The circuit is essentially a High-Tech and overly expensive version of the classi ...

  • Since I implemented a D type flip flop using the PIC Logic Elements I thought I might go the other way and implement an entire D type flip flop in a single PIC. This uses the edge triggered and po ...

  • This 555 timer circuit below toggles a relay when a button is pressed. Pins 2 and 6, the threshold and trigger inputs, are held at 1/2 the supply voltage by the two 10K resistors. When the output ...

  • The circuit on this page is for a hybrid - SET / RESET type of logic Flip-Flop that is constructed from an LM556 - Dual Timer integrated circuit. The design is crude but effective for very lo ...

  • The two circuits below illustrate using the 555 timer to close a relay for a predetermined amount of time by pressing a momentary N/O push button. The circuit on the left can be used for long time ...