How to Make a Garage Door (EASY!!!)
Introduction: How to Make a Garage Door (EASY!!!)
This is a EASY arduino project that you could create to impress your teacher and friends. This project is an IR sensor-controlled garage door. It uses 2 Servo motor's to move the garage door into an opened and closed orentation. The inferred sensor (IR) is effective and long range with a range of 1-5 meters. This project is great When paired with an arduino car project.
Supplies
Electronics:
* 2 Servo Motor's
* 1 Infarred Sensor (IR)
* 1 Infarred Remote (IR) (any tv remote works)
* 2 Resistors
* 5-10 LED's (optional)
* 1 Breadboard
* 1 Arduino Uno
Accessories:
* Frame (wood, 3D printed)
* Construction Paper (Garage door)
Tools:
* 1 Wire Cutter
* 1 Glue Gun
* 1 Soldering Iron
Power/Connections:
* Wires
* 2 9v Batteries
* 1 battery cap (buckle connector)
* 1 battery cap (male DC plug)
Step 1: Research
There was a planning process before I started this project to figure out what to do. I wanted to create something unique that had never been done before, and I couldn't find anything on garage doors. So, right there, I confirmed my project idea. This section contains background information on the most important and intricate components.
Arduino:
* Arduino is an open-source electronics platform that uses simple hardware and software to make it easy to use. Arduino boards can take inputs - such as light from a sensor, a finger on a button, or a Twitter message - and convert them to outputs - such as turning on an LED, triggering a motor, or publishing anything online. The arduino uses the format code of C++.
Infarred Receiver (IR):
* IR(Infrared) Receiver Extender cable, which consists of an IR receiver and a plug connected by a wire, is used to conveniently receive and amplify the infrared remote controller signal. The epoxy package and shell of an infrared receiver can filter out visual interference.
Servo Motor:
* A servomotor (or servo motor) is a rotary actuator or linear actuator that can control angular or linear position, velocity, and acceleration precisely. It consists of a suitable motor coupled to a position feedback sensor.
Transistor (NPN):
* The NPN transistor is designed to pass electrons from the emitter to the collector (so conventional current flows from collector to emitter). 769
The emitter "emits" electrons into the base, which controls the number of electrons the emitter emits.
Step 2: Wiring Part 1
Before Starting the wiring let me tell you what each wire color represents:
Black = Ground
Red = Power
Green = Arduino Output To BredBoard
Blue = Arduino Output To Component
Steps:
1. Connect power and ground from the arduino to the bredboard
2. Connect the first servo to pin 11 on the arduino
3. Connect the second servo to pin 3 on the arduino
Note : connecting the servos to the arduino will allow it to send code straight to the servo
Step 3: Wiring Part 2
In this wiring step, we will connect the IR receiver. The IR Reciver is the most important component in this project because it connects to a controller, which sends signals to the arduino and then to the servo to tell it to move up and down when pressed.
Steps:
1. Connect the IR Reciver to pin 7 on the arduino
2. connect the IR Reciver to Power and Ground
Note : For the IR Controller you will program that in the coding section. also make sure that the IR reciver in facing in the downwards direction of the bredboard
Step 4: Wiring Part 3 (optional)
This step is optional; it simply adds a spark to the project by turning on a light when the garage opens and off when the garage closes. Instead of just one led, I soldered eight together to make a chandalier. Looking at the diagram, the inner circle connects to ground, while the outer circle connects to power.
Steps:
1. Connect Arduino pin 4 to the transistor's base (make sure the connection is through a 1k OHM resistor)
2. Connect the LED's negative side to the emitter and positive side to power from the bredboard (make sure poweris connected thorugh a 330 OHM resistor)
3. Connect the transistor's collector side to ground directly.
Step 5: Code
Simply copy and paste the code into the Arduino editor and connect your computer to the Arduino to upload it. 991