1
00:00:04,000 --> 00:00:05,000
Good morning.

2
00:00:05,000 --> 00:00:16,000
Today, I will discuss how to interface passive infrared sensor, or you can see motion sensor with

3
00:00:16,000 --> 00:00:20,000
Ardino mega using legumes.

4
00:00:20,000 --> 00:00:25,000
So over here I have passive infrared sensor.

5
00:00:26,000 --> 00:00:35,000
Using these potential meters, you can gauge the duration of pulse and you can also change the range

6
00:00:35,000 --> 00:00:37,000
of this sensor.

7
00:00:38,000 --> 00:00:51,000
OK, so this sensor have one week, as you see over here, this is week and this one is my signal and

8
00:00:51,000 --> 00:00:56,000
this one is crown as the red one is my ATCC.

9
00:00:56,000 --> 00:01:00,000
That is five all black one is brown and white one.

10
00:01:00,000 --> 00:01:05,000
And this yellow one is my analog pen.

11
00:01:05,000 --> 00:01:09,000
That is my signal from the sensor.

12
00:01:09,000 --> 00:01:16,000
And over here I have a lily that is connected to a pin number seven.

13
00:01:16,000 --> 00:01:25,000
So right now I just acquired a signal analog signal and then there's the signal.

14
00:01:26,000 --> 00:01:35,000
So for this purpose, I just go to the software part and over here you have to just line explain where

15
00:01:35,000 --> 00:01:36,000
we are.

16
00:01:36,000 --> 00:01:38,000
First you have to interface.

17
00:01:38,000 --> 00:01:45,000
You are already Namanga right now my company is seven next.

18
00:01:46,000 --> 00:02:01,000
So as you'll see or hear, the program is burning and then the uploading is done.

19
00:02:02,000 --> 00:02:03,000
I just finish it.

20
00:02:07,000 --> 00:02:15,000
So just finish it and go to Makaha Bluebox just lock it.

21
00:02:17,000 --> 00:02:26,000
And over here for processing, just open, create constant and in this constant select the computer

22
00:02:27,000 --> 00:02:28,000
then you have to close.

23
00:02:28,000 --> 00:02:41,000
And then this program I just read analog signal so I just read analog signal and the PIN number is eight.

24
00:02:42,000 --> 00:02:49,000
Then just go to the D Delaporte and over here I have to write.

25
00:02:50,000 --> 00:02:59,000
So I just connect this error to error over here and over here.

26
00:02:59,000 --> 00:03:00,000
You have to select the PIN number.

27
00:03:00,000 --> 00:03:03,000
The PIN number is seven days, the PIN number seven.

28
00:03:03,000 --> 00:03:06,000
And over here we have to we have some volume.

29
00:03:07,000 --> 00:03:16,000
So right now I just get a comparison when the output value of the handset, because when there is a

30
00:03:16,000 --> 00:03:20,000
signal, the output value is three point four, something bold.

31
00:03:21,000 --> 00:03:28,000
So I just take this from here and create a constant on the constant values, too.

32
00:03:28,000 --> 00:03:35,000
So when the voltage is about to equal to the true function and a true function is one, or you can say

33
00:03:35,000 --> 00:03:40,000
five, all it goes to the LLB from being number seven.

34
00:03:40,000 --> 00:03:43,000
So I just create a while loop over here.

35
00:03:45,000 --> 00:03:57,000
So for continuous signal reading and generation control, you just I also create a meter

36
00:03:59,000 --> 00:04:08,000
so the value so there is five or six and this value is around three point something.

37
00:04:09,000 --> 00:04:15,000
So I just create these equality's display and I also take a Luly

38
00:04:17,000 --> 00:04:19,000
that is the output.

39
00:04:20,000 --> 00:04:30,000
So AEB and it is this is connected to the output of the competitor that goes to the output site.

40
00:04:30,000 --> 00:04:41,000
OK, so when I had known then what I know, as you see right now, the program is started and as you

41
00:04:41,000 --> 00:04:43,000
see right now, the value is zero.

42
00:04:43,000 --> 00:04:52,000
And when I move my hand in front of this biosensor, the value is they point for something.

43
00:04:52,000 --> 00:04:56,000
And right now my hand is stationary, so the output is idle.

44
00:04:56,000 --> 00:05:03,000
And when I move my hand, as you see, the output was painful and the Allouni.

45
00:05:03,000 --> 00:05:14,000
Also, right, OK, so this is how I know I'm moving my hand, so I'll put days there, but when my

46
00:05:14,000 --> 00:05:23,000
hand is stationary over here, as you see there, Lud's goes off and I'll put Allouni also goes off.

47
00:05:23,000 --> 00:05:31,000
So this is how you can acquire analog signal and this does signal using different applications.

48
00:05:31,000 --> 00:05:32,000
Thank you.

