This is the final version of the arduino and breadboard controlling the bat, speakers, and LED strip. It will be connected to the clock and light sensor on pin 7 to receive either a HIGH or LOW signal. It took a long time to play around with each individual component and the way it was wired. I would say the most difficult part was the LED strip. I needed to use a transistor to power it but the one in the sparkfun kit was not large enough to power the entire strip which was originally 10m long. I had to calculate the mount of LED's the transistor could handle, cut the strip there, and rewire it. Even after this I was having a lot of trouble getting the transistor to behave the way I wanted it to. Eventually I realized I had the pins wrong and was able to fix it. The servo was also fairly challenging to control but I used a sweep function I designed in a lab earlier this semester and it did the trick. The speakers were fairly straight forward once we got them plugged in.
No comments:
Post a Comment