VMP502
V. 02
–
25/10/2019
33
©Velleman nv
6.10
Driving a 7-Segment Display by 74HC595
We will learn to use the 74HC595 to drive a 7-segment display to cycle a figure from 0 to 9.
Required Hardware
•
1 x Raspberry Pi
®
•
1 x breadboard
•
1 x 74HC595
•
1 x 7-segment display
•
3 x 1 k
Ω resistor
•
jumper wires as needed
7-segment displays can be categorized into two types: a common cathode and a common anode, depending on
the different light-emitting diode connections. They are widely used in electronic appliances, especially home
appliances such as air conditionings, water heaters, etc.
We use a common cathode 7-segment display, which connects all the LED cathodes to form a common cathode
(COM) electrode. It should be connected to ground. When the anode of an LED in a certain segment is at high
level, the corresponding segment will light. When it is at low, the segment will not light.
Summary of Contents for VMP502
Page 1: ...VMP502 BASIC LEARNING KIT FOR RASPBERRY PI USER MANUAL...
Page 8: ...VMP502 V 02 25 10 2019 8 Velleman nv Programming C Programming Python Programming...
Page 11: ...VMP502 V 02 25 10 2019 11 Velleman nv Programming C Programming...
Page 17: ...VMP502 V 02 25 10 2019 17 Velleman nv Programming C Programming...
Page 18: ...VMP502 V 02 25 10 2019 18 Velleman nv Python Programming...
Page 21: ...VMP502 V 02 25 10 2019 21 Velleman nv Programming C Programming Python Programming...
Page 27: ...VMP502 V 02 25 10 2019 27 Velleman nv Programming C Programming Python Programming...
Page 30: ...VMP502 V 02 25 10 2019 30 Velleman nv...
Page 31: ...VMP502 V 02 25 10 2019 31 Velleman nv Python Programming...
Page 32: ...VMP502 V 02 25 10 2019 32 Velleman nv...
Page 36: ...VMP502 V 02 25 10 2019 36 Velleman nv Python Programming...
Page 40: ...VMP502 V 02 25 10 2019 40 Velleman nv...
Page 41: ...VMP502 V 02 25 10 2019 41 Velleman nv Python Programming...
Page 44: ...VMP502 V 02 25 10 2019 44 Velleman nv...
Page 45: ...VMP502 V 02 25 10 2019 45 Velleman nv Python Programming...
Page 46: ...VMP502 V 02 25 10 2019 46 Velleman nv...
Page 47: ...VMP502 V 02 25 10 2019 47 Velleman nv...
Page 48: ...VMP502 V 02 25 10 2019 48 Velleman nv...