Monday, October 8, 2012

Oct 8-Shift Registers

Introduction:

In today's lab, we were learning how to use shift registers. Shift registers are implemented when there are not enough pins available on your micro-controller to plug in all of your devices.

Procedure:

This lab entailed creating a circuit that initially contained 8 LEDs and one shift register. We quickly wired that up and ran the provided code. Next we moved on to the next step-configuring 16 LEDs using two shift registers. Once again, the wiring was pretty simple. We did run into an issue initially (not all of our LEDs would turn on), but it was fixed quickly when we realized the pins had gotten plugged in to 9, 11, and 13 instead of pins 8, 11, and 12. After we put them into the proper pins, we did not have any issues.


We once again ran the provided code successfully. Here are some videos of the results:




Conclusion:

This was a very practical/useful lab to learn how to make the circuits utilizing shift registers. I'm sure the knowledge gained through this lab will be very helpful in the future.

No comments:

Post a Comment