7-Segment Display: Draw Any Digit with 8 Switches
A common cathode 7-segment display on 5 V with a 220 Ω resistor and a switch per segment. It opens on 8.; flip the switches to draw any digit.
Learn to use a multimeter, with circuits you can measure
How a 7-segment display works, with circuits you can try
Want to build your own circuit? Start a new circuit in the circuit simulator
Teaching with circuits?
Create a classroom, give your students a circuit to build, and review what they submit. Try it free with one classroom and up to 5 students.
Try the free classroom demoHow it works
A common cathode 7-segment display on a 5 V battery. Every segment (a to g and the dot, dp) has its own 220 Ω resistor and its own switch, labelled with the segment it lights. It opens with all eight on, showing 8.
Flip the switches to draw a digit: b and c make 1, a, b, d, e and g make 2. The ammeter on COM carries the total: each lit segment adds about 15.4 mA in the lab's offline engine (12.2 mA with NGSpice), so 8. reads about 123 mA (98 mA with NGSpice).
More on pinouts, common anode and the truth table: 7-segment display, explained with live circuits.
What's inside
- 1× Battery (5 V)
- 8× Resistor (220 Ω)
- 8× Switch
- 1× 7-Segment Display
- Measured with Voltmeter/Ammeter