Skip to main content

MAKE A MINI LED SIREN (POWERED BY ARDUINO!)


MAKE A MINI LED SIREN (POWERED BY ARDUINO!)


31,299
36
4


Intro: Make a Mini LED Siren (powered by Arduino!)

This is one of the first projects I have made with Arduino. It's a little siren with a LED that fades and blinks on and off. It demonstrates basic use of LEDs and speakers. Also check out this article: 8-Pin Programming Shield

Constructive criticism is appreciated!

Let's get started!

Step 1: Materials & Tools

Picture of Materials & Tools
Picture of Materials & Tools
Fist off, gather your materials and tools. I am assuming that you known the basics of Arduino and how to solder.

Materials:
-Arduino Uno
-USB cable for the Arduino (sometimes called a printer cable)
-solderless breadboard
-breadboard jumper wires
-LED (Any color)
-A small resistor or two.
-small speaker (I found one for $2 at a thrift store)
-Ping pong ball

Tools:
-soldering iron
-electrical solder
-pliers

Step 2: Solder Jumper Wires to the Button and Speaker

Picture of Solder Jumper Wires to the Button and Speaker
Fire up your soldering iron and attach wires to each of leads on the button and the speaker. The picture shows mine when I was done.

Step 3: Drill a Hole in the Table Tennis Ball

Picture of Drill a Hole in the Table Tennis Ball
Grab your dremel and drill a hole in the bottom of the ping pong ball. Make it large enough for the LED bulb to fit inside.

Step 4: Wiring It Up

Picture of Wiring It Up
Picture of Wiring It Up
Picture of Wiring It Up
Picture of Wiring It Up
Get power to the breadboard:
Run a jumper wire from the Arduino GND pin to a breadboard "-" row.
Run a jumper wire from the Arduino 3.3v pin to a breadboard "+" row.

Wire the button:
Run one of the buttons wires to anywhere on the breadboard's "+" row.
Run the other wire to an empty column on the breadboard.
Run a resistor from the button wire column to an empty column.
Run a wire from the resistor column to Arduino pin 7.

Wire the LED:
Stick the LED on to the breadboard. Slide each pin into a different column.
Run a wire from the positive LED column to Arduino pin 5.
Run a wire from the negative LED column to breadboard "-" row.

Wire the speaker:
Run one of the speaker wires to breadboard "-" row.
Run the other wire to Arduino pin 3.

Slide the ping pong ball over top of the LED. (not pictured)
Just slip it over the LED.

Hopefully the pictures will help make sense of what I'm saying.

Step 5: Programming the Arduino

Picture of Programming the Arduino
Now we have to program the Arduino to make the LED flash and the Speaker well... speak! I have written a sketch (thats what Arduino programs are called) for us already. Download the file, open it in the Arduino software, then upload it to the board. (But first, connect the Arduino to your computer with the USB cable.) I Won't explain how to set up the Arduino software on you computer because there are many articles out there that describe it better than I can. Such as this one .

Step 6: Finished!

Picture of Finished!
Hooray! now we get to test it! If all went well (and my instructable was accurate), the siren and ping pong ball light should spring into action at the press of the button! As you can see from the picture, I made a crude button holder by poking a hole in the top of a disposable cup. I also cut a notch in the side to let the wires out.

Comments

Popular posts from this blog

S4A (Scratch for Arduino) Project - A Keyboard Controlled Robot Car A fun project to create a keyboard controlled robot car... based on the   "Robotics: keyboard driven car" project on the   S4A site . This to me, is a perfect example of an interdisciplinary project: there is quite a bit of mechanical, electrical and computer engineering involved. This project is being used by the Grade 5 kids in my child's school this year; the kids have been working with the Pro-Bot for quite a bit of time and I felt that letting them create their own robot car that behaves similar to the Pro-Bot is a great finale. So far, it's my favorite Arduino project. Below is a formal lesson plan for the robot car. Note:   This is a simplified version of the car from the S4A site - it just involves creating the keyboard driven car, minus the remote controller. This means the car stays connected to the laptop via the USB cable.   Aim Design your own robot car, whose movements can be c...

TOUCH SWITCH CIRCUIT WITH MOSFET

TOUCH SWITCH CIRCUIT WITH MOSFET By  leeselectronic  in  Technology Electronics 1,326 13 Featured Download Favorite By  leeselectronic Lee's Electronic Follow More by the author: About: Electronic Hobby Store  More About leeselectronic » Intro: Touch Switch Circuit With MOSFET Created by: Jonsen Li Overview: The simple touch switch LED circuit utilizes biasing characteristics of the MOSFET. MOSFET stands for Metal-oxide-semiconductor field effect transistors. It is a voltage controlled device meaning that the current passing through the device is controlled by the voltage between two terminals. Parts you will need: A power MOSFET (IRFZ-44 NPN)  (Lee's ID: 71211) 9V battery  (Lee's ID: 83741) 12V LED bulb  (Lee's ID: 5504) Jumper wires  (Lee's ID: 21802) Breadboard  (Lee's ID: 10686) 9V battery clip  (Lee's ID: 653) Add Tip Ask Question Comm...