Automatic Door Opening Using IR Sensor | Arduino Projects

Поделиться
HTML-код
  • Опубликовано: 11 авг 2021
  • Automatic Door Opening Using IR Sensor
    In this experiment we are using Arduino Uno, IR Sensor, Servo Motor. When the IR sensor detects any object, it will trigger the servo motor to rotate and the servo motor will be back to its original position after 2 seconds
    Required Components
    ==================
    1. Arduino Uno
    2. IR Sensor
    3. Servo Motor
    Components Link
    ===============
    1. Arduino Uno - robu.in/product/arduino-uno-r3/
    2. IR Sensor - robu.in/product/ir-infrared-o...
    3. Servo Motor - robu.in/product/towerpro-sg90...
    Software Required
    ===============
    1. Arduino IDE - www.arduino.cc/en/main/software
    2. Programming Language - C Language
    Source Code
    ===========
    github.com/Tech-Trends-Shamee...
    Reference Video of Arduino Experiments
    ======================================
    1. Control LED from Mobile using Blynk App
    • Control LED from Mobil...
    2. How to display text in TFT LCD Display
    • How to display text in...
    3. Control Bulb using RFID
    • Control Bulb Using RFI...
    4. Rain Monitoring System
    • Rain Monitoring System...
    5. Rain Alarm Notification in Mobile
    • Rain Alarm Notificatio...
    6. Smoke Detector Alarm Without Arduino
    • Smoke Detector Without...
    7. RFID Security System with LCD
    • RFID Security System W...
    8. Fire Alarm Without Using Arduino for 80 Rs.
    • Fire Alarm Without Ard...
    9.Temperature Monitoring System | IOT Projects
    • Temperature Monitoring...
    10. Fire Alarm Notification in Mobile
    • Fire Alarm Notificatio...
    11. Motion Sensor Control ElectriC Bulb | Home Automation
    • Motion Sensor Control ...
    12. Motion Sensor Control LED
    • Motion Sensor Control ...
    13. Contactless Doorbell | Home Automation
    • Contactless Doorbell |...
    14. Touch Control Electric Bulb
    • Touch Control Electric...
    15. Facial Expressions Display using Arduino Uno
    • Facial Expression Disp...
    16. Smart Irrigation System
    • Smart Irrigation Syste...
    17. Remote Control LED
    • Remote Control LED usi...
    18. Electronic Voting Machine
    • Electronic Voting Mach...
    19. RFID Security System
    • RFID Security System u...
    20. KeyPad Security System
    • KeyPad Security System...
    Music: www.bensound.com
    ♥ Facebook: / techtrendsshameer
    ♥ Instagram: / tech_trends_shameer
  • НаукаНаука

