Digital tube with Traffic Light Experiment

This lesson will use the 74HC595 shift register in combination with the red and green LEDs and the yellow LED to create a traffic light.

Component Required

  • 1 x Uno R3

  • 1 x 830 tie-points breadboard

  • 1 x 1 Digit 7-Segment Display

  • 10 X 220 ohm resistors

  • 20 x M-M wire (Male to Male jumper wire)

  • 1 x Red LED

  • 1 x Yellow LED

  • 1 x Green LED

Component Introduction

Seven segment display

Below is the seven-segment pin diagram.

0-9 ten digits correspond with each segment are as follows (the following table applies common cathode seven segment display device, if you are using a common anode, the table should be replaced every 1 0 0 should all replaced by 1):

Display

dp

a

b

c

d

e

f

g

digital

0

0

1

1

1

1

1

1

0

1

0

0

1

1

0

0

0

0

2

0

1

1

0

1

1

0

1

3

0

1

1

1

1

0

0

1

4

0

0

1

1

0

0

1

1

5

0

1

0

1

1

0

1

1

6

0

1

0

1

1

1

1

1

7

0

1

1

1

0

0

0

0

8

0

1

1

1

1

1

1

1

9

0

1

1

1

1

0

1

1

Connection Diagram:

Wiring schematic:

Physical wiring diagram:

Last updated

Was this helpful?