Idea
In short
How do you build a gray code counter?
A 74HC193 up and down counter drives a row of LEDs in binary, while XOR gates convert the same number into Gray code on a second row, showing that only one bit changes at each step. You need 74HC193 up/down counter, 74HC86 quad XOR gate, Tactile push button 6 mm × 2, LED 5 mm red × 8, Resistor 330 Ω × 8 and Breadboard 830 Tie Points.
- Level
- Intermediate
- Time
- About 150 min
- Parts
- 6
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
See why Gray code changes one bit at a time.
Parts list
- Integrated Circuits
- Integrated Circuits
- Switches
- SemiconductorsLED 5 mm red × 8
- PassivesResistor 330 Ω × 8
- Prototyping
How to build it
- Wire the counter and its two buttons
- Show the binary count
- Add XOR gates for the Gray code
- Show it on a second row
- Compare the two rows step by step
Common questions
What parts do I need for the gray code counter?
74HC193 up/down counter, 74HC86 quad XOR gate, Tactile push button 6 mm × 2, LED 5 mm red × 8, Resistor 330 Ω × 8 and Breadboard 830 Tie Points.
How long does the gray code counter take to build?
About 150 minutes for a intermediate maker.
