How to Make a Siren Using Arduino

My project is a button controlled siren with different LED transitions. You can change the siren sound with each press.

Feb 17, 2018

67633 views

21 respects

Components and supplies

1

Pushbutton switch 12mm

10

LED (generic)

1

Resistor 100 ohm

1

Breadboard (generic)

1

Jumper wires (generic)

10

Resistor 221 ohm

1

Buzzer

1

9V battery (generic)

1

Resistor 10k ohm

1

Arduino UNO

Project description

Code

Siren Code Arduino

Here is the code!

/

0
0
Latest commit to the master branch on Invalid date

Siren Code Arduino

Here is the code!

/

0
0
Latest commit to the master branch on Invalid date

Downloadable files

Circuit & Connections

STEP A: (Connecting LED) As we are basically building a siren, red and blue flashes look cool. So take 5 red and 5 blue LEDs. Now, connect the negative terminal of these LEDs with a 220 ohm resistor (current limiting) to the negative rail of the breadboard as shown in the circuit diagram. Positive ends of red LEDs are connected to pin 3 to pin 7, while the positive ends of blue LEDs are connected to pin 8 to pin 12 of Arduino's digital pin. STEP B: (Connecting Piezo Buzzer) Now, it's time to connect our buzzer and the pushButton to the breadboard. Connect the Piezo buzzer with a 100 ohm resistor to the negative rail and positive end of buzzer connected to pin 13. STEP C: (Connecting pushButton) Connect one out of four pins of pushButton with pin 2 and connect down it to GND rail using a pull down resistor of 10k ohm. Connect 5V with another button pin as shown in the circuit diagram.

Circuit & Connections

Circuit & Connections

STEP A: (Connecting LED) As we are basically building a siren, red and blue flashes look cool. So take 5 red and 5 blue LEDs. Now, connect the negative terminal of these LEDs with a 220 ohm resistor (current limiting) to the negative rail of the breadboard as shown in the circuit diagram. Positive ends of red LEDs are connected to pin 3 to pin 7, while the positive ends of blue LEDs are connected to pin 8 to pin 12 of Arduino's digital pin. STEP B: (Connecting Piezo Buzzer) Now, it's time to connect our buzzer and the pushButton to the breadboard. Connect the Piezo buzzer with a 100 ohm resistor to the negative rail and positive end of buzzer connected to pin 13. STEP C: (Connecting pushButton) Connect one out of four pins of pushButton with pin 2 and connect down it to GND rail using a pull down resistor of 10k ohm. Connect 5V with another button pin as shown in the circuit diagram.

Circuit & Connections

Hardware Required

Hardware Required

Comments

Only logged in users can leave comments

coding_killer

0 Followers

0 Projects

Table of contents

Intro

21

0