Idea
In short
How do you build a push-on push-off switch?
A D flip-flop chip turns a single button into an on and off toggle for an LED, with a small capacitor to calm the contact bounce. You need CD4013 dual D flip-flop, Tactile push button 6 mm, Resistor 10 kΩ, Ceramic Capacitor 100 nF, LED 5 mm red, Resistor 1 kΩ, Micro USB breakout board, 5 V 2 A USB adapter and Breadboard 830 Tie Points.
- Level
- Beginner
- Time
- About 120 min
- Parts
- 9
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal
Toggle with a flip-flop.
Parts list
- Integrated Circuits
- Switches
- Passives
- Passives
- Semiconductors
- Passives
- Connectors
- Power
- Prototyping
How to build it
- Tie the unused pins
- Wire the toggle feedback
- Add the button with a debounce capacitor
- Light the LED
- Press and watch the state
Common questions
What parts do I need for the push-on push-off switch?
CD4013 dual D flip-flop, Tactile push button 6 mm, Resistor 10 kΩ, Ceramic Capacitor 100 nF, LED 5 mm red, Resistor 1 kΩ, Micro USB breakout board, 5 V 2 A USB adapter and Breadboard 830 Tie Points.
How long does the push-on push-off switch take to build?
About 120 minutes for a beginner maker.
