Shop OBEX P1 Docs P2 Docs Learn Events
>> hooking up 2 PIR sensors .. help needed — Parallax Forums

>> hooking up 2 PIR sensors .. help needed

ArchiverArchiver Posts: 46,084
edited 2003-10-26 00:53 in General Discussion
I'm looking to hook up 2 PIR sensors to the BASIC stamp in order to
have them control 2 LEDs independently. having one PIR control
a "left" zone and the other control a "right" zone with motion
detection. when motion is detected in either area, it's respective
LED would should light up.

so far I have been working on the positioning of the PIRs and some
alteration to the PIR hardware itself (taping part of the dome sensor
so that both don't converge).

my question is this : is there a way of using the BASIC stamp to
control the PIRs so that only "left" and "right" are detected
independently and not both at the same time? any help with coding
and/or schematics of this would be very much appreciated.

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-10-26 00:21
    It sounds like what you want to do should be simple as far as deteting a
    right zone and left zone. You mentione you have two sensors, correct? One
    sensor
    goes to one stamp input pin while the other sensor goes to a different stamp
    input pin.

    Your software code then lights the LED depending on what sensor was
    recognized in your code.

    What is the part number of the sensors you are using?

    ken

    I'm looking to hook up 2 PIR sensors to the BASIC stamp in order to
    have them control 2 LEDs independently. having one PIR control
    a "left" zone and the other control a "right" zone with motion
    detection. when motion is detected in either area, it's respective
    LED would should light up.

    so far I have been working on the positioning of the PIRs and some
    alteration to the PIR hardware itself (taping part of the dome sensor
    so that both don't converge).

    my question is this : is there a way of using the BASIC stamp to
    control the PIRs so that only "left" and "right" are detected
    independently and not both at the same time? any help with coding
    and/or schematics of this would be very much appreciated.


    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2003-10-26 00:53
    yes, that is exactly what I am trying to do.
    The sensors that I am using are 5V powered PIR motion detectors
    purchased at HVW.
    url with a pic and info:
    http://www.hvwtech.com/pages/products_view.asp?ProductID=95

    sd.

    --- In basicstamps@yahoogroups.com, smartdim@a... wrote:
    > It sounds like what you want to do should be simple as far as
    deteting a
    > right zone and left zone. You mentione you have two sensors,
    correct? One sensor
    > goes to one stamp input pin while the other sensor goes to a
    different stamp
    > input pin.
    >
    > Your software code then lights the LED depending on what sensor was
    > recognized in your code.
    >
    > What is the part number of the sensors you are using?
    >
    > ken
Sign In or Register to comment.