From the course: Learning Arduino: Interfacing with Hardware
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Wiring up the 7-segment LED - Arduino Tutorial
From the course: Learning Arduino: Interfacing with Hardware
Wiring up the 7-segment LED
- [Narrator] So now in this section, we're going to go through the wiring of the seven segment LED to the Arduino board. Since the seven segment LED has seven LEDs so we need the resistor when we connect the seven segment LED to Arduino. Again, the only difference between having a common anode and a common cathode is that the common pin within the seven segment LED is connected to five volt if we're using a common anode, and is connected to ground if we're using a common cathode. We're going to use a common anode for our example, so let's see how we do the wiring. So for the wiring part we are going to follow the table that's shown in the screen. So for example, for the seven segment LED pin a, which is pin seven, is going to be connected to pin two, to the digital IO in the Arduino board. Pin b, which is pin six in the seven segment LED, is going to be connected to pin three, and so on for the rest of them. So let's go ahead and do the wiring for the seven segment. So I've included a…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
Overview of the 7-segment LED35s
-
(Locked)
The 7-segment LED component1m 24s
-
(Locked)
7-segment LED display types1m 42s
-
(Locked)
Checking a 7-segment LED type1m 32s
-
(Locked)
Wiring up the 7-segment LED4m 50s
-
(Locked)
Cycle through each LED directly5m 34s
-
(Locked)
Cycle through LEDs with a for loop2m 29s
-
(Locked)
Understanding the 7-segment LED truth table2m 7s
-
(Locked)
Coding 7-segment display showing numbers3m 21s
-
-
-
-