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

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ม.ค. 2025

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

  • @bgable7707
    @bgable7707 3 หลายเดือนก่อน +2

    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

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

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

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

      Glad it helped

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

    Nice explanation! Thank you
    Paranthaman Subramaniam

  • @markstevens8072
    @markstevens8072 ปีที่แล้ว +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  ปีที่แล้ว

      Glad it was helpful!

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

    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.

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

    Nicely presented. Thank you.

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

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

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

      Glad you liked it!

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

    This is really good i have used it 👍

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

    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?

  • @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 2 ปีที่แล้ว +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 ?

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

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

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

      So nice of you

  • @fixitmakeit72
    @fixitmakeit72 9 หลายเดือนก่อน

    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  9 หลายเดือนก่อน

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

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

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

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

      A topic for another video...

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

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

  • @martincorkill4472
    @martincorkill4472 2 หลายเดือนก่อน

    Useful video, thank you! I have no experience with this sort of thing but would like to add 2 PIR’s to one LED string of lights, one at the top of the stairs, one at the bottom. Do I just put two sets of wires in the same holes on the bread board?

    • @Q26Video
      @Q26Video  2 หลายเดือนก่อน

      Hi Martin - it's a bit more complicated than that - and too big a question for me to answer in a TH-cam comment, sorry. There are more solutions for switching larger circuits and hopefully sometime I can make more videos about them - in the meantime, you may well figure out how to achieve your goal as your electronics knowledge develops...all best wishes, Mortimer

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

    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

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

  • @حسامعليات-ج2ه
    @حسامعليات-ج2ه 2 ปีที่แล้ว

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

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

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

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

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

    How to connect it sir with 6 volts relay

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

  • @nickaryan100
    @nickaryan100 8 หลายเดือนก่อน +2

    excellent

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

  • @CarnivalBen
    @CarnivalBen 4 ปีที่แล้ว

    Great video!

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

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

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

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

    What is the value of the resistor?

  • @terryroe2023
    @terryroe2023 4 ปีที่แล้ว

    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  4 ปีที่แล้ว

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

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

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