﻿1
00:00:04,640 --> 00:00:13,250
‫Welcome to the tilt sensor interface demonstration with the ardy the seven I have the tilt sensor setup

2
00:00:13,340 --> 00:00:19,790
‫on the breadboard where I have a slide switch that used use to indicate whether you want to enable or

3
00:00:19,790 --> 00:00:21,860
‫disable the tilt sensor.

4
00:00:21,860 --> 00:00:31,940
‫We have the actual tilt sensor itself as well as to 10 ohm resistors and the P.W. am enabled buzzer

5
00:00:32,710 --> 00:00:38,510
‫on our already bored Arty's the seven board we have the interface running on there which is actually

6
00:00:38,570 --> 00:00:46,340
‫utilizes a P.W. and module that we're feeding the enable signal which comes from this switch which we

7
00:00:46,340 --> 00:00:52,910
‫can select whether we want it to be pulled up to high through the 10:2 resistor or have it connected

8
00:00:53,180 --> 00:00:57,620
‫to where it's pulled up to high through the tilt sensor.

9
00:00:57,620 --> 00:01:02,240
‫Now if we output at zero we're going to enable the tilt sensor.

10
00:01:02,390 --> 00:01:07,760
‫And if we output a one we're going to disable the tilt sensor and then we also have coming out of the

11
00:01:07,760 --> 00:01:09,580
‫jayvee port.

12
00:01:09,680 --> 00:01:15,400
‫We have our enable signal coming in as well as our P.W. and output coming out.

13
00:01:15,770 --> 00:01:22,970
‫And we also are feeding our power from this JTP port the zero and three point three volts into the breadboard.

14
00:01:22,970 --> 00:01:28,940
‫So right now if we have the switch turn to disabled where we have it to the Pentium resistor pulled

15
00:01:28,940 --> 00:01:29,670
‫the high.

16
00:01:29,780 --> 00:01:31,800
‫We're going to constantly be putting a one.

17
00:01:31,870 --> 00:01:37,950
‫So no matter if I tilt or not you won't hear anything.

18
00:01:38,120 --> 00:01:42,720
‫The buzzer will not buzz and that is because we have it constantly set too high.

19
00:01:42,740 --> 00:01:47,430
‫So whether the tilt sensor engages or not it's not going to activate.

20
00:01:47,600 --> 00:01:53,840
‫And when you tilt that you can hear the actual the two metal balls inside the tilt sensor can you'll

21
00:01:53,840 --> 00:02:00,020
‫hear them roll to show that you're going to make contact and disconnect where you won't have contact.

22
00:02:00,260 --> 00:02:02,600
‫But your buzzer won't do anything.

23
00:02:02,600 --> 00:02:10,420
‫So now go ahead and enable the we're going to be able to tilt sensor by sliding a slide switch and right

24
00:02:10,420 --> 00:02:15,540
‫way we should note that we're not hearing a buzz and that's because we haven't tilted just yet.

25
00:02:15,560 --> 00:02:21,800
‫So when we tilt will reach a certain point where the two metal balls inside the can will no longer make

26
00:02:21,800 --> 00:02:29,360
‫contact and we'll point to zero through the 10 tailed resistor and that will enable our P.W. signal

27
00:02:29,420 --> 00:02:31,700
‫which will then sound the buzzer.

28
00:02:31,910 --> 00:02:40,410
‫So go ahead and I'm going to tilt the tilt sensor and you should hear that.

29
00:02:41,000 --> 00:02:46,120
‫After a certain point it'll output a buzz sound and you kind of tell this based on.

30
00:02:46,120 --> 00:02:53,180
‫It won't go off won't go off and then all of sudden you reach a certain point where the buzzer goes

31
00:02:53,180 --> 00:02:53,600
‫off.

32
00:02:53,630 --> 00:02:56,100
‫And that means your tilt switch has engaged.

33
00:02:56,180 --> 00:03:00,080
‫And so this can be used in different types of applications a security application you want to make sure

34
00:03:00,080 --> 00:03:01,510
‫a device doesn't move.

35
00:03:01,520 --> 00:03:06,270
‫Now instead of sounding a buzzer you could do other things such as send yourself an alert.

36
00:03:06,380 --> 00:03:13,510
‫But this is a demonstration of how that tells us the interface is running on the the seven board.

