Introduction: Covid-19 Mask That Screams at You If You Touch Your Face
Can't stop touching your face? Stick these electronics onto a mask you have and you'll constantly be reminded not to do that.
Supplies
You will need:
- Arduino (I'm using the Arduino Nano)
- ultrasonic sensor
- small speaker
- amplification circuit
- wires
- solder
- prototype board / strip board
Step 1: Build the Circuit on a Bread Board
Build the circuit as in the diagram.
For amplification, either use the transistor method or the method I used with an LM386 integrated circuit.
Step 2: Process Your "scream" Audio and Upload Code to Your Arduino
Download the PCM Arduino library.
Then upload this code to your Arduino.
If you want to switch out the scream sound for your own audio clip, follow this tutorial to process your audio and replace the relevant part of the code.
Now, when you move something close in front of the ultrasonic sensor, your sound clip should play.
Comments
2 years ago
LOVE IT.