LED SEQUENCER USING 11 LED WITH BUZZER SOUND USING ARDUINO NANO

LED SEQUENCER USING 11 LED WITH BUZZER SOUND USING ARDUINO NANO,

Light Effects and Sound Effects Arduino Nano shield, shield contains 11 LEDs ,one buzzer and INA198 current measurement , shield can be used to develop various projects like LED Bar-graph Volt Meter, Bar-Graph Current Meter, LED light effects, Warning light and sound.

Download Data Sheet INA198 Current Sensor

  • Supply 5V DC
  • 11 LEDS Connected to D2-D12 Digital Pins Of Arduino Nano
  • Buzzer Connected to Digital Pin D13 to Arduino

 

 Note : Don’t populate parts showan in doted box

11 LED SEQUENCER WITH SOUND ARDUINO NANO SCHEMATIC

 

11 LED SEQUENCER WITH SOUND ARDUINO NANO PCB TOP LAYER

 

 

ARDUINO CODE FOR 11 LED SEQUENCER AND BUZZER WARNING


*/

int led2 = 2; // LED connected to digital pin 2
int led3 = 3; // LED connected to digital pin 3
int led4 = 4; // LED connected to digital pin 4
int led5 = 5; // LED connected to digital pin 5
int led6 = 6; // LED connected to digital pin 6
int led7 = 7; // LED connected to digital pin 7
int led8 = 8; // LED connected to digital pin 8
int led9 = 9; // LED connected to digital pin 9
int led10 = 10; // LED connected to digital pin 10
int led11 = 11; // LED connected to digital pin 11
int led12 = 12; // LED connected to digital pin 12
int led13 = 13; // BUZZER connected to digital pin 13

void setup()
{
pinMode(led2, OUTPUT); // sets the digital pin as output LED
pinMode(led3, OUTPUT); // sets the digital pin as output LED
pinMode(led4, OUTPUT); // sets the digital pin as output LED
pinMode(led5, OUTPUT); // sets the digital pin as output LED
pinMode(led6, OUTPUT); // sets the digital pin as output LED
pinMode(led7, OUTPUT); // sets the digital pin as output LED
pinMode(led8, OUTPUT); // sets the digital pin as output LED
pinMode(led9, OUTPUT); // sets the digital pin as output LED
pinMode(led10, OUTPUT); // sets the digital pin as output LED
pinMode(led11, OUTPUT); // sets the digital pin as output LED
pinMode(led12, OUTPUT); // sets the digital pin as output LED
pinMode(led13, OUTPUT); // sets the digital pin as output BUZZER
}

void loop()
{
digitalWrite(led2, HIGH);
delay(100);
digitalWrite(led2, LOW);
delay(100);
digitalWrite(led3, HIGH);
delay(100);
digitalWrite(led3, LOW);
delay(100);
digitalWrite(led4, HIGH);
delay(100);
digitalWrite(led4, LOW);
delay(100);
digitalWrite(led5, HIGH);
delay(100);
digitalWrite(led5, LOW);
delay(100);
digitalWrite(led6, HIGH);
delay(100);
digitalWrite(led6, LOW);
delay(100);
digitalWrite(led7, HIGH);
delay(100);
digitalWrite(led7, LOW);
delay(100);
digitalWrite(led8, HIGH);
delay(100);
digitalWrite(led8, LOW);
delay(100);
digitalWrite(led9, HIGH);
delay(100);
digitalWrite(led9, LOW);
delay(100);
digitalWrite(led10, HIGH);
delay(100);
digitalWrite(led10, LOW);
delay(100);
digitalWrite(led11, HIGH);
delay(100);
digitalWrite(led11, LOW);
delay(100);
digitalWrite(led12, HIGH);
delay(100);
digitalWrite(led12, LOW);
delay(100);
digitalWrite(led13, HIGH);
delay(100);
digitalWrite(led13, LOW);
delay(100);
}

 

 

Leave a Reply

Your email address will not be published.