
The wiring was very simple. We hooked up the microphone to an analog input pin, as well as power and ground. For the speaker, it is attached to a digital out pin, connected a resistor before reaching the ground.
By taking the input from the microphone, detecting a change in noise, we had the program say, "your breath stinks" to insult you. A very simple project but very interesting to work with sound with an arduino. I would love to play with sound more in the future.
can you post the code of this project
ReplyDeleteI hope you can post the code
ReplyDelete