+ Reply to Thread
Page 1 of 2
1 2 Last
Results 1 to 15 of 20

Thread: PIR sensor, help!

  1. #1
    TheSwede73 Newbie
    Join Date
    Jan 2009
    Location
    Stockholm
    Posts
    60

    Default PIR sensor, help!

    Hey!

    I have just recieved two PIR sensors, (passiveinfraredsensors) and im trying to put it into a circuit.
    The final project is two get a outdoorlight to turn on and light for 10 minutes, thats done with a timer, that part i can figure out!

    What i need to know is how to connect this correctly.

    The markings are red - "plus", black - "minus", yellow -"out", so three cables.

    How do i connect it to get the signal to close a timer relay?

    and can i test it before that, just turning on a led or something.

    The Pirs come with circuitry ready as in picture.

    Thanks!!
    Attached Images


  2. #2
    crutschow Excellent crutschow Excellent crutschow Excellent crutschow Excellent crutschow Excellent crutschow Excellent
    Join Date
    Mar 2008
    Location
    USA
    Posts
    3,026

    Default

    Need a part number or data sheet for the PIR. Otherwise it's only a guess as to what voltages it needs/outputs.
    Carl
    Curmudgeon Elektroniker

  3. #3
    TheSwede73 Newbie
    Join Date
    Jan 2009
    Location
    Stockholm
    Posts
    60

    Default

    The voltage is 4,5-20V, no other info is possible from the seller.... :/

    Output: Toggle or Lock

  4. #4
    audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent
    Join Date
    Mar 2004
    Location
    Canada, of course!
    Posts
    19,880

    Default

    Throw the unknown product back to the seller and buy one from a half-decent seller who can give you the manufacturer's datasheet for one.
    Uncle $crooge

  5. #5
    TheSwede73 Newbie
    Join Date
    Jan 2009
    Location
    Stockholm
    Posts
    60

    Default

    The same product can be bought from other stores so i think i can get the sheet... but how hard can it be? i have plus, minus, and out.. so i only need to get a signal to close a relay...shouldnt be hard...

  6. #6
    TheSwede73 Newbie
    Join Date
    Jan 2009
    Location
    Stockholm
    Posts
    60

    Default

    Could "out" be an open collector? and i need a pull up resistor? out is the "alarm" pin? i have read this on the same looking PIR's somewhere else...
    i dont know half of it but if this works with my PIR's...

  7. #7
    audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent
    Join Date
    Mar 2004
    Location
    Canada, of course!
    Posts
    19,880

    Default

    Without seeing the datasheet then you are just guessing on its spec's and how it works.
    Uncle $crooge

  8. #8
    TheSwede73 Newbie
    Join Date
    Jan 2009
    Location
    Stockholm
    Posts
    60

    Default

    Yes!
    Well i paid 7 dollars for both..so i can experiment...

    But what's this..you are an incredible expert, no advice?

    Please

  9. #9
    tmcolby Newbie
    Join Date
    Feb 2007
    Posts
    7

    Default

    i tend to agree with you that it is most likely an open collector output.

    it should be easy enough to figure out. supply the sensor with power and use your volt meter with light and dark and see what the output does. if the output doesnt move much with the light and dark scenarios it is probably an open collector. at this point use a pull up resistor and scope it again...

  10. #10
    smanches Excellent smanches Excellent smanches Excellent smanches Excellent smanches Excellent
    Join Date
    Mar 2009
    Location
    Oregon, USA
    Posts
    886

    Default

    Quote Originally Posted by TheSwede73 View Post
    But what's this..you are an incredible expert, no advice?

    Please
    He gave you his advise, twice....

    Quote Originally Posted by audioguru
    Throw the unknown product back to the seller and buy one from a half-decent seller who can give you the manufacturer's datasheet for one.
    Quote Originally Posted by audioguru
    Without seeing the datasheet then you are just guessing on its spec's and how it works.

  11. #11
    timsvb Newbie
    Join Date
    Jun 2009
    Location
    australia
    Posts
    26

    Default

    Try this. Connect the Red to +from supply,Black to the -of supply,Yellow to the relay coil one side,and the other side of coil to -of supply.Basically the Pir needs a power source to run its detection, and when activated, sends a switched power out to the relay/appliance.

  12. #12
    mneary Excellent mneary Excellent mneary Excellent mneary Excellent mneary Excellent mneary Excellent mneary Excellent mneary Excellent mneary Excellent
    Join Date
    Feb 2007
    Location
    California USA
    Posts
    3,835

    Default

    My best guess is that it's open drain (collector). This would mean that a relay would work between red (+) and the yellow wire. Probably a good idea to use a diode (1N914, 1N4148, etc) across the relay coil. The cathode goes to the (+) or red.

    It's anybody's guess whether it's normally open or normally closed. Normally open is most convenient for connecting light controls in parallel, while normally closed helps to make alarm systems tamper resistant.
    de KI6RWX

  13. #13
    timsvb Newbie
    Join Date
    Jun 2009
    Location
    australia
    Posts
    26

    Red face

    Quote Originally Posted by mneary View Post
    My best guess is that it's open drain (collector). This would mean that a relay would work between red (+) and the yellow wire. Probably a good idea to use a diode (1N914, 1N4148, etc) across the relay coil. The cathode goes to the (+) or red.

    It's anybody's guess whether it's normally open or normally closed. Normally open is most convenient for connecting light controls in parallel, while normally closed helps to make alarm systems tamper resistant.
    k133.pdf
    You're right.Found this maybe some help.Could be similar.

  14. #14
    audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent
    Join Date
    Mar 2004
    Location
    Canada, of course!
    Posts
    19,880

    Default

    It is odd that the datasheet for the PIR sensor shows a 10k load but does not spec a max allowed output current.

    Its output might not be able to drive a relay. Maybe you need to "smoke" one to see if it will or won't drive a relay.
    Uncle $crooge

  15. #15
    TheSwede73 Newbie
    Join Date
    Jan 2009
    Location
    Stockholm
    Posts
    60

    Default

    I can order relays that close by the out of as little as a LED, so that would probably work...

    Well for 3,50 each i guess i could test one to the max....

+ Reply to Thread
Page 1 of 2
1 2 Last

Similar Threads

  1. Tilt Sensor / Shock Sensor Mobile Phone Call Motorcycle Alarm
    By lusitanv in forum Electronic Projects Design/Ideas/Reviews
    Replies: 2
    Latest: 30th May 2009, 11:36 AM
  2. IR sensor, ultrasonic sensor, sonar sensor
    By hweontey in forum Robotics Chat
    Replies: 30
    Latest: 20th May 2009, 09:52 PM
  3. Car's VSS sensor (Vehicle Speed Sensor)
    By ikalogic in forum General Electronics Chat
    Replies: 13
    Latest: 14th December 2008, 11:28 PM
  4. What type of Hall Effect sensor is cheap and common? for rotation sensor with magnet.
    By William At MyBlueRoom in forum Electronic Projects Design/Ideas/Reviews
    Replies: 2
    Latest: 30th November 2006, 06:59 AM
  5. SENSOR:nemoto resistive semiconductor alcohol sensor(INDIA)
    By Anish in forum Datasheet/Parts Requests
    Replies: 1
    Latest: 24th June 2003, 02:52 PM

Tags for this Thread