Project 6: Light Theremin
Homework 6: Light Theremin
For this project we are going to utilize the piezo that comes with the Arduino start kit to make different vibrations to produce different sounds depending on the light exposure. I went ahead and put the circuit together both physically and digitally with the help of Tinker CAD. Here is also the parts list excluding connecting wires.
Coding
The coding was a lot simpler this time. We do use millis() which just tells us how long ago it was reset or powered on. We did have to set our high and low for the sensor to get how much light exposure it has to create a scale so that the sound will also scale.
Finished Product
This was a fun little project to do with sound. Just make sure that you are ready to upload a different code or unplug the power source because when it has max light exposure it is annoying to listen to. WARNING do not wear headphones at high volume when watching the video.
Comments
Post a Comment