Hello friends.
In this part of the video, I just show you how to interface a Pir sensor passive infrared sensor with
an AI DAC device with the help of Matlab software and how to acquire the signal in this case.
Also, I'm using digital signal digital input signal.
As you see over here, this is my Pir sensor.
When you just open this housing you can check one pin is VCC, middle one is output, and extreme end
is ground.
You just connect VCC to five volt signal to the digital pin or DAC card.
In this case I'm just connecting this digital pin to the port zero Line five.
Ground to ground.
Let's check what happened.
This is a motion sensor.
It will detect motion when some study device in place of this.
It will detect zero.
When there is a motion, it will detect one.
Or you can say hi.
So I just.
Drag the digital input over here.
You just need to select the pin and select all the device.
Pin five means for zero.
Line five is connected over here.
Let's just use another pin.
I'm not using port zero right now I'm just using.
Let's say over to one over here.
Just connect this device.
So now it is connected to old one.
Line one.
Now let's check.
Old one just be selected or unselected.
Old one.
Line one.
Select it, apply it.
Now one display device.
Just connect it.
This display device, you can use cope also.
Now I just run it and let's let's check what happened to it.
So initially it is saying zero when I put my hand as you see for once it is saying.
Zero then one.
When there is a motion it is saying one again, there is a motion.
It is saying one.
Okay, so this is a motion detector, right?
Let's say I just put my hand for some time.
For a moment it is getting zero.
There is no motion when I just put my name on my hand.
It is, say one in the motion sensor.
Over here.
There are two different potentiometers using these.
This one is used for delay time and this one is when it say or it send a pulse so you can manage it.
You can manage the range and the delay time between two pulses.
So this is how you can interface your pulse sensor or not motion sensor with your Matlab software.
So in this case I just explained you the Pir sensor connections interfacing.
As you see.
Again I'm just putting my hand.
It's a one for an instant then zero.
You can manage the delay time from these potentiometer and the range of this Pir sensor using these
potentiometer.
One is for range, one is for delay time.
So this is all about today's lecture.
Thank you.