Introduction: USE a PUSH BUTTON AS a SWITCH !
Hi i'm Erik from México!
In this instructable i'll share you how to use a push button as a switch with a CD4013 FLIP FLOP and a relay.
VOLTAGE FOR IC: 5-12 V VDC
1X IC4013 D TYPE FLIP FLOP
3X 1K OHM RESISTORS
3X TERMINAL BLOCK
1X 5VDC 10A RELAY
1X NPN GENERAL PURPOSE 2N2222 TRANSISTOR
1X 5mm LED
1X 1N4001 DIODE
1X PUSH BUTTON ANYONE
1X AC CABLE FOR CONNECT TO THE AC OUTPUT OF YOUR HOME
1X AC CHARGE FOR EXAMPLE: 120 VAC BULB
Step 1: SCHEMATIC AND PRINCIPE OF FUNCTION
HERES WE GO!
Another instructable for share that i made... :)
"How do I switch my fans on and off with a single push-button switch?" and the usual answer is:
"Use a flip flop!".
That's a logic IC such as the CMOS 4013B where the output changes state every time it gets a positive pulse on the input (from a square-wave clock signal or by you pushing the button), so the first push can be used to turn something on, a second push will turn it off.
In this circuit, we show how to build a D flip flop circuit with a 4013 D flip flop chip.
A D flip flop is just a type of flip flop that changes output values according to the input at 3 pins: the data input, the set input, and the reset input. All flip flops do the same thing- they store a value at the output(s) indefinitely unless the value is intentionally changed by manipulating the inputs. If we don't change the input values, then the values at the outputs stay the same. The 4013 is a dual D flip flop chip. This means it's composed of 2 independent flip flops. However, in this circuit, we will simply show how to operate 1 of them. If you know how to use 1 of them and how it works, then you will know how to use the other one. In this circuit, we will operate the flip flop using nothing but manual pushbutton control. By using pushbuttons to control the inputs, you can see exactly how the flip flop reacts to changes in inputs . You can physically how the output changes. Therefore, it's very hands-on and you can really see how a D flip flop operates according to its logic truth table.
Step 2: RELAY AND CHARGE!
I put a transistor in the output of the IC4013 FLIP FLOP for amplify the output and a diode for protection of the same transistor for "inductive efects" of the relay that coulkd damage our precious NPN general purpose transistor 2N222 Oor could be anything you want for low current and general prupose. :)
Step 3: THE PCB LAYOUT AND MASK READY TO PRINT!
Here you can download the circuit for your purpose you can connect a load as:
AC motor,120V LAMP, A TV, ANYTHING YOU CAN CONNEC DIRECTLY TO AC LINE OUTPUT OF YOUR HOME!
Step 4: VIDEO
In this step i'll show you how the circuit works!
We have a be nice policy.
Please be positive and constructive.