Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 21

Thread: PICAXE AND PIR SENSOR

  1. #1

    Default PICAXE AND PIR SENSOR

    Does anyone know how to interface a PIR sensor with the analogue input pin of the 28 pin PICAXE?

  2. #2
    Moderator
    Join Date
    Jan 1970
    Location
    North Norfolk blow-in.
    Posts
    5,965
    Blog Entries
    1

    Default

    kooch

    Can you post a reference number
    for the PIR or the datasheet?


  3. #3
    Technical Support
    Join Date
    Jan 1970
    Location
    UK
    Posts
    19,875

    Default

    Firstly, by "PIR sensor" do you mean a PIR module which comes as part of a burglar alarm or security system to be screwed to the wall, or do you mean the pyroelectric sensor used within them ?

    If the former, then the output is usually an open-closed switch formed by a relay, which can be used just as normal switch would be with the PICAXE.

    If the later, it depends on the type of pyroelectric sensor used. Some have a 'Source Follower' built in which produces a voltage which could connect directly to a PICAXE, others may need op-amp amplification. If this isn't a 'sensor in a can', it may require even more complex electronics.

    You'd need to identify the make and model of the sensor to determine how it should be used.


  4. #4

    Default

    It is a PIR SENSOR 5M STANDARD WHITE (RC). Rapid code 61-5130 Man. Code AMN11112. It is a small 3 pin sensor. Pins are Vdd (5V), GND, and Out. The data sheet suggests that a load can be operated using 'out pin' to switch on a transistor activating the load. I thought the varying voltage of 'out' would have been enough for an analogue input to recognise, but no joy.

  5. #5

    Default

    Doesn't seem to be a current product at www.rapidonline.com :-(

  6. #6

    Default

    If you read the Data Sheet it says its a logic output - see the table (3_ and plot of the output on page 2.

    This product is also marketed under the NAPION name. If you could get the AMN21112 then that would give you an analogue output.

    This data sheet gives more details:-
    <A href='http://www.farnell.com/datasheets/36210.pdf' Target=_Blank>External Web Link</a>

    Same meat, different gravy.

  7. #7

    Default

    This is a micropower fully integrated PIR module on a chip with various lenses and optional features suitable for many applications.

    Note that both analog and digital output signals are not valid immediatly after powerup and may need up to 30 seconds to stabilize.

    The digital output is open &quot;drain&quot; to Vcc and requires a 100K resistor to 0V for full output signal swing.

    Both analog and digital output types have limited output drive current but are compatible with PICAXE input pins.

    Edited by - wilf_nv on 21/12/2006 10:09:43

  8. #8

    Default

    Ah...that would be 61-1502 then ;-)

  9. #9

    Default

    May I ask why you want analogue?

    Some people get the wrong-end-of-the-stick when looking at PIR analogue outputs.

  10. #10

    Default

    Keep up Martin. Tee hee. You know you have to be clairvoyant on this forum.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •