﻿1
00:00:04,510 --> 00:00:10,140
‫Welcome to the tilt sensor interface demonstration on the basis to development board for the set up

2
00:00:10,210 --> 00:00:16,830
‫we have the basis to board with a with the external breadboards set up on the external breadboard.

3
00:00:16,830 --> 00:00:24,770
‫We have a buzzer that we use to indicate when the breadboard or tilt set switch has been tipped wreathing

4
00:00:24,810 --> 00:00:29,470
‫to 10 Kagome resistors and one electronic slide switch.

5
00:00:29,470 --> 00:00:34,990
‫And the way we're playing a lot trying slides which we haven't seen you can enable or disable the tilt

6
00:00:34,990 --> 00:00:35,950
‫switch sensor.

7
00:00:36,100 --> 00:00:40,690
‫If you port to the right will disable the tilt switch sensor and that's because when we go to the right

8
00:00:41,110 --> 00:00:47,440
‫we're going to go through this 10 cam resistor and pull up to high for go to the left and the tilt switch

9
00:00:47,440 --> 00:00:54,940
‫sensor is not engaged it's going to pull high through the tilt switch center where it is tied to the

10
00:00:54,940 --> 00:00:55,560
‫high.

11
00:00:55,640 --> 00:01:00,410
‫The other end is tied to ground through with a 10K ohm resistor.

12
00:01:00,550 --> 00:01:06,650
‫So when that switch sensor switches or the ball disengage it's going to send out a low signal which

13
00:01:06,650 --> 00:01:11,920
‫when we get a low signal which is coming through our orange wire into the J.

14
00:01:11,920 --> 00:01:19,410
‫P. Mont. port we're then going to send out a P.W. signal on the yellow wire to activate the buzzer.

15
00:01:19,480 --> 00:01:24,660
‫And so in order to demonstrate this first we're going to have our tilt switch sensor so it's disengage

16
00:01:24,660 --> 00:01:25,970
‫we pulled to the right.

17
00:01:26,230 --> 00:01:33,050
‫So right now if we tell our sensor you won't hear anything.

18
00:01:33,160 --> 00:01:39,880
‫Now what you will hear is actually a slight clinking sound and that is the metal balls inside the sensor

19
00:01:40,180 --> 00:01:43,680
‫as it disengage when you tilt the entire breadboard.

20
00:01:43,680 --> 00:01:45,690
‫You'll hear them disengage and reengage.

21
00:01:45,850 --> 00:01:51,190
‫But since we're pulled high to the other side we don't actually see any of that into our input so it's

22
00:01:51,190 --> 00:01:52,240
‫disabled.

23
00:01:52,240 --> 00:02:00,010
‫Now if we enable our tilt switch sensor when we start to tilt or reach a certain point in the buzz

24
00:02:08,350 --> 00:02:14,560
‫and if you go you can keep tilting and you reach a certain point in the body goes away and again it's

25
00:02:14,680 --> 00:02:18,360
‫buzz and Buzz goes away.

26
00:02:18,520 --> 00:02:24,000
‫And that's because when we're tilting those metal balls or rolling and disconnecting from the two pins.

27
00:02:24,190 --> 00:02:30,400
‫So instead of going to pull the high we're now being pulled to ground for the 10k ohm resistor and when

28
00:02:30,400 --> 00:02:36,550
‫we send that zero signal we output our Peter to him as and outputs and activates our buzzer.

29
00:02:36,620 --> 00:02:42,940
‫And so this is kind of a nice little circuit you could use for say a little security system or if you

30
00:02:42,940 --> 00:02:48,430
‫want to indicate hey if something has been moved you know I want to activate the alarm buzzer or anything

31
00:02:48,750 --> 00:02:54,440
‫you can use a circuit like this and that's how you can interface an FPGA with a tilt switch sensor.

32
00:02:54,700 --> 00:02:58,270
‫That is the tilt switch sensor demonstration running on the basis to board.

