Join Zahraa Khalil for an in-depth discussion in this video Understanding the 7-segment LED truth table, part of Learning Arduino: Interfacing with Hardware.
- [Narrator] Alright, so we've learned how to turn on or off…the individual LEDs for the 7-Segment Display.…Next, let's see how to display numbers and letters.…In order to do so, let's generate the truth table…for the 7-segment LED.…For a common cathode, as mentioned previously,…all pins are connected to ground,…so their normal state is zero, low.…If we want to make one of the LEDs turn on,…then we need to set the anode side to one, high.…
So for example, if we want to show one,…then the LED, the segments B and C, need to be on…and the rest of the LEDs should be off.…The same thing applies if you want to show number 2.…Then LED A, B, G, E, D need to be on.…And the same thing applies for the rest of the numbers.…Since this is a common cathode device, we need to send high,…a logic one, and everything else is zero.…
And this is what we call the truth table…for our common cathode LED.…So now let's examine the truth table for the common anode.…For a common anode device, the anodes of LEDs…are connected to VCC and their normal state is one, high.…
- Interfacing with an LCD screen
- Wiring and coding the LCD interface
- Displaying random numbers on the LCD
- Interfacing with a seven-segment LED component
- Cycling through LEDs
- Using a shift register to interface with a seven-segment LED
- Interfacing with a keypad
- Combining the LCD, keypad, and LED
Skill Level Intermediate
Learning Arduino: Pulse Width Modulationwith Rae Hoyt1h 16m Intermediate
The devices used38s
1. Interface with an LCD
2. Interface with a 7-Segment LED Directly
3. Interface with a 7-Segment LED Using a Shift Register
4. Interface with a Keypad
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.