![]() ![]() ![]() However, this method will require you to use two additional outputs for controlling the shift register: Figure 1: Each state of the DIP switch can be read with one input This will allow you to reduce the number of necessary inputs by seven. I’ll use this method to make it seem like an Arduino has seven additional input pins by utilizing a parallel to serial shift register to convert multiple individual lines of a bus (eight in this case) to a single serial data line that can be read by the microcontroller. This technique can be used to extend the number of available in- and outputs of a microcontroller and this article will show you how you can achieve this. You can, for example, use them to convert multiple parallel data lines to a single serial line and vice-versa. Shift registers can be used in a wide variety of applications. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |