Posts

Showing posts from February, 2022

Infrared Wireless Audio communication

Image
IR wireless Audio Communication https://drive.google.com/file/d/1OzgX8MkR3WPlKDjP96nuO-x3V9N7uyxq/view?usp=sharing

Laser Beam Break alarm with Arduino and Passive Buzzer

Image
  Arduino sketch for Alarm circuit int button = 2;// connect a Normally open push button to pin 2 and GND of Arduino int passive_buzzer = 11;// connect a Passive buzzer to pin 11 and GND of Arduino void setup() {   pinMode (passive_buzzer, OUTPUT);// declared buzzer as an out put   pinMode (button, INPUT_PULLUP);// declared button as an input and internally Pulled Up(default value is +) } void loop() {   int buttonState = digitalRead(button);// variable buttonState will store the value of Pushbutton   if (buttonState == HIGH)// if Button is not pressed ring the Alarm   {     for (int i = 0; i < 250; i++)     {       digitalWrite(passive_buzzer, HIGH);       delay(1);       digitalWrite(passive_buzzer, LOW);       delay(1);     }     for (int i = 0; i < 125; i++)     {       digitalWrite(passive_buzzer, HIGH);       delay(2);       digitalWrite(passive_buzzer, LOW);       delay(2);     }   } }

Interfacing KY006(Passive Buzzer) with Arduino

Image
 Interfacing KY006(Passive Buzzer) with  Arduino Sketch for Police Alarm int passive_buzzer = 11; void setup() {   pinMode (passive_buzzer, OUTPUT); } void loop() { for (int i=0;i<250; i++) {   digitalWrite(passive_buzzer,HIGH);   delay(1);   digitalWrite(passive_buzzer,LOW);   delay(1); } for (int i=0;i<125; i++) {   digitalWrite(passive_buzzer,HIGH);   delay(2);   digitalWrite(passive_buzzer,LOW);   delay(2);

Interfacing KY-012(Active Buzzer) with Arduino

Image
 Interfacing an Active Buzzer with Arduino //Sketch-Straight beep int active_buzzer =11;// connect the active buzzer to the pin 7 of Arduino. void setup() {    pinMode(active_buzzer,OUTPUT); } void loop() {   digitalWrite(active_buzzer,HIGH);   delay(5);   digitalWrite(active_buzzer,LOW);   delay(1); } //Sketch-Alarm beep int active_buzzer =11;// set a variable name active buzzer and assign pin to 3  void setup() {    pinMode(active_buzzer,OUTPUT);// set pin as an output } void loop() {   digitalWrite(active_buzzer,HIGH);   delay(500);   digitalWrite(active_buzzer,LOW);   delay(5); }

Triac Driver MOC3021

Image
 

FLIP-FLOP Circuit with 555 IC

Image
Flip_Flop Circuit with 555 IC  

LED chaser with 555 and 74HC 595

Image
 https://drive.google.com/file/d/1IHLlfFyqIABhjMI1hE7TOqzuAuftkF2r/view?usp=sharing LED Chaser 555,74HC595

32LED Chaser with 74HC595 and Arduino

Image
 Download link for HC595 library-https://github.com/j-bellavance/HC595 github link-https://github.com/anokhramesh/32LED-Chaser-with-Arduino-and-ShiftRegister  Download link for Arduino sketch-https://drive.google.com/file/d/1E65cX4eCXkkibpIKx71sdCW6jb8Vvz_f/view?usp=sharing