Arduino pir sensor led and buzzer code | pir motion sensor projects

Sdílet
Vložit
  • čas přidán 8. 09. 2024
  • In the Arduino pir motion sensor project, We start with basic whenever pir sensor detect a hand gesture or motion then the LED is blinking and beep a Buzzer. " arduino pir sensor "
    We will learn about how pir sensor( HC-sr501 ) work and we can control 230v bulb with hand gesture by using pir sensor, relay, and Arduino. Using Arduino to get a signal from the pir sensor and then send a signal to relay to switch a load and turn on the 230v blub.
    Topic:)
    arduino pir motion sensor alarm
    arduino pir sensor projects
    arduino pir sensor led and buzzer projects
    pir motion sensor with arduino
    Component requirements for arduino pir sensor ( HC-sr501 ):
    1. Arduino uno. - amzn.to/3Hwc3Op
    2. Pir sensor ( Hc-sr501 ). - amzn.to/3HuoDh1
    3. Buzzer. - amzn.to/3ss2mw6
    4. Resistor 220ohm.
    5. LED.
    6. Breadboard. - amzn.to/3vABhsm
    7. Jumper wire.
    Visit This link for arduino pir sensor code and circuit diagram.
    mrelectrouino....
    Learn about arduino sensor:
    mrprojectsoped...
    ------------------------------------[ 🟧 BUSINESS 🟧 ]-----------------------------------
    ⭐️If you want me to do custom projects or need my help in your projects,
    so you can contact me.
    ✅ Instagram: / _mr_electrouino_
    ✅ Email: mr.electrouino786@gmail.com
    #mrpopprojects
    Tags.
    arduino pir sensor,arduino,mrprojectsopedia,arduino pir sensor code,arduino pir sensor projects,mrelectrouino,electrouino,pir motion sensor alarm,arduino led projects,arduino pir sensor tutorial,arduino pir sensor alarm,arduino hc-sr501,pir sensor arduino with buzzer,arduino buzzer projects,arduino hc-sr501 projects,pir sensor arduino code with led,pir sensor arduino alarm cod,pir sensor arduino code with led and buzzer,pir motion sensor,arduino pir motion sensor.

