How to use a PIR Passive Infrared Motion Sensor to control a simple lighting circuit

Поділитися
Вставка
  • Опубліковано 14 жов 2024

КОМЕНТАРІ • 58

  • @bgable7707
    @bgable7707 День тому

    Just what I needed, especially adding the cap to allow the lights to gradually turn off!

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

    The world's best teacher thanks

  • @danelaw1902
    @danelaw1902 3 роки тому +4

    Thank you, really clarified the PIR Module for me. I shall be using it to trigger a wired doorbell which I have converted to wireless

  • @vsparanth1967
    @vsparanth1967 11 місяців тому +2

    Nice explanation! Thank you
    Paranthaman Subramaniam

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

    great video, and explained in a pleasant way. Also very nice to name the side components well with a lot of explanation. Thanks.
    I can use it well for my stair project.

  • @markstevens8072
    @markstevens8072 9 місяців тому +1

    Brilliant video. Simply explained with super ideas. Thanks.
    I have one and a raspberry pi. I hope to one day use a PIR with the pi to trigger the DPMS on a screen (used as a calendar/ digital photo frame)

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

      Glad it was helpful!

  • @varadarajnayak5350
    @varadarajnayak5350 10 місяців тому +1

    Nicely presented. Thank you.

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

    What a brilliant and understandable explanation! Electrickery becomes much clearer to my mechanical mind, thanks. Hopefully it might make a project I have in mind less of a crashing about in the dark exercise. Ideally I would like to have a 12 volt battery trickle (charged with a solar panel) powering a raspberry pi (with camera) and a 12 volt infrared illuminator controlled by a single PIR. Actuating the PIR would switch on the infrared illuminator, change the pi from standby to on and then take photos and or video. This does sound a bit optimistic, an alternative would be two separate PIRs one for the illuminator and one for the pi, though I suspect this scheme may not be ideal. This project is for security surveillance in the polytunnel on my allotment. Please can you offer any advice? Many thanks

  • @fatabelly
    @fatabelly 4 роки тому +1

    Great video thanks!...It's given me a fantastic idea for a Halloween project.
    I have an old mannequin type head, that I'm going to rig up in the window...It will have red or green LEDs in its eyes, triggered by a PIR when anyone gets close.

  • @funnyworld5482
    @funnyworld5482 2 роки тому +2

    Very informative and exactly what I have been looking for. The many uses of this PIR sensor are endless. I use 18650 batteries as a power source. These 18650 batteries seem to last forever. I no longer have to stumble about looking for the light switch in the middle of the night just to go to the toilet or get a drink from the fridge. My end game is to keep energy costs as low as possible. I use energy saving bulbs in my home but regardless a penny saved is a penny earned in my opinion. Thank you for sharing this video.

    • @Q26Video
      @Q26Video  2 роки тому +1

      Thanks - glad you enjoyed the video and I hope all your projects go well...

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

      How do you use 18650 for this 5v sensor ? You have made a series of batteries for higher voltage or a single battery enough ?

  • @100roberthenry
    @100roberthenry Рік тому

    Excellent video, on most schematics for pir lights they have a 220r resistors from the signal pin to base, what is the difference in performance with using 220r compared to 10k.? Thanks.

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

      Glad you liked the video. If the resistor is too low or too high, the processor pin will be either always on or always off - for Arduino and similar processor gpio 10k is a common choice.

  • @ch1ra1
    @ch1ra1 3 роки тому +2

    Best video I have seen,well made.I like.

    • @Q26Video
      @Q26Video  2 роки тому

      Glad you liked it!

  • @beardization
    @beardization 9 місяців тому

    Great video, thank you. I've just knocked one of these up using an LED strip, works great but the sensitivity control doesn't seem to have much effect. I have it turned all the way down and it works from quite a distance, even further if I turn it up. Could it be faulty or am I missing something? It looks like the ones I have (HC-SR501) are min 3m range with the lens on. I've taken the lens off with some decent results but it still triggers a bit further away than I'd like. Would it be better to look for another board that has a shorter trigger range?

  • @sharma5688
    @sharma5688 3 роки тому +2

    This is really good i have used it 👍

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

    Great video thankyou. New sub. How would one add a on/off switch to this? I checked all your other videos but can't find anything else regarding PIR's. All the other channels are a little confusing with their diagrams and are mostly for house lights and house switches.
    Would I use the POS of the battery and the N of the PIR? Or would I connect to the SL?
    I tried incorporating it into a musical teddy bear and got the lights and music to work but only when the switch is initially turned on and it wouldn't react with the PIR still. Not sure where I'm going wrong. The teddy PCB has a main switch and a secondary button that you press for the lights and music to start. Many thanks from Aus

  • @redjoe100
    @redjoe100 4 роки тому +2

    Great video, well explained! Is it possible to use a relay rather than an LED so when motion triggers, the relay could switch a higher power device or trigger a contact closure in a 3rd party control system? If so what relay would you recommend? Many thanks

    • @Q26Video
      @Q26Video  4 роки тому +2

      Glad you liked the video, thanks - you can trigger anything that can be switched on by a digital pin - you'll need to use something inbetween the arduino and the relay, maybe a transistor or a chip like a ULN2003A - and the choice of relay depends on the voltage and current that it is switching. I'm doing something similar soon to control my garage lights.

    • @ucdailoi
      @ucdailoi 2 роки тому

      @@Q26Video I am looking for something similar. What sort of transistor or relay. ( I dont understand the term 'digital pin' )

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

    HI, Is there a pir that sends a signal for 1 second only when motion detected and another signal when it times out from the same output? I would like to make a simple motion detector to turn my video camera on and off. I aready have a remote controller for my camera with a spare transmitter and the one button turns the camera on and off. I could use the transister to operate a relay to short out the switch in the transmitter. Great video. Thankyou.

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

      Glad you liked the video - you can experiment with the on and off duration controls...

  • @ImperialLightandMagic
    @ImperialLightandMagic 3 роки тому +1

    Thanks for the very clear video. Is there a way I could build a similar low-power circuit to pull something to ground, rather than pull high? I was going to use a relay but obviously running that off a battery is going to use significantly more current than a transistor. Thanks!

    • @Q26Video
      @Q26Video  3 роки тому +1

      Hi - you can do this with a chip like a ULN2003A or even a transistor.

    • @funnyworld5482
      @funnyworld5482 2 роки тому

      Hi Friend, Look into 18650 batteries as a power source

  • @jonnygarland4741
    @jonnygarland4741 2 роки тому +2

    🤔👌👋I am just learning thank you so so much👍

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

    Nice video. How much power does the sensor drain while idle?

  • @hawkercnc8261
    @hawkercnc8261 3 роки тому

    A nice dissertation on pirs. A question, the front door bell keeps getting missed. The idea would be to have a plastic boxed pir behind a flower pot to pick up visitors etc. A wire would run to the back of the house to ring when someone approaches with an attached buzzer or bell. The buzz time should be short say 5 seconds and then not ring again repeatedly whilst you talk to the postman or whatever. The dogs would also go hysterical if it kept buzzing. Can this be achieved simply without an Arduino or similar? No-one seems to have circuit to do this. Many thanks.

    • @Q26Video
      @Q26Video  3 роки тому

      Its difficult to advise on specific projects - you may be able to make this work so I really recommend experimenting - glad to hear you enjoyed the video...

  • @nickaryan100
    @nickaryan100 4 місяці тому +2

    excellent

  • @juanitapheiffer7538
    @juanitapheiffer7538 3 роки тому

    Hi there, great video thanks. Which relay and transistor would you recommend for a connection of the sensor to a 5amp 12v waterpump without using arduino or anything like that? With the power source being a 7amp 12v battery. I presume the 10k resistor would still be ok. Your advise would be greatly appreciated.

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

    How would I add a light sensitive diode so only it operates at night?

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

      A topic for another video...

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

    How can I do this with a 6v 700ma dc adapter because the pir sensor is only 50ua max the led light requires 6v 500ma

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

    I'm looking how to make it go low, or ground a pin on a project, is this possible?

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

      If you connect the output of the transistor to a pin of a ULN2003 the opposite pin goes to ground when it is high - or you can use a second transistor...

  • @CarnivalBen
    @CarnivalBen 4 роки тому

    Great video!

  • @حسامعليات-ج2ه
    @حسامعليات-ج2ه Рік тому

    Is there a thermal sensor that picks up at a distance of 50m

  • @jonnygarland4741
    @jonnygarland4741 2 роки тому +1

    🤔YOU really are the only person on here REALLY KNOWS WHAT they are talking ABOUT . believe it or NOT Really are a lot of different folks showing the exact same sensor YOU are showing ONLY they REALLY DO NOT KNOW what they are talking ABOUT NOT AT ALL .

    • @Q26Video
      @Q26Video  2 роки тому +1

      Glad you found the video helpful, hope your projects go well Jonny!

  • @KyawLin-hw3vb
    @KyawLin-hw3vb Рік тому

    What is work my PIR sensor .It is automatically on without motion after off.Time setting is about 2 minute,after that auto off and turn on automatically without motion
    about 40 second .a

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

      I have the exact same problem, have you found it in the meantime?

  • @trollmarketshop
    @trollmarketshop 3 роки тому

    How to connect it sir with 6 volts relay

  • @terryroe2023
    @terryroe2023 3 роки тому

    Hi, how about using this to operate musical movements (such as a musical box) and an LED? How would that be possible?
    How,do you think these sensors compare to the RCWL- 0516?

    • @Q26Video
      @Q26Video  3 роки тому

      Hi - I'm not familiar with the RCWL-0516, I'll follow that up, interesting - meanwhile, you can make just about anything work with a sensor and a transistor switch. If you need more voltage/current you can use it to trigger a relay or you can use it to trigger a processor board like an arduino which can in turn control all kinds of things. Thanks for watching - I hope your projects go well!

  • @KyawLin-hw3vb
    @KyawLin-hw3vb Рік тому

    What is wrong my PIR sensor .It is automatically on without motion after off.Time setting is about 2 minute,after that auto off and turn on automatically without motion
    about 40 second.

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

      Same thing happened to me my PIR sensor automatic on after every 1 hours without any motion detect..

  • @lucask3600
    @lucask3600 2 роки тому

    What is the value of the resistor?

  • @funnyworld5482
    @funnyworld5482 2 роки тому

    Hello Q26, Please update your website.

    • @Q26Video
      @Q26Video  2 роки тому +1

      Any particular section ?

    • @funnyworld5482
      @funnyworld5482 2 роки тому

      @@Q26Video Yes, The video points to your website for additional information. This information is not available. The website page just says coming soon. Unfortunately I have not taken any notes referring links directed at specifics. While browsing your website I had come across other content not yet available. I had decided to stop viewing your website due to incomplete content. I hope you find this helpful when it comes to Off page SEO. Your videos are really good but your website does not reflect on all of the videos. I hope you find this insight of value. Thank you for sharing