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.

The 7-segment LED component

The 7-segment LED component - Arduino Tutorial

From the course: Learning Arduino: Interfacing with Hardware

Start my 1-month free trial

The 7-segment LED component

- [Woman] The 7-segment LED consists of LEDs, light-emitting diodes, that are arranged in a rectangular fashion. Each LED within the 7-segment display is an individual LED that has a cathode and anode side. An additional LED is sometimes used to refer to the decimal point. Each LED has a letter that we refer to when programming. We use a combination of LEDs to show the different numbers or letters. So, if you want to show zero, we would turn on the LEDS shown on the left. And if you want to show one, we would turn on the LEDs shown on the right. And the same thing applies to any other number or letter. This is the layout of the 7-segment LED that we are going to use in this section. The top and bottom are the pin numbers, and each pin is connected to a specific LED. So pin 7, for example, is connected to LED a. And the cc pin is referring to the common pin, so it's a common cathode or a common anode, depending on the type. There are different types of 7-segment LEDs, and each has its…

Contents