Building an Arduino-based Car Parking System with IR Sensor: A Comprehensive Tutorial

Поділитися
Вставка
  • Опубліковано 17 вер 2024
  • In this comprehensive tutorial, you will learn how to build an Arduino-based car parking system using an IR sensor. The tutorial will guide you through the step-by-step process of creating your own parking system from scratch.
    Starting with an introduction to the components and tools needed, you will gain a clear understanding of the project requirements. You will then delve into the detailed wiring instructions, connecting the Arduino board and IR sensor effectively.
    Once the hardware setup is complete, the tutorial will walk you through the programming aspect. You will learn how to write the necessary code to interface the IR sensor with the Arduino board. This code will enable the system to detect the presence of vehicles and provide real-time feedback.
    Furthermore, you will explore how to calibrate the IR sensor for optimal performance and accuracy. The tutorial will explain the principles behind the sensor's operation and guide you in adjusting its sensitivity to match your specific parking space requirements.
    Throughout the tutorial, troubleshooting tips and common challenges will be addressed to help you overcome any obstacles you may encounter during the process.
    By the end of this tutorial, you will have gained valuable knowledge and hands-on experience in building an Arduino-based car parking system using an IR sensor. You will be able to apply your newfound skills to create custom parking solutions and enhance your understanding of Arduino programming and sensor integration.
    Download Code:
    drive.google.c...
    Components:
    Arduino Uno
    2 IR sensor
    Servo motor
    Breadboard (400 pin)
    Jumper wire
    I2C Module
    7 Segment LCD Display
    Battery Holder
    3.7v Lithium Battery (2)

