29
Lesson 8 7-segment display
Overview
In this lesson, you will learn how to program the UNO R3 or MEGA 2560 board to control the
segment display.
Components Required
Name
Qty
Name
Qty
UNO R3 or MEGA 2560
1
220Ω Resistor
1
7-Segment Display
1
DuPont Wire
9
Breadboard
1
Component Introduction
The seven-segment display is a type of electronic display device for displaying
decimal numbers compared to the more complex dot matrix displays. The seven-
segment display is an 8-shaped LED display device composed of eight LEDs
(including a decimal point), these segments respectively named a, b, c, d, e, f, g, dp shown in
the
figure
.
The segment display also has two types like common anode and common cathode. When
using a common cathode LED, the common cathode should be connected to the ground
(GND). If using a common anode, it should be connected to (VCC). Each segment is composed
of LED, so a resistor is needed for protecting the LED.
Содержание Ultimate Starter Kit for Arduino
Страница 1: ......
Страница 2: ......
Страница 3: ......
Страница 17: ...17 Wiring Diagram Result LED is lit up and went out gradually like breathing...
Страница 24: ...24 Wiring Diagram Result The buzzer will ring for 2s and then mute for 2s...
Страница 26: ...26 Result The passive buzzer will play music and the LED blink simultaneously Wiring Diagram...
Страница 32: ...32 Wiring Diagram Result The stronger light the photoresistor received the more LEDs will light up...
Страница 74: ......
Страница 79: ...79 Wiring Diagram...