Arseniy Nechaev
Published © GPL3+

Police Siren

Make a police siren with an Arduino.

BeginnerProtip4,945
Police Siren

Things used in this project

Hardware components

Assorted LEDs
×1
Jumper wires (generic)
Jumper wires (generic)
×1
Arduino UNO
Arduino UNO
×1

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

Hands

Story

Read more

Schematics

20181128_162937_q4japBZFLS.jpg

Code

Untitled file

C/C++
//By Arseniy Nechaev 11/28/2018
 void setup() {
  
  pinMode(13, OUTPUT); //Digital pin 13 connected
  pinMode(12, OUTPUT); //Digital pin 12 connected
}


void loop() {
  digitalWrite(13, HIGH);   
  delay(100);
  digitalWrite(12, LOW); 
  delay(100);                      
  digitalWrite(13, LOW);    
  delay(100);
  digitalWrite(12, HIGH);
  delay(100);                       
}

Credits

Arseniy Nechaev

Arseniy Nechaev

6 projects • 11 followers
I am 12 years old, and a newbie to engineering. I started doing this because I love to look at circuits, PCBs, and inside electronics.

Comments