КОМЕНТАРІ • 69

  • @anupm6486
    @anupm6486 Рік тому +1

    Extremely good explanation and good project. I have one point , at 12:36 when the green car is sensed by left IR sensor the display tells that 1 slot is available. But the car hasn't yet been sensed by right side IR. I would suggest to update the logic. Only when right IR senses the car then update the free slots.
    I'm new to Arduino but I'm experienced embedded software Developer. So just thought of informing u this point. Don't mistake me that I'm criticising u.
    U have done a great project.🙏🤝

    • @robo-code
      @robo-code  Рік тому

      sure little tweak is required in the logic, counter should increment once the car passes. Thanks for the update

    • @anupm6486
      @anupm6486 Рік тому

      @@robo-code ok, thanks. I wanted to know how do u simulate electronics? I have seen Tinkercad. Which are the best circuit simulators to play with electronics.

  • @arjumandvillagecooking
    @arjumandvillagecooking Рік тому +2

    Thank you so much❤😍

  • @DRIGI2891
    @DRIGI2891 3 дні тому

    hi is this considered as IOT?

  • @TahleelMeow12345
    @TahleelMeow12345 4 місяці тому

    Are you using 30x male-female jumper wires or 10x ?

  • @Assefa-yo1od
    @Assefa-yo1od 5 місяців тому

    sir how to control the park only enter car with out car the servo moter is not open how to interface this instalation

  • @TinZarAung-mz5xe
    @TinZarAung-mz5xe 3 місяці тому

    Can you share your LCD library link in my comment? I am doing like your project but my arduino code has error. Please can you help me?

  • @harshasinha415
    @harshasinha415 Рік тому +1

    i dont have breadtboard what to do?

    • @robo-code
      @robo-code  Рік тому

      you can also make a circuit without any tools at all. This is called a "bare bones" circuit. To make a bare bones circuit, you will need to strip the insulation off the ends of the wires and then twist them together. You can then connect the wires to the components.

  • @Assefa-yo1od
    @Assefa-yo1od 5 місяців тому

    how to interface camera module

  • @parvathaparahalathan224
    @parvathaparahalathan224 7 місяців тому

    Bro, I'm having an doubt. What is the use of I2c Module??

    • @robo-code
      @robo-code  7 місяців тому

      Using an I2C module with a 16x2 LCD display is a popular way to reduce the number of GPIO pins needed when interfacing with a microcontroller like an Arduino. The I2C module, allows communication via the I2C bus, using only two pins (SDA and SCL) for data transmission, in addition to power (VCC) and ground (GND) connections.

  • @tirupatitate3890
    @tirupatitate3890 6 місяців тому

    Sir I use 16*2 lcd display insted of 7 segment lcd display.....
    So is there any another code or not....
    I have done all circuit and on also but does not any on display....
    Plz reply sir

    • @TheMi_Jiji
      @TheMi_Jiji 4 місяці тому

      just change the lcd.begin() to lcd.init()

  • @manveerrajput5457
    @manveerrajput5457 3 місяці тому

    bro code is not working it show void setup and void loop error
    pleas help

  • @vhgh1118
    @vhgh1118 10 місяців тому

    Sir, how battery is connected please tell i am in last process please tell sir

    • @robo-code
      @robo-code  7 місяців тому

      Go to 10:25 to see how to connect battery

  • @aviationislife1270
    @aviationislife1270 7 місяців тому

    can we use 9v battery

    • @robo-code
      @robo-code  7 місяців тому

      You can use 9V battery

  • @vhgh1118
    @vhgh1118 10 місяців тому

    Bro how to use blynk app in iot car parking

    • @robo-code
      @robo-code  7 місяців тому

      I will try to post video using Blynk App

  • @aviationislife1270
    @aviationislife1270 8 місяців тому

    Can we use 9 v battery ??

    • @robo-code
      @robo-code  7 місяців тому

      Yes we can connect 9V Battery

  • @bocuatrinhsontra6374
    @bocuatrinhsontra6374 10 місяців тому

    Bro i have error if i connect servo. My board restart continuously and cant use

    • @robo-code
      @robo-code  7 місяців тому

      can you try chaning servo motor and check the connection once again

  • @pavi2964
    @pavi2964 3 місяці тому

    Bro where to search for lcd Arduino library??

    • @chiyankwan611
      @chiyankwan611 3 місяці тому

      Tools -> Libary manager -> Manage libraries...

  • @user-wm1my5pd2j
    @user-wm1my5pd2j 10 місяців тому

    Please, I want to perform an experiment like this, but the matter is to open the gate by numbering a car. Help me, brother

    • @robo-code
      @robo-code  7 місяців тому

      can you please explain in detail, would love to help you

  • @userame-ly1tp
    @userame-ly1tp 4 місяці тому

    Hlo sir how to download Arduino liquid crystal library...

    • @robo-code
      @robo-code  18 днів тому

      drive.google.com/file/d/1hRI9vUXCImIrHlimNj65Btt-zv04uGHK/view?usp=sharing

  • @abdallahhachimi6579
    @abdallahhachimi6579 4 місяці тому

    I am trying to download the code but it says no file available

    • @robo-code
      @robo-code  4 місяці тому

      drive.google.com/drive/folders/1BR457JMZZ0oli2WUOgtTWxeSq4NJluZg?usp=sharing

  • @lukaluka5019
    @lukaluka5019 Рік тому

    Bonjour à la 7:05 je ne vois pas où il branche le orange peut t'on m'aider s'il vous plais

    • @robo-code
      @robo-code  Рік тому

      Veuillez vérifier 4:19 sur la façon de se connecter au fil orange. Il est relié au point numéro 4

  • @11upxm86
    @11upxm86 11 місяців тому

    Bro we have done all the above turorial but coming to Arduino uno code .i2c scanner its scanning only not giving output and lcd display not on

    • @robo-code
      @robo-code  10 місяців тому

      Please check the connection and see if the code is uploaded properly

    • @sasuke01325
      @sasuke01325 10 місяців тому

      bro i am also facing this error @robo-code i also checked all the connection but it is not working i am also facing the issue

    • @11upxm86
      @11upxm86 10 місяців тому

      ​@@sasuke01325hii broo can you give ur Instagram or contact details. I have facing same issues can we discuss about this project

    • @11upxm86
      @11upxm86 10 місяців тому

      I have 16x2 display bro please give the code for that

    • @sasuke01325
      @sasuke01325 10 місяців тому

      @@11upxm86 Wire.beginTransmission(address);
      error = Wire.endTransmission();
      the error is in this line

  • @vhgh1118
    @vhgh1118 10 місяців тому

    I2c scannee struck on scanning

    • @robo-code
      @robo-code  7 місяців тому

      Please upload the code once again and try again

  • @AhmedAfeef_.77
    @AhmedAfeef_.77 Місяць тому

    Provide me the circuit diagram of it.

    • @robo-code
      @robo-code  18 днів тому

      drive.google.com/file/d/1W6fJ8EFwo0cl0TnNzbV5kDMBfMqSFPlb/view?usp=sharing

  • @n.roshanbabu8476
    @n.roshanbabu8476 Рік тому +1

    Bro your code link is not opening please send another code bro

    • @robo-code
      @robo-code  Рік тому

      Car_Parking_Sys.ino and LCD_Scanner.ino you can open using Arduino IDE. You can also open this file by opening Notepad and locate the file and open it. Or you can download the file and open in Arduino IDE directly

  • @suyogvishwakarma1170
    @suyogvishwakarma1170 5 місяців тому +1

    Hii bro I have to submit my project within 4 days I tried to create the same but it's not working plzzz help 😭😭❤❤

  • @vhgh1118
    @vhgh1118 10 місяців тому

    Sir lcd is not turning on please sir please sir

    • @robo-code
      @robo-code  7 місяців тому

      Please try to change LCD and see if it is working

  • @donianimer1576
    @donianimer1576 11 місяців тому

    code file is empty, can you share it plz

    • @robo-code
      @robo-code  11 місяців тому

      can you please try this link drive.google.com/drive/folders/1BR457JMZZ0oli2WUOgtTWxeSq4NJluZg

  • @jessecardoso5529
    @jessecardoso5529 4 місяці тому

    send me code ..please

  • @vhgh1118
    @vhgh1118 10 місяців тому

    Sir, i2c in program is scanning not getting 0*27 please tell sir tomorrow submission please sir

    • @robo-code
      @robo-code  7 місяців тому

      Please check your connection once again

  • @uthayakumarpurusothman8669
    @uthayakumarpurusothman8669 Рік тому

    Bro unfortunately i have 16x 2 lcd display will it works

  • @marybnr9951
    @marybnr9951 2 місяці тому

    Thank you so much can't wait to see whats next🫶❤️