Комментарии • 80

  • @perezviaromart3178
    @perezviaromart3178 2 года назад +1

    Sir my servo isnt stopping rotating what shoupd i do?

  • @rajeshagarwal9600
    @rajeshagarwal9600 2 года назад +2

    Thank you for this project

  • @kamalikabandara2592
    @kamalikabandara2592 Год назад +1

    Thank you sir

  • @adambeedle
    @adambeedle 2 года назад +1

    Awesome bro 👍

  • @stdfgaming5340
    @stdfgaming5340 Год назад +1

    Thanks

  • @rbtgaming9292
    @rbtgaming9292 5 месяцев назад

    Sir how to use 9v battery here

  • @rajeshraj4076
    @rajeshraj4076 2 года назад +1

    Tysm ,for making my day so special ....we got good marks in our project...

    • @TechTrendsShameer
      @TechTrendsShameer  2 года назад +1

      Thank you. Keep Supporting and share with your friends about the channel.

  • @sarmascollections204
    @sarmascollections204 2 года назад +1

    Hi sir,
    If car is continuously stopped at the sensor, gate is closed or not?

    • @TechTrendsShameer
      @TechTrendsShameer  2 года назад

      Door will be open, if the car is at the same point near to the sensor.

  • @Abhishek6855
    @Abhishek6855 9 месяцев назад +1

    sir this project is very nice . but i want to ,when door is open . or closed.then i want door closed 20 second , how it will happen . sir plz reply

    • @TechTrendsShameer
      @TechTrendsShameer  9 месяцев назад +1

      Change the delay in the below code. If you want 20 sec, change to delay(20000);
      if (val==0)
      {
      tap_servo.write(0);
      delay(2000);
      tap_servo.write(180);
      }

  • @tanugupta1170
    @tanugupta1170 2 года назад +1

    Sir , what to do if we have to rotate only 90 deg

    • @TechTrendsShameer
      @TechTrendsShameer  2 года назад

      Try this please
      void loop(){
      val = digitalRead(sensor_pin);
      Serial.println(val);
      if (val==0)
      {
      tap_servo.write(0);
      delay(2000);
      tap_servo.write(90);
      }
      }

  • @chirlaramareddy9923
    @chirlaramareddy9923 2 года назад +2

    Sir the servo motor is rotating without stopping what should i do i have used the same code

  • @yaswanth4822
    @yaswanth4822 11 месяцев назад

    I have little doubt regarding this, will you clarify it

  • @manii_xx
    @manii_xx 2 месяца назад +2

    What is the full coding of the ir sensor?😅

  • @aquamarine_editz
    @aquamarine_editz Год назад +1

    Hi,
    My ir sensor is working but he servo is not moving why?

    • @TechTrendsShameer
      @TechTrendsShameer  Год назад

      please check with your servo motor with a simple experiment and make sure no defect with the servo motor.

    • @aquamarine_editz
      @aquamarine_editz Год назад

      Ok

  • @fatimaalketbi5525
    @fatimaalketbi5525 4 месяца назад +1

    If I took the computer it we’ll keep working???

  • @ganeshganu295
    @ganeshganu295 8 месяцев назад +1

    We can put 2 ir sensors

  • @gunjandhakate8363
    @gunjandhakate8363 6 месяцев назад +1

    can i get the pinout diagram for the circuit

  • @ashvinpatel7088
    @ashvinpatel7088 9 месяцев назад +2

    ERROR CODE UPLODING EXIT STATUS 1

  • @shineky
    @shineky 8 месяцев назад +1

    Arduino nano bisa nggak?

  • @best_baswanth_projects4785
    @best_baswanth_projects4785 Год назад +1

    Sir project program pettandi plz

  • @amruthalakshmy1123
    @amruthalakshmy1123 Год назад +1

    Sir program

  • @user-hq7et9fd9i
    @user-hq7et9fd9i 11 месяцев назад +1

    Bro code not working and no open no downlod

    • @TechTrendsShameer
      @TechTrendsShameer  11 месяцев назад

      Try this
      github.com/Tech-Trends-Shameer/Arduino-Projects/tree/main/Automatic-Door-Opening-Using-IR-Sensor

  • @stdfgaming5340
    @stdfgaming5340 Год назад

    sirt em18 door lock plz sir video 25 date last date plz sirr

  • @shahrulnizam1478
    @shahrulnizam1478 Год назад +1

    sir..

  • @user-oc5uz2yv8f
    @user-oc5uz2yv8f 2 месяца назад +1

    You can get the Arduino code

  • @vimalagavarriah4931
    @vimalagavarriah4931 5 месяцев назад +1

    Sir can you send me the code please

  • @aditisemwal3660
    @aditisemwal3660 Год назад +1

    Can you send me code if i wanna add lcd display which will indicate if door open display will write door ope ned and close also

  • @joydeepbhandary902
    @joydeepbhandary902 5 месяцев назад +1

    only usefull for class 6 school projects

  • @tanugupta1170
    @tanugupta1170 2 года назад +1

    Sir, i have made smart parking using two ir sensor along with servo..the hardware connection is all correct but my servo is not rotating as per the codee...what to dooo Sir 🥺🥺😭😭

    • @TechTrendsShameer
      @TechTrendsShameer  2 года назад +1

      Can you please check the servo with a simple program and make sure servo motor is working fine ?

    • @tanugupta1170
      @tanugupta1170 2 года назад +1

      @@TechTrendsShameer yes sir i checked actually when a vehicle comes in the front of first ir sensor..servo do not rotate to 90 degre..then after some delay it rotates but as it come in front of second ir sensor servo have to come back to 0 deg ..
      But not working sir !!

    • @TechTrendsShameer
      @TechTrendsShameer  2 года назад

      Can you please send a message in my Instagram

  • @techstudent1038
    @techstudent1038 6 месяцев назад +1

    Can we use Esp8266 module instead of Arduino?

  • @GullNasreen-lk8su
    @GullNasreen-lk8su 5 месяцев назад +1

    Coding send kare plz

  • @ruru_ce
    @ruru_ce 2 года назад +1

    sir, I can't access the code sir : (

    • @TechTrendsShameer
      @TechTrendsShameer  2 года назад

      Please check this
      github.com/Tech-Trends-Shameer/Arduino-Projects/tree/main/Automatic-Door-Opening-Using-IR-Sensor

  • @mang122
    @mang122 2 года назад +1

    hello i messaged your ig acc because my project works but the motor dosent spin

  • @TrueknowledgeNothingfake-cd9lj
    @TrueknowledgeNothingfake-cd9lj 7 месяцев назад

    This door used by his mom...

    • @TechTrendsShameer
      @TechTrendsShameer  7 месяцев назад +1

      come on instagram. you Bloody idiot. Reveal your original id and comment it. Not mine yours. Stupid.

  • @vimalagavarriah4931
    @vimalagavarriah4931 5 месяцев назад +1

    Sir can you send me the code please