LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview for motion detection

hi there, i need some help on my project.

 

now im doing a motion detection but is using labview to control. so is there anyone had done this before or there is such link to the one i needed help??

 

1) im using a PIR sensor to connect to my labview

2)quite new to labview and unsure how to start with a simple motion detection on labview.

 

thanks in advance

0 Kudos
Message 1 of 7
(4,960 Views)
0 Kudos
Message 2 of 7
(4,928 Views)

This is actually quite trivial since those PIR detectors just change a digital logic line when something moves into their view.  Any DAQ module with digital inputs would work fine.  Just look at the examples that ship with LabVIEW.  Help > Find Examples > Hardware IO > DAQmx > Digital Measurement

 

On the cheap you could even press your PCs COM port into service to read up to four PIR sensors using the handshaking signals.  ( See the Troubleshooting Serial Line Monitor.vi example)

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 3 of 7
(4,924 Views)
Thanks for all the advice but I'm still stuck like how can I really use DAQ to configure my PIR sensor so that when there is movement the labview will show a LEF that will light up??
0 Kudos
Message 4 of 7
(4,899 Views)

@xrty wrote:
Thanks for all the advice but I'm still stuck like how can I really use DAQ to configure my PIR sensor so that when there is movement the labview will show a LEF that will light up??

Connect PIR to DAQ

 

Read from DAQ (Measurement I/O Palette)

If PIR value changes (movement), then tell the led to turn on (otherwise tell it to turn off).

Repeat.

0 Kudos
Message 5 of 7
(4,893 Views)
So I just have to put one DAQ and one LED and connect to my PIR sensor right??
0 Kudos
Message 6 of 7
(4,881 Views)

You need to tell us which DAQ card you have or we can't give you much more help.

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 7 of 7
(4,864 Views)