Shift registers are often used to increase the number of I/O pins on a microcontroller.įor example, If your project needs to control 16 individual LEDs, you will, of course, require 16 pins of an Arduino, which is not possible. If you are interested in learning more about bit-shifting, you will find this Wikipedia article extremely useful. The 74HC595 achieves this through a technique known as bit-shifting. If you need more than 8 I/O pins, you can daisychain as many shift registers as necessary to generate a large number of I/O pins. The 74HC595 controls eight different output pins with only three input pins. By far the most widely used shift register is the 74HC595, also known as just “595”. The solution is to use a ‘shift register,’ which allows you to add more I/O pins to the Arduino (or any microcontroller). You can wire up a few buttons, sensors, servos, and so on, but as the list grows, you will quickly run out of pins. One of the nice things about the Arduino is that it has a fair amount of I/O pins to work with.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |