Join Zahraa Khalil for an in-depth discussion in this video Combine the keypad and 7-segment LED, part of Learning Arduino: Interfacing with Hardware.
- [Instructor] Alright, for this part, we are going to use…the seven segment LED with a keypad.…So I'm going to use the same wiring that I did previously,…so I'll go ahead and connect the pins that are coming in…from the shift register.…So the databank goes to pin number eight, then 10,…and then, finally, the last one is to 11.…For the keypad, I'm going to connect it to the pins…over at this side.…
So pins 22 all the way to 34.…Finally, I'm going to connect the positive and negative...…So that the five-volt goes in here,…and then the ground to the other side.…So I'm going to go ahead and start coding.…So you can open the file,…that's 04_09_Keypad_7SegLED_Start in project.…
So you can see the code from line two all the way to line 18…is corresponding to the keypad.…It's very similar to what we did in the previous example.…The only difference is in line 15 and 16.…You can see that here, it corresponds to the pins…that we connected the keypad to.…In line 21, 22, and 23, you are identifying the pins…that we connected to the shift register.…
- 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
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.