For our first shift register, we were asked to hook up 8 red LED's and 8 220 ohm resistors to our Arduino. The short pin was connected to ground and the other pins were connected to the shift register. Power along with ground was applied to the shift register by using the necessary connections as described in the directions. By using a shift register, we were able to hook up 8 LED's while only taking up 3 DigitalPins on our Arduino.
When we began adding the second shift register, the same steps were used, but we used green LED's so that we could see the difference in the two sets of examples.
We ran into a few problems when creating our shift registers. The major problem was basically wiring it up. There are many wired needed to hook up a single shift register. When adding the second register, the number of wires was insane.
No comments:
Post a Comment