Social Distancing Detector Using Arduino | Arduino Tutorial for Beginners

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 มิ.ย. 2024
  • In this social distancing alarm using arduino tinkercad, we need PIR sensor, Ultrasonic Sensor, RGB LED, Buzzer, LCD, Potentiometer and few resistors. Follow the circuit and code as per the video. Check the github location for circuit and code.
    ----------------------------------------------------------------------------------------
    Arduino Car Parking Tutorial:
    • Car Parking Project Us...
    -----------------------------------------------------------------------------------------
    ---------------------------------------------------------------------------------------
    Arduino LCD Tutorial:
    • Arduino LCD Projects |...
    ---------------------------------------------------------------------------------------
    --------------------------------------------------------------------------------------
    Arduino PIR Motion Detection:
    • PIR Sensor Arduino Pro...
    -------------------------------------------------------------------------------------
    -------------------------------------------------------------------------------------
    Git Hub for Circuit and Code:
    github.com/shazforiot/social-...
    --------------------------------------------------------------------------------------
    ===========================================
    Follow me @:
    / thetips4you
    / @thetips4you
    / thetipsforyou
    www.thetips4you.com
    ============================================
    Music credit: "Royalty Free Music from Bensound"
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 110

  • @jerseyboys6201
    @jerseyboys6201 2 ปีที่แล้ว

    Hi did you know what stand for rpin and bpin and the function of this two command that i told you right now ? Could explain to me ?

  • @varshaborde5813
    @varshaborde5813 3 ปีที่แล้ว +1

    Which type of connecting wires used

  • @dionyherowelumali9453
    @dionyherowelumali9453 2 ปีที่แล้ว +1

    nice video. just wanna ask if what code can i input if i want the lcd to also display the distance of the other person? thank you!

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว

      Thank you. Please contact me through Facebook. We will check on the issue.

  • @jerseyboys6201
    @jerseyboys6201 2 ปีที่แล้ว

    Hi ... This project already function well but for the buzzer, it always turn on and noisy while i keep away my distance from ultrasonic sensor so what should i do for turn off the buzzer when i keep away my distance from ultrasonic sensor? Did you have any tips, suggestion or commandline for this problem?

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว

      Please check the code if it working in the reverse. The distance calculated is used for buzzer to activated.

  • @pizzulgaming6253
    @pizzulgaming6253 2 ปีที่แล้ว +1

    will the whole connection method in this project be the same as this even though I use arduino nano ... if there is a change can I know how it is?

  • @sebastianilagan6739
    @sebastianilagan6739 2 ปีที่แล้ว

    hello how can I connect tinkercad to node-red?

  • @angelomariano3501
    @angelomariano3501 2 ปีที่แล้ว +1

    Can I ask why we need to use both ultrasonic and PIR in this project?

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว

      PIR is a motion detection and Ultrasonic is for finding the distance from the object.

  • @pizzulgaming6253
    @pizzulgaming6253 2 ปีที่แล้ว

    What kind of resistor did you used on this project ? Example 2.2k ohm or what ?

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว

      220 ohms, less than 1 k

  • @pizzulgaming6253
    @pizzulgaming6253 2 ปีที่แล้ว

    on this project how to on or off this social distancing project ? What i mean is in this project have switch or something to power on and power off while we used it or not ?

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว

      If you are mentioning about detection it will be based on sensor output, if you are looking on Arduino as whole system it depends on your power supply to Arduino.

  • @sanjanasingh332
    @sanjanasingh332 2 ปีที่แล้ว +1

    Does this detect distance between 2 people or between a person and the sensor?

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว +2

      If you keep the sensor on one person then it will detect the distance from that person to another moving object or person. :)

    • @sanjanasingh332
      @sanjanasingh332 2 ปีที่แล้ว

      @@Thetips4you thank you so much!

  • @pizzulgaming6253
    @pizzulgaming6253 2 ปีที่แล้ว

    In source code of this project use distance of 1 meter or not. If not i could just change it right without any error right ?

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว +2

      Yes, you can change the code to adjust the distance.

  • @ajcatindig8445
    @ajcatindig8445 2 ปีที่แล้ว

    if i dont want the PIR sensor because there is not muc difference between ultra sonic and pir, i can just remove the pir and its code?

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว +1

      Remove the part of the code that uses pir check.

    • @ajcatindig8445
      @ajcatindig8445 2 ปีที่แล้ว

      @@Thetips4you its not gonna affect the buzzer ? Or the other functions?

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว

      No. You need to adjust the code. That's all.

    • @ajcatindig8445
      @ajcatindig8445 2 ปีที่แล้ว

      @@Thetips4you just remove na PIR code and thats it?

  • @vhundukaimariano-pv3xg
    @vhundukaimariano-pv3xg ปีที่แล้ว

    And the buzzer is is not producing a sound when an object is very close to the ultrasound sensor , l am only seeing the readings of distance on on the serial monitor , and nothing is being displayed on the LCD

  • @pizzulgaming6253
    @pizzulgaming6253 2 ปีที่แล้ว

    What kind of potentiometer did u use ? Example : 2k or what ?

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว +1

      You can use 2k to 10 k. That won't be a problem.

  • @jerseyboys6201
    @jerseyboys6201 2 ปีที่แล้ว

    Hi... this project are awesome and i"ll success when i finally doing this project but why brightness of lcd didn't comeout .... could you explain to me or you could give some of commandline source code for brightness of lcd ?

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว

      You can use a potentiometer to control the lcd lights.

  • @tanayapatil649
    @tanayapatil649 2 ปีที่แล้ว +1

    If we want to detect the distance between two person then how could it be possible on tinkercad? Because here you are just calculating the distance between sensor and object.
    Please help.

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว

      One sensor should be on one of the person. The distance is relative to from the sensor is there. So you should consider the person is wearing a device which sends the signal to find the distance of the object in front of him.

    • @tanayapatil649
      @tanayapatil649 2 ปีที่แล้ว +1

      @@Thetips4youAlright.. Understood.. Thanks for your reply😊

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว

      You are welcome.

  • @trainwithguneet
    @trainwithguneet 3 ปีที่แล้ว

    Hi, the ultrasonic sensor detects distance so why are we using the PIR sensor?

    • @Thetips4you
      @Thetips4you  3 ปีที่แล้ว

      PIR is used to detect motion and based on the motion the distance will be calculated.

    • @shrishojha3474
      @shrishojha3474 3 ปีที่แล้ว

      @@Thetips4you So there is technically not much difference between them?? so can we use ultrasonic sensor instead of pir sensor ??

  • @vhundukaimariano-pv3xg
    @vhundukaimariano-pv3xg ปีที่แล้ว

    I can only see readings on the the serial monitor and nothing on LCD and the RGB light is not even turning on , what can be the problem

    • @Thetips4you
      @Thetips4you  11 หลายเดือนก่อน

      Check the connections & code is right.

  • @vincentjosephtegerero1298
    @vincentjosephtegerero1298 2 ปีที่แล้ว +1

    Hello sir what are all the hardware tools you used?

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว

      Use the components as shown in the video

  • @linmgkhine344
    @linmgkhine344 2 ปีที่แล้ว

    May I want to know how much safety factor for this project? How to calculate?
    Thanks

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว

      Sorry, I don't answer for this question.

  • @vijaykamble8858
    @vijaykamble8858 2 ปีที่แล้ว +1

    What is the resistance of that resistor connected in lcd

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว

      220 ohm

    • @vijaykamble8858
      @vijaykamble8858 2 ปีที่แล้ว

      @@Thetips4you I'm gonna try it tomorrow once again thanks

  • @simransizz6649
    @simransizz6649 2 ปีที่แล้ว +1

    May ik WT difficulty u faced during the project?

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว +1

      Nothing specific. Are you facing some issues?

  • @reactonreactoinsmzansireac2134
    @reactonreactoinsmzansireac2134 2 ปีที่แล้ว +1

    can you do it with raberryPi, or just do code only

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว

      Yes, will have to do with python code.

    • @reactonreactoinsmzansireac2134
      @reactonreactoinsmzansireac2134 2 ปีที่แล้ว

      @@Thetips4you okay, can you do it please wanna compare it with mine. let me know when done👏👏👏

  • @vhundukaimariano-pv3xg
    @vhundukaimariano-pv3xg ปีที่แล้ว

    Hello is there a flowchart and block diagram for this project

    • @Thetips4you
      @Thetips4you  11 หลายเดือนก่อน

      All diagram & code is available in the github.

  • @vhundukaimariano-pv3xg
    @vhundukaimariano-pv3xg ปีที่แล้ว +1

    Hi guys which programming language was used to write that code

    • @Thetips4you
      @Thetips4you  ปีที่แล้ว

      It's Arduino programming which is basically a C++ language.

  • @navyaavushetti1320
    @navyaavushetti1320 2 ปีที่แล้ว

    Will it detects if anyone comes from beside or backside to us

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว

      No. The Ultrasonic and PIR should detect the motion. You can add more sensors to cover all areas.

  • @pizzulgaming6253
    @pizzulgaming6253 2 ปีที่แล้ว +1

    If i use arduino nano... The code still same ?

  • @snehapatil8277
    @snehapatil8277 2 ปีที่แล้ว

    I did the same connection as you told bt sir display is not working so what should I do now?

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว +1

      It should work. Double check your connections. Contact me through fb if still not working.

    • @snehapatil8277
      @snehapatil8277 2 ปีที่แล้ว

      Okay thanks

  • @pizzulgaming6253
    @pizzulgaming6253 2 ปีที่แล้ว

    How much far PIR sensor detect on this project ?

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว +2

      Depends on the pir sensor specification. Please check manual for sensor model.

  • @vinodreddyg9914
    @vinodreddyg9914 ปีที่แล้ว +1

    Please provide Hardware Components set link so that we can buy online those components

    • @Thetips4you
      @Thetips4you  ปีที่แล้ว

      Sure. It's a good suggestion.

    • @vinodreddyg9914
      @vinodreddyg9914 ปีที่แล้ว

      @@Thetips4you Thank you please provide that components link as soon as possible

  • @CJ-kf9bm
    @CJ-kf9bm 2 ปีที่แล้ว +1

    nice video ,can i get the schematic diagram of this???

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว +1

      Please check the video description. You should get the details in github link

  • @tlhalefoeonmooki9465
    @tlhalefoeonmooki9465 2 ปีที่แล้ว

    may you please make me a code that is different from this one but doing the same function

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว

      Why do you need a different code if this is working?

  • @_NIVETHAM-hu6je
    @_NIVETHAM-hu6je 2 ปีที่แล้ว +2

    Does this code really work...bcz i am not getting output

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว

      Yes, it should work. What is the issue you are facing.

    • @_NIVETHAM-hu6je
      @_NIVETHAM-hu6je 2 ปีที่แล้ว

      @@Thetips4you I am not getting any output even if i move pir sensor

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว

      Kindly check the pir sensor pins are connected correctly. Also add a serial output for reading to see if you are getting any movement detected.

    • @_NIVETHAM-hu6je
      @_NIVETHAM-hu6je 2 ปีที่แล้ว

      @@Thetips4you Yeah,thank you

    • @_NIVETHAM-hu6je
      @_NIVETHAM-hu6je 2 ปีที่แล้ว +1

      I am not getting any output in the lcd display

  • @vhundukaimariano-pv3xg
    @vhundukaimariano-pv3xg ปีที่แล้ว

    Hy guys l have done all connections and uploaded the code onto the Arduino , but l cant see any reading on the LCD

    • @Thetips4you
      @Thetips4you  11 หลายเดือนก่อน

      Debug the issue by checking the outputs using serial monitor

  • @pizzulgaming6253
    @pizzulgaming6253 2 ปีที่แล้ว

    What is function of potentiometer on this project ?

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว +1

      Potentiometer is to control the brightness of LCD.

    • @pizzulgaming6253
      @pizzulgaming6253 2 ปีที่แล้ว

      @@Thetips4you thanks

  • @vhundukaimariano-pv3xg
    @vhundukaimariano-pv3xg ปีที่แล้ว

    Hellooo guys , is the more practical video which shows connections being done , showing the working principles

    • @Thetips4you
      @Thetips4you  ปีที่แล้ว

      You see all connection and code here. Checkout your connections to make sure everything is as per diagram.

  • @thej-channel3457
    @thej-channel3457 2 ปีที่แล้ว +2

    Can I get your source code for me to see it clear. thanks😇

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว

      Yes, you can check the GitHub link in the video description.

  • @prasanthimulagapati7604
    @prasanthimulagapati7604 2 ปีที่แล้ว

    Mi daggara E project document undha....??????

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว

      What document you want?

    • @prasanthimulagapati7604
      @prasanthimulagapati7604 2 ปีที่แล้ว

      @@Thetips4you I am dng this as my final yr project
      So will u provide me document of this project..???

  • @vijaykamble8858
    @vijaykamble8858 2 ปีที่แล้ว

    Hello sir I'm not getting any output on LCD plz help..

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว +1

      Check the code and circuit first.

  • @Bharathkumar-us4cm
    @Bharathkumar-us4cm 2 ปีที่แล้ว

    Where should we connect the battery sir

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว

      We are not using battery power in this circuit. We are using Arduino 5v power.

  • @vhundukaimariano-pv3xg
    @vhundukaimariano-pv3xg ปีที่แล้ว

    Hy guys where can l get that code

  • @vanamhemanth3723
    @vanamhemanth3723 2 ปีที่แล้ว +1

    Can you send me the code for this

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว

      Please check the video description. You will be able to see the GitHub link for the code.

  • @prasanthimulagapati7604
    @prasanthimulagapati7604 2 ปีที่แล้ว +1

    Code c++ language ey na..?

  • @vincentjosephtegerero1298
    @vincentjosephtegerero1298 2 ปีที่แล้ว

    Hello sir what are all the hardware tools you used?

    • @Thetips4you
      @Thetips4you  2 ปีที่แล้ว

      Kindly go through the video for the components.

  • @vhundukaimariano-pv3xg
    @vhundukaimariano-pv3xg ปีที่แล้ว

    Hello is there a flowchart and block diagram for this project

    • @Thetips4you
      @Thetips4you  11 หลายเดือนก่อน

      All diagram & code is available in the github.

  • @vhundukaimariano-pv3xg
    @vhundukaimariano-pv3xg ปีที่แล้ว

    Hellooo guys , is the more practical video which shows connections being done , showing the working principles

    • @Thetips4you
      @Thetips4you  11 หลายเดือนก่อน

      Check the complete video. All connections & details are there.

  • @vhundukaimariano-pv3xg
    @vhundukaimariano-pv3xg ปีที่แล้ว

    Hello is there a flowchart and block diagram for this project

    • @Thetips4you
      @Thetips4you  11 หลายเดือนก่อน

      All diagram & code is available in the github.