Projects / Ideas / Push-on push-off switch

Push-on push-off switch

BeginnerDigital LogicIdeaReviewed
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.

How to build it

  1. Tie the unused pins
  2. Wire the toggle feedback
  3. Add the button with a debounce capacitor
  4. Light the LED
  5. Press and watch the state

Related projects

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.