Join Zahraa Khalil for an in-depth discussion in this video Understanding the shift register, part of Learning Arduino: Interfacing with Hardware.
- [Narrator] In the previous example,…we used seven digital pins for the seven-segment LED.…As you can imagine, this may lead…to you running out of pins on your Arduino board.…One of the ways you can deal with this…is by using a shift register.…There are many types of shift registers.…Each is used for a certain application.…I'm going to use a serial in - parallel out shift register.…So, in this example, I'm using a 4-bit shift register.…You can think about it like four drawers.…
Each drawer contains one bit.…So, in this example, I have a binary number…that's a one-zero-one-one.…The shift register takes each bit, one at a time,…and moves it in between the drawers.…At the first clock cycle, the least significant bit…enters the shift register.…The second clock cycle, the bit moves…into the second drawer, and the next bit enters.…And then, the third, and the fourth.…
Note here that the order of the most significant bit…and the least significant bit stays the same.…Now, the shift register takes the bits as a serial input,…
- 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.