Monday, April 18, 2016

Arduino Continuous Opening and Closing Gate System with LED, Buzzer and Servo


Note:

Here I have only given the circuit diagrams and schematics. I have no yet implemented this on hardware, but it should work.

What is it?

The two servo motor signifies two continuous opening and closing gates. The buzzer and the LED notifies that the gates have opened open.

Connect the negative pin of buzzer to ground and positive to pin $ 13 $. For LED connect cathode to ground and connect anode to a one pin of resistor. Connect the other pin of the resistor to pin $ 13 $ of arduino.

Here, pin $ 13 $ is used for lighting LED and starting the buzzer. Whenever LED lights up the buzzer is also enabled. Pin $ 9 $ and $ 10 $ is used for mini servo and servo respectively.

Connect both servo ground to arduino ground and Vcc to arduino $ 5V $. Finally connect the signal pins. Connect signal pin of mini servo to $ D9 $ and connect the other servo signal pin to $ D10 $.

Components:

1. $ 220 k \Omega $ Resistor.
2. LED.
3. Buzzer.
4. Servo.
5. Mini Servo.

Virtual Project Screenshot:

Schematic:

Arduino Code:


No comments: