Motion sensing with a PIR sensor (FreeBird - Part 3)

2007-10-15T19:06:00

Passive Infrared detectors are used to sense motion. I am right now experimenting with such a device from Parallax. For once, this is a sensor which works with 3.3V, so the interface with the AVR32 processor is simple. Whenever movement is sensed, the output of the device goes HIGH and then LOW. Placing an LED on the output pin (buffered by a transistor) makes this `sensing' visible! Watching the LED light up and go off in a dark room as you move around the sensor is kind of spooky! Now, what kind of application can this have on a FreeBird? Watch the PIR sensor in action!


Tue Jan 8 21:49:14 2008

good for office cube so nobody can sneak up on you


Wed Jan 16 17:48:17 2008

can u caunt the frequency of oscillation with it? can it give that sort of fast response? and is it able to locate a marking on an otherwise plane surface? for example, can it sense a line on a wall which is otherwise featureless?


ej

Wed Jan 16 17:48:41 2008

can u caunt the frequency of oscillation with it? can it give that sort of fast response? and is it able to locate a marking on an otherwise plane surface? for example, can it sense a line on a wall which is otherwise featureless?


Pramode C.E

Sun Jan 20 05:51:06 2008

Hello ej: The PIR sensor is NOT for line sensing - other simpler modules are available for that. I don't really understand what you mean by `frequency of oscillation'. Maybe, you mean an object is moving in front of it in a periodic manner (like a pendulum) and you want to measure the frequency? If that is the objective, I don't think this sensor would be able to do that also ... One link which you can check out: http://nsc.res.in/~elab/phoenix/


ishani

Wed May 7 05:10:10 2008

i am workin with atmega16.and want to interface PIR with it..so PIR can be directly connected to avr?


Pramode C.E

Wed May 7 05:30:06 2008

Yes!


Adam

Sat Mar 28 16:46:42 2009

Hey , I am working on a project and I am using a PIR sensor. I woud like connect it to a PIC18F452 microcontroller. What port pin am I going to use? And also, I need to write a program using Assembly language. Could you please give me an examlpe or explain to me what the program should look like in order to tell the microcontroller that the PIR detected someone ? Is it just a bit that goes high and low? This means I would just be checking the status of that bit (in order to call the right subroutine for other actions)? Thank you very much!


Silpa Kamath

Wed Dec 23 09:34:51 2009

How did you interface the sensor to the micro-controller.Can you please send links for the same

[Subscribe to our Newsletter] [Go to pramode.net home] [Courses at Recursive Labs] [Connect with me on Twitter/Facebook]