Arduino Nano Blink and Buzz Project Using 11 LEDs & Buzzer

Another project using Arduino Nano 11 LEDs and buzzer shield, LEDs connected  to D2-D12 of Arduino Nano and buzzer connected to D13 of Arduino Nano,  Simple example code flashing at speed of 100mili seconds on/off.

Watch Video On You Tube

Schematic

 

 

PCB TOP LAYER

 

 

PCB LAYOUT

 

 

Arduino Code


/*
Blink & Buzz Code www.twovolt.com

Turns on LEDS & Buzzer for 100 Mili seconds,
then off 100 Mili seconds, repeatedly.
This example code is based on example code
that is in the public domain.
*/
void setup() {
// initialize the digital pin as an output.
// Pin 2-11 has LEDs & Pin 13 has buzzer connected on Arduino:
pinMode(2, OUTPUT);
pinMode(3, OUTPUT);
pinMode(4, OUTPUT);
pinMode(5, OUTPUT);
pinMode(6, OUTPUT);
pinMode(7, OUTPUT);
pinMode(8, OUTPUT);
pinMode(9, OUTPUT);
pinMode(10, OUTPUT);
pinMode(11, OUTPUT);
pinMode(12, OUTPUT);
pinMode(13, OUTPUT);
}
void loop() {
digitalWrite(2, HIGH); // set the LED on
digitalWrite(3, HIGH); // set the LED on
digitalWrite(4, HIGH); // set the LED on
digitalWrite(5, HIGH); // set the LED on
digitalWrite(6, HIGH); // set the LED on
digitalWrite(7, HIGH); // set the LED on
digitalWrite(8, HIGH); // set the LED on
digitalWrite(9, HIGH); // set the LED on
digitalWrite(10, HIGH); // set the LED on
digitalWrite(11, HIGH); // set the LED on
digitalWrite(12, HIGH); // set the LED on
digitalWrite(13, HIGH); // set the Buzzer on
delay(100); // wait for a second
digitalWrite(2, LOW); // set the LED off
digitalWrite(3, LOW); // set the LED off
digitalWrite(4, LOW); // set the LED off
digitalWrite(5, LOW); // set the LED off
digitalWrite(6, LOW); // set the LED off
digitalWrite(7, LOW); // set the LED off
digitalWrite(8, LOW); // set the LED off
digitalWrite(9, LOW); // set the LED off
digitalWrite(10, LOW); // set the LED off
digitalWrite(11, LOW); // set the LED off
digitalWrite(12, LOW); // set the LED off
digitalWrite(13, LOW); // set the Buzzer off
delay(100); // wait for a second
}


 

 

 

 

MINI MICROPHONE PRE-AMPLIFIER USING LM358

This is easy to construct microphone pre-amplifier project using compact electret condenser microphone. The pre-amplifier is important building block of many audio communication systems. Circuit has been built around Op-Amp LM358.

 

  •  Power supply : 5 to 12 VDC @ 10 mA
  •  Output: Gain Approx. 100
  •  On-Board electret condenser microphone 
  •  Header connector for connecting of power supply input and audio output
  •  Power-On LED indicator

 

 

 

 

 

 

1 2