Pages

MOTION SENSOR USING PIR SENSOR MODULE WITH PIC MICROCONTROLLER AND WITHOUT MICROCONTROLLER


        The circuit diagram is quite simple. I have powered my circuit with 4 AA batteries that gives 6 V supply.
A diode is used in series to drop the voltage down to 5.4 V as the operating voltage for the PIC microcontroller should be below 5.5 V. Besides, the diode also provides the protection to the circuit in case of reverse polarity of the power supply. I have tested the circuit with NI-MH rechargeable batteries (that gives 4.8 V) and it worked, but I recommend to use the alkaline batteries (1.5 V each) for better performance. You can also use a 9 V battery but then you need a LM7805 regulator IC in your circuit.
        The output of the PIR sensor module is monitored through GP5 (pin 2) of PIC12F635. When the motion is sensed, this output is high at about 3.3 V (my sensor module has a 3.3V regulator IC on board). You could still use this voltage as a valid logic high for PIC12F635, but I preferred to use this voltage to drive the base of an NPN transistor (BC547) so that at the collector we will have the full swing of the logic voltages. Now, the microcontroller monitors the voltage at the collector of the transistor. During the normal condition, the transistor is cut off, and the collector output is at logic high (+5 V). When the motion is sensed, the high output from the sensor module saturates the transistor and the voltage at the collector drops down to logic low. The jumper selection for trigger is at H position, so the sensor output will remain active as long as the motion exists. Note that the PIC12F635 microcontroller uses the internal clock oscillator at 4.0 MHz. The MCLR function is disabled and WDT is OFF in this project.
PIR SENSOR MODULE: DATASHEET,PRICE

PIR SENSOR MOTION SENSOR TO OPERATE ARELAY

pir motion sensor switch circuit schematic
       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 SENSOR MODULE:

Features

  • Complete with PIR, Motion Detection IC and Fresnel Lens
  • Dual Element Sensor with Low Noise and High Sensitivity
  • Supply Voltage: 5-20Vdc
  • Delay Time Adjustable: 5 seconds to 18 Minutes
  • Standard TTL Output
  • Module Dimensions: 28mm Length, 38mm Width, 40mm Height

CREDITS:http://electroschematics.com

ABOVE CIRCUITS WORK FINE ,I HAVE MADE THEM..


15 comments:

  1. WHERE CAN I GET THE PIR SENSOR

    ReplyDelete
  2. I was curious if you ever thought of changing the structure
    of your website? Its very well written; I love what
    youve got to say. But maybe you could a little more in the way of content
    so people could connect with it better. Youve got an awful lot of text for only having 1
    or 2 images. Maybe you could space it out better?


    My site: elektronisk Cigaret

    ReplyDelete
  3. My spouse and I stumbled over here by a different web page and thought I may as well check things out.
    I like what I see so now i'm following you. Look forward to checking out your web page repeatedly.

    Here is my web page: cigarettes

    ReplyDelete
  4. Remarkable things here. I'm very satisfied to see your post. Thanks a lot and I'm looking forward to touch you.
    Will you please drop me a e-mail?

    my page - lights an electronic cigarette smoke

    ReplyDelete
  5. That is a good tip especially to those new to the blogosphere.
    Brief but very accurate info… Many thanks for sharing this one.
    A must read article!

    Also visit my web page ... e-cigaret med nikotin

    ReplyDelete
  6. It's a pity you don't have a donate button! I'd certainly donate to this fantastic blog! I guess for now i'll settle for
    book-marking and adding your RSS feed to my Google account.
    I look forward to fresh updates and will share this blog with my Facebook group.

    Chat soon!

    Take a look at my web page :: home sex

    ReplyDelete
  7. I do not even understand how I stopped up here, however I assumed
    this submit used to be good. I do not know who you're but certainly you're going to a well-known blogger if you happen to are not already.
    Cheers!

    My webpage; http://www.asianpussysex.com/

    ReplyDelete
  8. This excellent website truly has all the info I needed about this subject and didn't know who to ask.

    Visit my site - ecigaret

    ReplyDelete
  9. Your style is really unique in comparison to other people I have
    read stuff from. Thanks for posting when you've got the opportunity, Guess I will just book mark this page.

    My webpage http://www.69videosporno.net

    ReplyDelete
  10. nice article and its a good post regarding the topic.... and if u have more stuff plz post on my site


    http://www.npeducations.com

    ReplyDelete
  11. これは、にはチャンス 取る 追加 見て いくつか を示しています 内、 過去。この映画は土地と綿菓子のボールにそれらを回すと、それらを取って、小さな町を恐怖に陥れる、宇宙空間からのピエロについてです に 彼らの船どこ 彼ら可能性があります を食べるために保存します。どのようなテクスチャのようなあなた さらに 重要な を選択する、時計。

    My blog post :: ガガ ミラノ 時計

    ReplyDelete
  12. Hi, I do think this is a great blog. I stumbledupon it ;)
    I'm going to revisit yet again since I saved as a favorite it.
    Money and freedom is the greatest way to change, may you be rich and
    continue to help other people.

    my blog - goji berry preço

    ReplyDelete
  13. Hi, congrats for the excellent blog.
    I have a question, that maybe you or one of the visitors can answer:
    Could we discard t2 transistor and connect t1 directly to relay coil contacts? If so is there any particular reason to still use it?
    Thanks in advance.
    Thanks in advance.

    ReplyDelete