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

DIGITAL UV-METER, WITH OLED DISPLAY. ARDUINO PROJECT FOR BEGINNERS

DIGITAL UV-METER, WITH OLED DISPLAY. ARDUINO PROJECT FOR BEGINNERS By   techn0man1ac   in   Technology Arduino 4,792 87 13 Featured Download Favorite By   techn0man1ac Techn0man1ac blog Follow About: Techn0man1ac - техноманьяк   More About techn0man1ac » Intro: Digital UV-meter, With OLED Display. Arduino Project for Beginners Video demonstration (English subtitles). Hello,   instructable . Today I will tell you how to make a simple digital VU meter (sound level meter) using Arduino and OLED displays and 2 resistors by yourself (DIY). The device is quite simple, for beginners it will be a rewarding experience. Add Tip Ask Question Comment Download Step 1: Components for This Arduino Project: 3 More Images Arduino Nano V3.0; 0.96 inch IIC I2C 128X64 OLED Display; One 10K, resistor(R1 no scheme); One 10K-100K potentiometer(R2no scheme); Wires. Add Tip Ask Question C...

Alcohol Sensor

POWER77 Tech Electronic Project    Alcohol Level Meter using Arduino & MQ-135 Alcohol/Gas Sensor   Introduction In this project we have designed Alcohol Level Meter using Arduino & MQ-135 Alcohol/Gas Sensor for measuring the level of alcohol in human breathe. Simply we have interfaced MQ-135 Gas Sensor module with Arduino and 16*2 LCD module for display. The alcohol/Gas sensor we used is the MQ-135 sensor. This is a sensor that is not only sensitive to alcohol, particularly ethanol, which is the type of alcohol which is found in wine, beer, and liquor. Instead of MQ-135, you can use MQ2, MQ3, MQ5 module as well. Basically they all have similar functions. This type of sensor circuit can be used as a breathalyzer to check a person’s blood alcohol level. Just as we exhale carbon dioxide when we breathe out, we also will breathe out some alcohol if we have alcohol in our blood. Any alcometer device can measure this alcohol content. The mo...

ARDUINO ULTRASONIC SENSOR TUTORIAL WITH CODE

ULTRASONIC SENSOR TUTORIAL This is Arduino based tutorial for ultrasonic sensor. in this video, I described how to connect ultrasonic sensor with Arduino also interface LCD with this. Component required for tutorial (1) Arduino microcontroller (2) Ultrasonic sensor (3) LCD ciruit diagram is given in video. Arduino Code for tutorial: Ultrasonic sensor tutorial by IGENTECH #include<LiquidCrystal.h> // include header file of lcd LiquidCrystal lcd(12, 11, 5, 4, 3, 2); //assign pins of lcd const int trigPin = 8; // assign trig pin to 8 const int echoPin = 7; // assign echo pin to 7 // defines variables long duration; int distance; void setup() {   lcd.begin(16,2); // begin lcd   lcd.print("UltrasonicSensor"); // print ultrasonic sensor on lcd   lcd.setCursor(0,2);            // set cursor to second row of lcd   lcd.print("   IGENTECH      ")...