Making noise! I got to make my first electronic instrument from scratch, so that was cool. Also, I finally made a schematic for something. Check this out:
I hooked a flex sensor up to the Arduino, mapped it to a range of frequencies, and then output it to a speaker. Then I added two buttons at static tones and a couple LEDs to those buttons. Here is the result:
Oh, also I figured out how to use constrain to clean up the flicker in my LED that was being controlled by a potentiometer.
I also mapped a potentiometer to a 180 degree servo motor, which was cool. There was a common theme among all of these prototypes, which was troubleshooting my own unanticipated mistakes. I think 9 times out of 10 something didn’t work because of a ridiculous error on my part (plugging something in to the wrong place, forgot to change a variable in my code or any number of silly mistakes). Other than that, the labs went pretty smoothly. Here is my servo setup: