Good morning.
Today, I will discuss how to interface passive infrared sensor, or you can see motion sensor with
Ardino mega using legumes.
So over here I have passive infrared sensor.
Using these potential meters, you can gauge the duration of pulse and you can also change the range
of this sensor.
OK, so this sensor have one week, as you see over here, this is week and this one is my signal and
this one is crown as the red one is my ATCC.
That is five all black one is brown and white one.
And this yellow one is my analog pen.
That is my signal from the sensor.
And over here I have a lily that is connected to a pin number seven.
So right now I just acquired a signal analog signal and then there's the signal.
So for this purpose, I just go to the software part and over here you have to just line explain where
we are.
First you have to interface.
You are already Namanga right now my company is seven next.
So as you'll see or hear, the program is burning and then the uploading is done.
I just finish it.
So just finish it and go to Makaha Bluebox just lock it.
And over here for processing, just open, create constant and in this constant select the computer
then you have to close.
And then this program I just read analog signal so I just read analog signal and the PIN number is eight.
Then just go to the D Delaporte and over here I have to write.
So I just connect this error to error over here and over here.
You have to select the PIN number.
The PIN number is seven days, the PIN number seven.
And over here we have to we have some volume.
So right now I just get a comparison when the output value of the handset, because when there is a
signal, the output value is three point four, something bold.
So I just take this from here and create a constant on the constant values, too.
So when the voltage is about to equal to the true function and a true function is one, or you can say
five, all it goes to the LLB from being number seven.
So I just create a while loop over here.
So for continuous signal reading and generation control, you just I also create a meter
so the value so there is five or six and this value is around three point something.
So I just create these equality's display and I also take a Luly
that is the output.
So AEB and it is this is connected to the output of the competitor that goes to the output site.
OK, so when I had known then what I know, as you see right now, the program is started and as you
see right now, the value is zero.
And when I move my hand in front of this biosensor, the value is they point for something.
And right now my hand is stationary, so the output is idle.
And when I move my hand, as you see, the output was painful and the Allouni.
Also, right, OK, so this is how I know I'm moving my hand, so I'll put days there, but when my
hand is stationary over here, as you see there, Lud's goes off and I'll put Allouni also goes off.
So this is how you can acquire analog signal and this does signal using different applications.
Thank you.