The process here is quite simple - all I had to do was identify the parts involved.
Besides the obvious Argon development kit, I understood I needed a microphone, and part to actually switch the circuit on and off. I decided to use a servo for the latter, which is easy to connect and code. Finally, I used a simple tactile push-button to set the system ON or OFF.
Initially, the servo kept going off as the sound threshold was too low. So I then updated the code to only detect sounds above a high value of 3000.
Because the switch only activates in two directions, it made sense to turn the servo from 0 to 180 degree - essentially ON & OFF.
The code for the entire project can be viewed below
Content Rating
Is this a good/useful/informative piece of content to include in the project? Have your say!
You must login before you can post a comment. .