Komentáře • 99

  • @maceojesson3058
    @maceojesson3058 Před rokem +3

    c est une des meilleures vidéos d arduino! elle est parfaite...

  • @usechegod4299
    @usechegod4299 Před 2 lety +8

    What do I do if loading the code activates and stays ringing but never turns off

  • @dheydreamin7106
    @dheydreamin7106 Před 9 měsíci +1

    great codes! it works with no problem. however, when i add nrf24l01 module to it (the setup in the video being the transmitter) it doesn't detect motion and the led and buzzers are not working. is there anything else i could do?

  • @JarethRonquillo
    @JarethRonquillo Před rokem

    it's now working. Thanks a lot

  • @RealxCrown
    @RealxCrown Před měsícem

    @mr projectsoPedia can i use speaker (my audio) in place of buzzer..

  • @francismarievictoriamendoz3084

    ive watched thisl ike 5 times now WHY WONT IT WORK AAAA

    • @MrProjectsoPedia
      @MrProjectsoPedia  Před rokem

      Are you getting any error?

    • @wanwisapinsorn8862
      @wanwisapinsorn8862 Před měsícem

      The​ issue with​ my​ sensor​ system​ is​ that​ the​ light and​ sound are​ constantly active, even​ without touching the​ sensor.​@@MrProjectsoPedia

  • @Qeel_K
    @Qeel_K Před 7 měsíci +1

    1:31 where can you buy that buzzer gnd

  • @NihalPandey9695
    @NihalPandey9695 Před 14 dny

    its working but buzzer are regular sounding please tell me solution of this problem

  • @gobisuganyakrishna7021
    @gobisuganyakrishna7021 Před 2 lety +2

    Thanks a lot for this project. But the buzzer takes to long to stop the sound. How can i adjust the timing?

    • @MrProjectsoPedia
      @MrProjectsoPedia  Před 2 lety +1

      Change the delay value in the code. If its not helpful, so you can contact me on instagram _mr_electrouino

  • @user-ht8zy5vh4s
    @user-ht8zy5vh4s Před rokem

    good, but I want it to make the sound if the motion is not moved for 5 seconds

  • @user-ux9ge8ou5t
    @user-ux9ge8ou5t Před rokem

    why does the buzzer keep chirping? what if it just buzzes and then stops after a few seconds, then it just buzzes again when something is detected.

  • @JEDSaje15
    @JEDSaje15 Před rokem

    Would it be possible to have the motion sensor trigger a hotkey on a computer if still plugged in?

  • @jhonericcoz6623
    @jhonericcoz6623 Před rokem

    Hi! is it possible that if the sensor sensed gesture it triggers the LED to On first and if f the gesture is in repeatable state after 5 sec the buzzer will be on as well. and there is a scenario that the sensor sensed gesture let's say for just only 1 sec it triggers the LED only but not the buzzer? please help me for this sir. 🙏🙏

  • @user-en4rh9nu7k
    @user-en4rh9nu7k Před 11 měsíci

    We don't have gnd buzzer is it necessary

  • @burakk.48
    @burakk.48 Před rokem

    sir In my code, low, high, input, output texts appear colorless and my circuit did not work. I think my library is missing where can I find it?

  • @JarethRonquillo
    @JarethRonquillo Před rokem

    Hello, do I need to adjust the sensitivity of my motion sensor, cause after calibration, the code may falsely indicate that motion has been detected after 30 seconds even when there is no actual motion present

    • @arielle2260
      @arielle2260 Před rokem

      I encountered the same problem. what exactly did you do to make it work?

    • @JarethRonquillo
      @JarethRonquillo Před rokem

      @@arielle2260 you need to adjust first the sensitivity of your sensor

    • @JarethRonquillo
      @JarethRonquillo Před rokem

      @@arielle2260 Please let me know if you are still encountering the issue

    • @arielle2260
      @arielle2260 Před rokem

      i'll try that. how will i adjust the sensitivity? turning clockwise or counter clockwise?
      if that did not work, i think that the pir sensor i have is defective.

    • @arielle2260
      @arielle2260 Před rokem +1

      hi! i tried to adjust my extra sensor and now it's working! thank u so much!

  • @FadhiliEmanuel-yq3rg
    @FadhiliEmanuel-yq3rg Před 3 měsíci

    Sorry show the simulation in Proteus please

  • @baddrakachaminda5904
    @baddrakachaminda5904 Před 2 lety

    Hi is it okay if I use a long bread board and any led?

  • @siem3czka973
    @siem3czka973 Před 7 měsíci

    how to calibrate pir sensor?

  • @35_xitkro1_shokhibulakmal8
    @35_xitkro1_shokhibulakmal8 Před 3 měsíci

    bang punya saya gaada gerakan kok nyala sendiri ya buzzer nya?

  • @jptech8017
    @jptech8017 Před 2 lety

    can I get semulation of this project

  • @stenlya1116
    @stenlya1116 Před rokem

    LCD+ buzzer+ sensor pir
    pls 🙏🙏🙏

  • @BAECAkshayrenake
    @BAECAkshayrenake Před 2 lety

    on which software you are running this Arduino code,plz help

  • @kashishharyani4184
    @kashishharyani4184 Před 2 lety

    What is the prize of the products which are used in this project? Can any one of you help...

  • @HARISHARIS-dr4jh
    @HARISHARIS-dr4jh Před 2 lety

    Does this whole circuit run on a 12v battery?

    • @MrProjectsoPedia
      @MrProjectsoPedia  Před 2 lety +1

      No its operates on 5v.

    • @HARISHARIS-dr4jh
      @HARISHARIS-dr4jh Před 2 lety

      @@MrProjectsoPedia if I'm going to replace the buzzer with servo motor is 5v battery is enough ?

    • @zonitanpl5334
      @zonitanpl5334 Před rokem +2

      @@HARISHARIS-dr4jh i think servo needs 9V battery, but I'm not 100% sure.

  • @Abi-rj7iw
    @Abi-rj7iw Před 2 lety

    Is the applying code is compulsory?

  • @abhishekpatil8289
    @abhishekpatil8289 Před 3 lety

    can i use 100ohm instead of 220 ohm

    • @MrProjectsoPedia
      @MrProjectsoPedia  Před 3 lety +2

      Its depend on the types of leds but you can use 2 resistors of 100 ohms and connect it in series. So it will 200 ohms.

  • @haziqzikry453
    @haziqzikry453 Před 2 lety

    did you have schematic circuit diagram??

  • @jiyaborikar4536
    @jiyaborikar4536 Před 4 měsíci

    buzzer is not making sound

  • @abhishekpatil8289
    @abhishekpatil8289 Před 3 lety

    Bro can send me code which is showed in video the one which u uploaded is different and not works properly

    • @MrProjectsoPedia
      @MrProjectsoPedia  Před 3 lety

      Check my website again I updated the code and circuit diagram.
      Sorry for inconvenience😯

  • @harshaharu3922
    @harshaharu3922 Před 3 lety +1

    Program code is in which language

  • @drewpriebe5372
    @drewpriebe5372 Před 2 lety

    is it possible to use an LED matrix instead of the LED light? I.E when there is no motion the LED matrix shows RED light but when motion occurs, LED Shows green light and buzzes? Is this possible and if so could you explain how?

    • @MrProjectsoPedia
      @MrProjectsoPedia  Před 2 lety

      Yes you can use the Led matrix.
      For more information contact me on instagram _mr_electrouino

  • @Pavan-mx6mc
    @Pavan-mx6mc Před 2 měsíci

    iam getting an error in code while uploding

  • @loginchemistry6140
    @loginchemistry6140 Před 2 lety +1

    provide link for code and circuit diagram

    • @MrProjectsoPedia
      @MrProjectsoPedia  Před 2 lety

      Check the video description for code.

    • @arsh_arora10
      @arsh_arora10 Před rokem

      @@MrProjectsoPedia bro is it important to connect laptop after programming, i am new to arduino and i am making this for a science exhibition, and i cannot bring laptop to the exhibition, so can help me...

    • @arsh_arora10
      @arsh_arora10 Před rokem

      @@MrProjectsoPedia can you *

    • @MrProjectsoPedia
      @MrProjectsoPedia  Před rokem

      @@arsh_arora10 Once you uploaded the code. So you don't need to take your laptop everywhere. Just connect 9v battery to arduino Uno.
      If you getting any problem you can contact me here👇
      Instagram: _mr_electrouino

    • @arsh_arora10
      @arsh_arora10 Před rokem

      @@MrProjectsoPedia thanks,

  • @deepmalarudransh5lilyneeya601

    Hey did you update the code

  • @praneshkarthic2240
    @praneshkarthic2240 Před rokem

    i connected as it is but not working

  • @dimskuyslebew9113
    @dimskuyslebew9113 Před 2 lety +1

    kalo minta buatin sistem minimum (yg di solder manual untuk tugas) bayar berapa bang ?

  • @akshatfulfagar3779
    @akshatfulfagar3779 Před 3 lety

    Can. I get the code the one in description is not working

    • @MrProjectsoPedia
      @MrProjectsoPedia  Před 3 lety

      What error are you getting?

    • @akshatfulfagar3779
      @akshatfulfagar3779 Před 3 lety

      @@MrProjectsoPedia actually the buzzer part is working but my led is not glowing

    • @MrProjectsoPedia
      @MrProjectsoPedia  Před 3 lety

      @@akshatfulfagar3779 Check my website again I updated the code and circuit diagram.
      Sorry for inconvenience😯

  • @kresensiamarianadua6231

    if sold, how much is it?

  • @imtadaslime
    @imtadaslime Před 4 měsíci

    🎉

  • @third.wave_
    @third.wave_ Před 10 měsíci

    I tried mine pir sensor isn't working

  • @ROSILVIU245
    @ROSILVIU245 Před rokem

    it works only in india

  • @jhlee5549
    @jhlee5549 Před 3 lety +2

    Not working

    • @MrProjectsoPedia
      @MrProjectsoPedia  Před 3 lety

      what error are you getting?

    • @jhlee5549
      @jhlee5549 Před 3 lety

      @@MrProjectsoPedia the code doesn't work

    • @MrProjectsoPedia
      @MrProjectsoPedia  Před 3 lety

      @@jhlee5549 Contact me on instagram: _mr_electrouino

    • @MrProjectsoPedia
      @MrProjectsoPedia  Před 3 lety

      @@jhlee5549 Check my website again I updated the code and circuit diagram.
      Sorry for inconvenience😯

    • @49hannahjenniferc20
      @49hannahjenniferc20 Před 5 měsíci

      @@jhlee5549did ur code work? did u get the output?

  • @kriyanshithakkar7877
    @kriyanshithakkar7877 Před 2 lety +1

    I am not getting the output how should I contact you?

  • @jericflores1644
    @jericflores1644 Před rokem

    give me code

  • @towhidabedinriad4283
    @towhidabedinriad4283 Před rokem

    I have some problems this project
    I sent u msg on Instagram

  • @arielle2260
    @arielle2260 Před rokem

    hi i messaged you on instagram