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

Поделиться
HTML-код
  • Опубликовано: 20 май 2023
  • 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.com/drive/folder...
    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)

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

  • @arjumandvillagecooking
    @arjumandvillagecooking 10 месяцев назад +2

    Thank you so much❤😍

    • @robo-code
      @robo-code  9 месяцев назад

      You're welcome 😊

  • @anupm6486
    @anupm6486 10 месяцев назад +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  10 месяцев назад

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

    • @anupm6486
      @anupm6486 10 месяцев назад

      @@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.

  • @TahleelMeow12345
    @TahleelMeow12345 Месяц назад

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

  • @Assefa-yo1od
    @Assefa-yo1od 3 месяца назад

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

  • @Assefa-yo1od
    @Assefa-yo1od 3 месяца назад

    how to interface camera module

  • @userame-ly1tp
    @userame-ly1tp Месяц назад

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

  • @TinZarAung-mz5xe
    @TinZarAung-mz5xe Месяц назад

    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?

  • @parvathaparahalathan224
    @parvathaparahalathan224 4 месяца назад

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

    • @robo-code
      @robo-code  4 месяца назад

      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 4 месяца назад

    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 2 месяца назад

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

  • @vhgh1118
    @vhgh1118 8 месяцев назад

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

    • @robo-code
      @robo-code  4 месяца назад

      Go to 10:25 to see how to connect battery

  • @harshasinha415
    @harshasinha415 10 месяцев назад +1

    i dont have breadtboard what to do?

    • @robo-code
      @robo-code  9 месяцев назад

      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.

  • @vhgh1118
    @vhgh1118 8 месяцев назад

    Bro how to use blynk app in iot car parking

    • @robo-code
      @robo-code  5 месяцев назад

      I will try to post video using Blynk App

  • @bocuatrinhsontra6374
    @bocuatrinhsontra6374 7 месяцев назад

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

    • @robo-code
      @robo-code  4 месяца назад

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

  • @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

  • @manveerrajput5457
    @manveerrajput5457 28 дней назад

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

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

    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  8 месяцев назад

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

    • @sasuke01325
      @sasuke01325 8 месяцев назад

      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 8 месяцев назад

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

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

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

    • @sasuke01325
      @sasuke01325 8 месяцев назад

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

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

    Can we use 9 v battery ??

    • @robo-code
      @robo-code  5 месяцев назад

      Yes we can connect 9V Battery

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

    can we use 9v battery

    • @robo-code
      @robo-code  5 месяцев назад

      You can use 9V battery

  • @user-wm1my5pd2j
    @user-wm1my5pd2j 8 месяцев назад

    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  5 месяцев назад

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

  • @n.roshanbabu8476
    @n.roshanbabu8476 11 месяцев назад +1

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

    • @robo-code
      @robo-code  10 месяцев назад

      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

  • @pavi2964
    @pavi2964 Месяц назад

    Bro where to search for lcd Arduino library??

    • @chiyankwan611
      @chiyankwan611 Месяц назад

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

  • @vhgh1118
    @vhgh1118 7 месяцев назад

    I2c scannee struck on scanning

    • @robo-code
      @robo-code  5 месяцев назад

      Please upload the code once again and try again

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

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

    • @robo-code
      @robo-code  2 месяца назад

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

  • @donianimer1576
    @donianimer1576 8 месяцев назад

    code file is empty, can you share it plz

    • @robo-code
      @robo-code  8 месяцев назад

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

  • @suyogvishwakarma1170
    @suyogvishwakarma1170 3 месяца назад +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 7 месяцев назад

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

    • @robo-code
      @robo-code  5 месяцев назад

      Please check your connection once again

  • @user-wv9yb6su7y
    @user-wv9yb6su7y 8 месяцев назад

    Can I do it without an I2C Module?

    • @robo-code
      @robo-code  5 месяцев назад

      No you would required I2C Module

  • @uthayakumarpurusothman8669
    @uthayakumarpurusothman8669 10 месяцев назад

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

  • @vhgh1118
    @vhgh1118 7 месяцев назад

    Sir lcd is not turning on please sir please sir

    • @robo-code
      @robo-code  5 месяцев назад

      Please try to change LCD and see if it is working

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

    send me code ..please

  • @marybnr9951
    @marybnr9951 13 дней назад

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