Introduction: "Tell Me When to Shut Up" Sensor
Let's face it. There are some people out there who have been blessed with a voice that is just a little too powerful at times. We all know it is rude to blatantly ask a person to "shut up." Unfortunately, there are times when the favor must be asked, which can sometimes lead to an uncomfortable situation. What is my solution to this problem? Give this device to that person as a gift, have them pin it on, and let the machine do the talking! It will sound an alarm when the user reaches a talking level unsuitable for indoor use. This tutorial will show you how to go about creating this tool.
Step 1: Gather Your Supplies
- needle-nosed pliers
- any type of wire-cutting pliers
- soldering iron
- solder board
- computer with Arduino software http://arduino.cc/en/main/software
- color-coded wire (5 colors)
- hot glue gun & glue sticks
- 9V battery
- Arduino "Uno" micro-controller w/ USB cord ($30) https://www.sparkfun.com/products/11021
- 9V barrel jack adapter ($4) https://www.sparkfun.com/products/9518
- electret microphone amplifier ($7) http://www.adafruit.com/products/1063
- 76 dB Piezo Buzzer or similar ($4) http://www.radioshack.com/product/index.jsp?produc...
- LED light http://www.radioshack.com/product/index.jsp?produc...
- safety pin
- static-proof plastic bag
Most local electronics/hobbies stores (Radioshack, etc.) will have all the supplies on hand except for the Arduino Uno and 9V battery component, and the electret mic. These can be ordered online, however. Just check out the links.
Step 2: Upload the Code to Arduino
- Grab a computer and check to see if you carry the Arduino software. More than likely you may not. However, it can easily be downloaded to any Windows/Mac computer through this link: http://arduino.cc/en/main/software
- Plug the USB cable provided with your Arduino into the device and the computer.
- Open the Arduino software and open a new document (Click "File_New" in top left corner of screen)
- Upload the following code (simply open the attachment below, then copy the code and paste it onto your newly created page)
Step 3: Setting the Board and Connecting to Arduino
- close Arduino software
- disconnect the Arduino from the USB cord
- Gather your 5 color-coded wires. Cut them down to at least 6" in length. Strip the ends.
- Insert the 3-pronged Electret Mic into the bare board so that the pins are protruding from the copper side of the board.
- Tin the soldering iron tip by touching it with a strand of solder. Solder the Mic on the three pins in the board.
- On the copper side of the board, drag the tip of the iron onto the board so that the solder will trace the contact points as shown in the image (solder trace).
- Solder the Positive and Ground wires of the Piezo on the other side of the board parallel to the pins of the Mic.
- You can glue the piezo to the board with the glue gun for sturdy support
- Trace the solder on the copper side of the board so that we can ensure connection of the LED and Arduino pins.
- Solder LED onto board
- Solder wires onto board and connect to Arduino pins.
Step 4: Powering the Device
- connect 9V to pins on barrel jack
- insert into the correct port on the Arduino as shown in the image above
Step 5: Test It Out!
Once power is supplied to the device, it should beep momentarily and light the LEDs on the Arduino board. Go ahead and talk. It is set to where normal talking levels will not trigger the alarm. Give it a little scream...hear the alarm and see the red LED? Good! That's the device telling you to shut up! :)
Step 6: Finishing Touches
- glue a safety pin onto the back of the perforated board by using the hot glue gun
- take the hot glue gun and dab some glue on each of the pins used on the Arduino. This will ensure that they are less likely to be disconnected from abuse.
- gather all the wires and wrap with electrical tape
- You may put the Arduino board in a static-proof bag if you like (these bags usually come with the purchase of an Arduino). This will make it easier the Arduino to be concealed inside a shirt pocket, etc.
Step 7: Strap It On!
- Put the Arduino inside of a shirt pocket or simply underneath your shirt.
- Have the wires traveling up so that the board with the electret mic is near your neck. Open the safety pin and pin it on your shirt.
- ...you're welcome!
We have a be nice policy.
Please be positive and constructive.