Link of YouTube video for more details
Automatic Door Open.
While entering a lot of hotels or company you can see that they have doors opened automatically
And now I can say it is a very easy idea. It is all about using a sensor which detect motion and by programming or logic the output signal from sensor could control the motor in charge of opening the door
I use Tinker Cad for simulation https://www.tinkercad.com/
Wires to make connections
Servo motor to lock or unlock the door
IR sensor to detect any motion
Arduino Uno to control IR and Servo
Arduino IDE to upload the code on (Run the program)
breadboard to make wiring easy
TO better view check the circuit by your self
https://www.tinkercad.com/things/4LsvoY4bWdC-automatic-door-open
Make the circuit on Tinker Cad and make sure from connections.
Translate what I want to Code blocks (If IR sensor detect motion rotate servo 90 and wait one second degree else rotate it to zero and wait one second).
Start simulation and make sure it work correctly.
Make the connections real
Download the code on Arduino IDE to run it on Arduino board (You can find the code file at Assignment Design Files
its "Door Automatic Open.ino" )
See the results and be PROUD
While the last offline session I had a challenge to make a wave hand
through the progress my team had a lot of errors in connections due to that We do not use color code wiring and also we forgot to connect the positive and negative sides of Arduino as showed in the figure.
THE Moral use red wires to connect positive pole and black ones to connect negative pole (use color code wiring)
While the last offline session I had a challenge to make a wave hand
through the progress I make a dangerous mistake it was that
I swapped between the positive and negative wiring
I was connecting it to my servo and Arduino
the servo be very hot (You can not touch it ) and I could not find the mistake until the instructor (Ahmed Abdelnaser ) helped me and discovered it (AND finally the waving hands were worked correctly)
it is a dangerous mistake, its badly effect could damage your USB portal
So Take CARE ADOUT THIS ONE