﻿1
00:00:05,060 --> 00:00:11,630
‫Welcome to the tilt sensor demonstration with the already board we have the tilt sensor set up on the

2
00:00:11,690 --> 00:00:18,820
‫external breadboard which includes a slide switch which we use to enable or disable the tilt sensor.

3
00:00:18,890 --> 00:00:22,040
‫We have to 10k ohm resistors.

4
00:00:22,460 --> 00:00:30,770
‫The actual tilt sensor and a buzzer we used to indicate when the tilt sensor has been tilted so in the

5
00:00:30,770 --> 00:00:36,570
‫way this works we have our slide switch which whom we are disabled.

6
00:00:36,730 --> 00:00:46,070
‫We're going to the output is tied pulled up to the 10 ohm resistor and fed into the J.

7
00:00:46,070 --> 00:00:52,030
‫D p mod port of the aready board and then we have if we enable it.

8
00:00:52,190 --> 00:00:59,630
‫We're now tied through the tilt switch sensor which when the two balls are disconnected we then output

9
00:00:59,630 --> 00:01:08,660
‫a zero which enables the P.W. and on the audio board and will activate the alarm or test out the tilt

10
00:01:08,660 --> 00:01:09,590
‫sensor.

11
00:01:09,710 --> 00:01:10,610
‫We will first.

12
00:01:10,700 --> 00:01:12,140
‫We are disabled currently.

13
00:01:12,290 --> 00:01:18,110
‫So if we tilt the board will notice that there is no buzz.

14
00:01:18,290 --> 00:01:19,530
‫There's no sound.

15
00:01:20,000 --> 00:01:25,740
‫And as you're tilting you can hear the balls disconnect inside the actual tilt sensor.

16
00:01:26,000 --> 00:01:32,150
‫And since we're pulled up through the 10 cam resistor we're always outputting a one which is never enabling

17
00:01:32,540 --> 00:01:34,510
‫our P.W. sensor.

18
00:01:34,790 --> 00:01:40,810
‫So now what we want to do is slide our switch to enable the tilt switch sensor.

19
00:01:41,030 --> 00:01:44,810
‫And as soon as we switch it will notice that we don't actually hear anything.

20
00:01:44,900 --> 00:01:50,030
‫That's because we haven't tilted if we now tilt the board which would tilt the sensor we should then

21
00:01:50,030 --> 00:01:55,120
‫output is zero once we reach a certain point and we'll hear a buzzer give an output.

22
00:01:55,130 --> 00:01:58,430
‫So if we go ahead and pick up the board and do it till

23
00:02:02,360 --> 00:02:05,170
‫once we reach a certain point we notice that it starts to buzz.

24
00:02:05,270 --> 00:02:08,620
‫And as you start to tilt back we notice that the buzz goes away.

25
00:02:08,620 --> 00:02:15,800
‫That's because the two metal balls are now making contact and we're outputting a one and moving keep

26
00:02:15,800 --> 00:02:17,460
‫tilting back and forth.

27
00:02:17,570 --> 00:02:21,600
‫And you notice that as you tilt and when you bring it back your buzzer stops.

28
00:02:21,640 --> 00:02:26,590
‫And so this can be used in different types of situations such as a security system or anything else.

29
00:02:26,600 --> 00:02:34,930
‫If you want to make sure that an object has not been moved tilted in any way you can use a tilt sensor

30
00:02:34,950 --> 00:02:36,800
‫just just as we shown here.

31
00:02:37,010 --> 00:02:40,670
‫And that is the tilt sensor demonstration running on the board.

