This is in contrast to using the "asynchronous serial communication" of the Serial.begin() function which relies on the sender and the receiver to be set independently to an agreed upon specified data rate. It's by pulsing second pin, the clock pin, that you delineate between bits. you can pulse one pin up and down thereby communicating a data byte to the register bit by bit. How this all works is through something called "synchronous serial communication," i.e. The STP16C596 for example will drive 16 LED's and eliminates the series resistors with built-in constant current sources.) (Users may also wish to search for other driver chips with "595" or "596" in their part numbers, there are many. You can link multiple registers together to extend your output even more. The datasheet refers to the 74HC595 as an "8-bit serial-in, serial or parallel-out shift register with output latches 3-state." In other words, you can use it to control 8 outputs at a time while only taking up a few pins on your microcontroller. At sometime or another you may run out of pins on your Arduino board and need to extend it with shift registers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |