05-29-2011 04:58 AM
how to analyze pir sensor (re200b not module) data read from usb 2009 using labview?
if motion detected the sensor output will be a positive and negative pulse right?
thanks
05-31-2011 04:51 AM
Hi,
Thank you for contacting us.
You can find the Specification Manual of re200b here: http://www.bucek.name/pdf/re200b.pdf
On the 4th page you can see the tipical wiring of the sensor and you can see the output signal versus the movement direction.
You are right, the movement generates a positive and negative pulse, for further details you should measure it.
You can use USB-6009 for the measurement. You can download the NI-DAQmx dirver from http://ni.com/support/daqmx .
You should use DAQ Assistant first in LabVIEW.
Getting started with data acqusition: http://zone.ni.com/devzone/cda/tut/p/id/3536
I hope it will helpful. If you have futher questions, please write again.
Regards,
Peter
06-10-2011 11:33 AM
Hi,
thanks for your concern.
I have the data sheet and I know how to use daq assistant.
My question is how should I tell labview to read a +ve followed by -ve signal?
or it may solve by only measuring voltage change in reference (if the output was zero all the time unless it detects movement)
I know that it can be known by trial, I wante to take the advice of those who have tried it.
thanks again
regards
06-14-2011 02:35 AM
Hi,
If I understood well you would like to detect the positive and negative pulse in sequence. You can do this with "state machine" structure in LabVIEW: http://zone.ni.com/devzone/cda/tut/p/id/3024
I hope this will be helpful.
Regards,
Peter