PDA

View Full Version : Pir Sensor



azmax100
- 15th May 2009, 10:08
Hi,
I need sample code to read value from PIR Sensor.
Can somebody please help.

Gusse
- 15th May 2009, 11:09
Some more info would be useful (spec, etc...)
- Analog or digital output?

BR,
-Gusse-

azmax100
- 18th May 2009, 06:23
Hi Gusse,

The output is digital.

Thanks for reply.

grounded
- 18th May 2009, 14:16
I use a lot of PIR's with my motion activated camera's they put out a high 5volts when tripped I add a pull down resister and treat it a like a reg. input

if pir= 1 then do what ever
hope this helps

azmax100
- 20th May 2009, 16:34
thanks Grounded.