Circuit #11- RELAYS
About:
I bridged the gap between the digital world and the analog world. I used a buzzer that makes a small "click" when you apply voltage to it. By itself that isn't terribly exciting, but if you turn the voltage on and off hundreds of times a second, the buzzer will produce a tone. And if you string a bunch of tones together, it will create music.
About:
This is the code for circuit 11. The codes on there are what we send to the Arduino to get it to work.
Circuit #12- SHIFT REGISTER
About:
This requires the use of a transistor, which can switch a larger amount of current than the Arduino can. When using a transistor, you just need to make sure its maximum specs are high enough for your use. The transistor we are using for this circuit is rated at 40V max and 200 milliamps max.