Note
Hello, welcome to the SunFounder Raspberry Pi & Arduino & ESP32 Enthusiasts Community on Facebook! Dive deeper into Raspberry Pi, Arduino, and ESP32 with fellow enthusiasts.
Why Join?
Expert Support: Solve post-sale issues and technical challenges with help from our community and team.
Learn & Share: Exchange tips and tutorials to enhance your skills.
Exclusive Previews: Get early access to new product announcements and sneak peeks.
Special Discounts: Enjoy exclusive discounts on our newest products.
Festive Promotions and Giveaways: Take part in giveaways and holiday promotions.
π Ready to explore and create with us? Click [here] and join today!
4-Digit 7-Segment DisplayΒΆ
4-Digit 7-segment display consists of four 7- segment displays working together.
The 4-digtal 7-segment display works independently. It uses the principle of human visual persistence to quickly display the characters of each 7-segment in a loop to form continuous strings.
For example, when β1234β is displayed on the display, β1β is displayed on the first 7-segment, and β234β is not displayed. After a period of time, the second 7-segment shows β2β, the 1st 3th 4th of 7-segment does not show, and so on, the four digital display show in turn. This process is very short (typically 5ms), and because of the optical afterglow effect and the principle of visual residue, we can see four characters at the same time.
Display Codes
To help you get to know how 7-segment displays(Common Anode) display Numbers, we have drawn the following table. Numbers are the number 0-F displayed on the 7-segment display; (DP) GFEDCBA refers to the corresponding LED set to 0 or 1, For example, 11000000 means that DP and G are set to 1, while others are set to 0. Therefore, the number 0 is displayed on the 7-segment display, while HEX Code corresponds to hexadecimal number.
Example
1.1.5 4-Digit 7-Segment Display (C Project)
3.1.1 Counting Device (C Project)
3.1.6 Traffic Light (C Project)
3.1.12 GAME - 10 Second (C Project)
1.1.5 4-Digit 7-Segment Display (Python Project)
4.1.3 Speech Clock (Pyhton Project)
4.1.7 Counting Device (Pyhton Project)
4.1.12 Traffic Light (Pyhton Project)
4.1.18 GAME - 10 Second (Pyhton Project)