• Register
  • Login
  • Search 4 million + Products
    this message might be for you!

    Moderately priced Passive Infrared PIR Sensor modules are now widely available. By using these readymade and pre-configured PIR sensors, even an average electronics hobbyist can construct his/her own Motion Sensor Unit.
    The one evening project presented here is based on a common and very popular PIR module SB0061, priced below $7.
    Check out the updated version of this circuit.

    SB0061 is a pyroelectric sensor module,developed for human body detection. A PIR detector combined with a fresnel lens are mounted on a compact size PCB together with an analog IC (SB0061) and limited components to form the module. High level output (3.3V) of pre-settable variable width (5Secs -18 Minutes) is provided.

    Circuit diagram of the PIR Motion Sensor Light and Switch based on SB0061 shown here can be used for security or corridor lighting in power saving mode. The 12V DC supply required for the whole circuit can be fed from any standard 12V ac mains adaptor/battery.

    Working of the circuit is simple and straight forward. When any movement is detected within near 5-6 metres, around 3.3 Volt is appeared at the base of Transistor T1 and it conducts to fire the next relay driver transistor T2. As a result, the 12V DPDT relay is energised to power the White LED through current limiting resistor R3. Spare relay contacts can be used as a switch to control any suitable external load. The white LED and the relay remains ON for a duration based on the mono time setting in SB0061, ie from 5 Secs to 18 Minutes.

    PIR Motion Sensor Circuit Schematic

    pir motion sensor switch circuit schematic

    ask a question

    83 Responses to "Security Light & Switch with PIR Sensor"

    1. Dominic T Peelipose says: on November 15, 2010 at 2:34 am

      Dear Sir,

      Thank you for your back ups. Ofcourse the circuits are perfect this time.

      Thank you


    2. would the circuit remains ON as long as their are movements happens in the surrounding??? thank you so much sir..

      • The PIR sensor activity can be configured using a jumper switch included in its pcb.Can you see a 3 pin connector at the bottom right of SB0061?Further you can download datasheet of the PIR sensor SB0061 from internet.

      • Nadeem sayed says: on December 2, 2011 at 12:34 pm

        Hello sir … this is nadeem and i would like to ask u something about the motion sensor circuit…i want to use this circuit in my house…. and would like to ask u will this circuit work with 240V because i will be connecting my Tubs and CFL to this circuit so will it work

      • The diode 1 stabilizes the voltage of 12v to 12 or 12 to 5v? thanks

      • Dan Biles says: on April 21, 2012 at 4:27 pm

        could you or someone on this board help me with replacing the relay with a triac to switch 120V AC? thanks, Dan Biles

      • Dear Hari,
        On the SB0061 module there are 2 potentiometer, what is the function of the, Pl’s explain


      • u should use relay in ur circuit so u can give the supply of 220v-240v

    3. Sir,
      If I buy this detector are all the components shown on circuit diagram on the board 9 including relay as shown) or do I have to build circuit and add relay and transistors as shown.
      I am wanting to make a simple circuit that will give me a short coming from the relay to apply 6volts to a small electric motor. I was hoping this would do the job and I just needed to connect wires to the relay contacts to give short.
      Just starting out on electronic circuit construction with PIR.
      Steve Croot

      • SB0061 PIR sensor is an independent component.You must add the rest as indicated in the schematic diagram,ie procure all components and wired them to finish the project.I think,this circuit can help to do the desired job!

    4. Very interesting. How can this be changed to work on 24 Volts?

    5. Thanks! You can use a fixed 3-Terminal voltage regulator like LM7812 at the power input rails of this circuit.Then feed 24VDC through this regulator.If you adapt this,no changes required in main circuit.Frankly speaking,any 24 to 12 Volt regulator will fit!

    6. if we want to add an alarm along with the light to this circuit what can be done..

      • T.K.Hareendran says: on February 5, 2011 at 12:55 pm

        SImple! As the relay is a 2C/O contact one,you can use its second pair of contacts (labelled here as SWOUT) to switch an external alarm circuit.

    7. can we use other pir sensor modules other than SB0061

    8. Raj Kumar Mukherji says: on March 16, 2011 at 3:23 pm

      Hello Tridev,

      I have just seen the circuit diagram suggested by you. I am interested to construct this particular project at home for outdoor lighting purpose. Now, I have few quick questions for you:

      a. Is SB0061 easily available? (Not sure about the Kolkata market)
      b. What can be the approximate price of it?
      c. What will be the min and max range (in Meters) of it?
      d. Will your suggested circuit work with D203B-e or any other PIR in place of SB0061
      keeping all other components unchanged?
      e. Can you please suggest what does it say by: “H: Can be spring repeatedly and
      L: Can not be spring repeatedly” under “Application note” of the datasheet of


      Waiting for your response.

      Thank you,
      Kind regards,
      Raj Kumar Mukherji

      • Author T.K says: on March 18, 2011 at 4:28 pm

        SB0061 can be procured from many mail order services.It costs around INR350.Detection range is near 5-7 metre (straight).Any other available PIR module can be used with my circuit with suitable alteration.

    9. would be possible to add a fotosensitive resistance to the above schema?

      • Author T.K says: on March 18, 2011 at 4:20 pm

        Please refer the SB0061 datasheet.There is an option to add a photoresitor (LDR) within the module!

      • Jan Simberg says: on February 24, 2014 at 7:55 am

        Can’t find how to add a LDR to DYP ME003. Any LDR to conn. Cds? What is conn. RT? Pls advice. Tnx in advance!
        Regs, Jan

    10. hello sir. i wanna ask, is the PIR just detect when there’s any motion? if i wanna make DIY automatic faucet with sensor PIR, should i add monostable circuit at my system? is there any option? need ur opinion. thanks :)

    11. PIR is a Passive Infrared Motion detector which can detect movements within a short distance.Regarding the automatic faucet with PIR sensor,you can add a second monostable at the output of my circuit.However,note that the SB0061 provides a monostable output which can be configured(High level output of pre-settable variable width 5Secs -18 Minutes) by the user.

    12. Dear sir
      I want to purchase PIR, where do I get, I am from ASSAM Guwahati.

    13. How can I modify the circuit to fire SCR/TRIAC instead of relay? Is it possible to build a circuit which can be connected in series with a bulb/cfl on 230V AC and the circuit derives power from the a/c mains? (Similar to fan regulators/dimmers)

    14. Siddhartha Sardar says: on May 19, 2011 at 9:51 am

      I Purchase SBoo61 Sensor from Chadni Market of Rs. 350.00 . But Now , If I want to purchase this category of Sensor (Model No SBoo61 ) to You to me . Yet How Many Cost Of it ? to You to me .

    15. what is the model number of the zinner diode?

    16. May I request a CIRCUIT DIAGRAM that is “easy to understand” for a student like me.
      I don’t understand the specifications of the zener diode D1(12V???) and resistor R2(2K7???). It is important for me because this may be our project.

      • What is it that you don’t understand? D1 = 12 volt zener diode and R2 = 2.7 kΩ. If this is hard for you to undestand maybe you need to start learning about beginner electronics.

      • He is right, there are different types of zener diodes
        12v 1.3W
        12v 0.5W
        12v 5.0W

    17. Is it possible to change the relay to operate on ac voltage? i want to use this on light bulbs or electric fan. thanks

    18. sir can you gave me the circuit diagram of the PIR motion detector with light switch.


    20. Amir Mahdi Komarizade says: on September 3, 2011 at 8:32 am

      Hello sir
      I want to use your circuite with 6Volt Battery. Is it enough to change the relay and diode to 6 volt?

    21. we are trying to wire up the Pir motion detector (AS0061) BUT WE ARE HAVING A BIT OF A PROBLEM WIRING UP OUR RELAY
      can u help us out or provide an alternative that does not require a relay
      the relay we are using is frs6-5 dc 12 v


    22. Raj Kumar Mukherji says: on November 2, 2011 at 6:29 pm


      Please suggest the modifications required in the above PIR circuit in order to drive it from 4.5 Volts DC (3 x AA batteries). Please note I will not be using a RELAY but will connect a white LED at the output for my “miniature & compact model” of Security Light & Switch with PIR Sensor.

      Can you please let me know the operating voltage and current ratings of this PIR module during “IDLE” and “ACTIVE” states? I could not understand the explanations provided in the datasheet for this module.

      Thank you in advance.

      Kind regards,
      Raj Kumar Mukherji

    23. Raj Kumar Mukherji says: on November 2, 2011 at 6:48 pm


      Further, I would like to state that if the PIR fails to work on 4.5 Volt, then please suggest the modifications based on 6 Volts (4 x AA batteries).

      Raj Kumar Mukherji

    24. Raj Kumar Mukherji says: on November 3, 2011 at 6:42 pm


      When can I expect a response to my query/request from you?


    25. sir how vary the pir output from 5sec to 18 min i.e how to set it to 1 minute and how to var the detecting range i.e sting detecting range to 1 meter or 2meter or 3met

    26. Sir: Is there a distributer of the PIR SB0061 in the USA? if so, would YOU Please notify me of the ADDRESS, or Phone #.. all I have found has been in china and japan and then, in Quanaties of 100 or more. All I will need is 1 or 2. Thanking You very much for a reply VIA e-Mail. tej413@btes.tv

    27. Thank You

    28. Sir, I need a address of a dealer in the USA who sells the PIR SB0061. TEJ ?

    29. joseph bassaly itt says: on November 19, 2011 at 1:40 am

      what is the value of the zener diode in the scematic or the part number for it

    30. Sir: I srill haven’t found a distributor for the Pir 0061. Do You know of one in the USA? If so please advise me by E-Mail. or in this websit
      Thank You; tej413@btes.tv

    31. tell your contact number for buying thr pir sensor.

    32. sir,
      i want to make project on street light control using motion sensor . so please guide me sir.

      • Hi friend we are manufacturer of sensor switch,i think i can help you in your project,for more information pls contact with me.
        skype :chuanqi901

    33. I would like to know if the output can be limited to less than 5 sec. say 1 sec.
      Because in my project i want to count the number of detections. So it would be preferable to have the high at less than 5 secs.
      Has it got anything to do with the jumper selector ?

    34. How shall i connect pir sesnor with 8051..

    35. Sir,I need help in making Technical Refernce Manual of This project.If possible reply soon sir.

    36. go to http://www.futurlec.com/index.shtml
      to find the SB0061 and other PIR sensor’s. tej

    37. Hello Sir, I am interested in using your project as a base circuit in my research project. I would like to ask if it is possible to replace the 12V relay with a 220V one to power a CFL bulb and other electrical appliances?

    38. Hi ..

      I made the above circuit.But at the relay input i get only 3.3volts,with which i am unable to operate 5volt relay.

      My circuit has following changes
      1)PIR module is BISS0001
      2)The supply voltage is 9v.

      Please help me to resolve the issue.

      • Jim Keith says: on September 4, 2012 at 2:40 am

        No, it cannot work as shown in this circuit unless you have a relay that picks up at a very low voltage. Relays are generally specified to pick up at 75% voltage (3.75V in this case), but below this voltage is not guaranteed.

        I will attempt to post an updated circuit that will operate properly.

    39. Thank you Jim.

      I will wait for your post.

    40. Jim,

      I did the circuit as per your link.It is working perfectly.Thank you very much for your quick response.I just need one clarification
      *I have 5V PIR sensor module .When i asked electronic shop, where i purchased this PIR module, they said that i can use 9V batery.
      What is your comments on this.Is it ok? or it will damage the PIR module.

    41. hi

      nice project , i need some help to understand it and to help me in me Graduation Project

    42. Abdul,

      The very detail of the project is mentioned in the link above(by Jim Keith)

    43. top circiut,,super,working,pls everyone must do this…….

    44. Hello Sir,
      Am not much in the electronics, i’ve made the same circuit, except that i’ve used 5v PIR and therefore transformer to decrease 12v to 5v for the PIR. but my circuit is not working. the LED remains on at all the time, even when we remove PIR. what could be the reason for such behavior. pls reply asap.

    45. I think you wired to the NC contacts rather than the NO contacts. This circuit may have difficulty driving the relay.

      Please refer to my update on this circuit:


      Paste this link into your browser address field…

      • shail verma says: on November 20, 2012 at 4:42 pm

        Thanx for suggestion, i checked out for NC and NO contacts but it didn’t work .One more thing since M using 5V PIR, Do i need to change capacitors and resisters value as i am giving less voltage(5V) to PIR. for this I am using transformer (transformer is attached for PIR input only).

    46. caballero marvic says: on July 22, 2013 at 5:04 am

      Good day,
      Im Marvic, a graduating student of BS ECE, I wanna ask something about the specification of PIR sensor because Im conscious about its function,(can radiate body temp. “IR” or can detect motion only) this is the device i wanna use for my thesis. Can PIR sensor response to the body temperature and what its percentage to detect the body temperature of a person? Because this device used as a switch of light as i wanna proposed to my thesis..

    47. is SB00622A-2 can be a replacement for SB0061?
      and can i use LMR2-12D relay?

      • The SB00622A-2 appears to be a replacement.

        Most 12V relays will work OK.

      • Thanks for the reply, is it okay not to connect the Load – and + of SB00622A-2? And my only problem Is i dont know how to connect the LMR2-12D relay cause the schematic of the LMR2-12D is different in the schematic of the relay in the above circuit.

      • Simply experiment with the relay on the bench–apply 12V to the coil and observe contact operation with a continuity checker or ohmmeter. A 9V battery, LED and series resistor will perform the function of a continuity checker–this simple exercise will teach you much and increase your confidence.

        Also view the updated circuit.

      • Its not working to me and i dont know where to connect the load pins in the SB00622A-2. The led is not turning on and when i remove the no. 3 pin of the PIR on the ground the led is turning on. I dont know whats the problem :(.

        Im Using T1 and T2 is BC547B.
        D2 is 1n4002.

    48. The circuit is now working to me thanks! :D.

    49. Sir can we modify this circuit in to an automatic door opener ciruit by decreasing the value of the preset ??

    50. Can you help me I would like a motion sensor circuit for to turn on a 5volt fan and led also another red led to show low voltage on my 5volt battery. Thank you bob

    51. It is very helpfull. Thank you

    52. daniel francisco says: on August 7, 2014 at 8:54 am

      Where can i buy SB0061 PIR module here in the philippines? How much?

    53. Sivaprakash .T. says: on October 22, 2014 at 5:34 pm


    54. hello sir
      Mai Gaurav Sharma
      sir mujhe college mai project submit karana hai….mera project hai modern class room..jisme mai PIR sensor use karke tubelight ko automatic ON/OFF control karna chahta hu……to kya sir mai iss PIR sensor ko directly college ki AC supply mai connect karke operate kar skta hu …..agar nhi to please mujhe batae ki mai kaise karu or agar mai directly apke iss circuit se operate kara skta hu to app mujhe ye circuit kitne mai doge…..i would like to purchase it.

    55. sir,
      I would like to know whether I can make a simple pir switch for turning on light in my room.
      suggest me any sites or kindly give me a circuit schematic for that

    56. Sir there is problem when I using this circuit . it is not working for me. When I touch 3 port or 2,7 resistance its gets on the relay when I touch watch it off.but when I connect my port module its never gets on help me sir

    You need to log in if you need to post comments on ElectroSchematics.com or register if you do not have an account.