‫Welcome to the tilt sensor demonstration with the already board we have the tilt sensor set up on the
‫external breadboard which includes a slide switch which we use to enable or disable the tilt sensor.
‫We have to 10k ohm resistors.
‫The actual tilt sensor and a buzzer we used to indicate when the tilt sensor has been tilted so in the
‫way this works we have our slide switch which whom we are disabled.
‫We're going to the output is tied pulled up to the 10 ohm resistor and fed into the J.
‫D p mod port of the aready board and then we have if we enable it.
‫We're now tied through the tilt switch sensor which when the two balls are disconnected we then output
‫a zero which enables the P.W. and on the audio board and will activate the alarm or test out the tilt
‫sensor.
‫We will first.
‫We are disabled currently.
‫So if we tilt the board will notice that there is no buzz.
‫There's no sound.
‫And as you're tilting you can hear the balls disconnect inside the actual tilt sensor.
‫And since we're pulled up through the 10 cam resistor we're always outputting a one which is never enabling
‫our P.W. sensor.
‫So now what we want to do is slide our switch to enable the tilt switch sensor.
‫And as soon as we switch it will notice that we don't actually hear anything.
‫That's because we haven't tilted if we now tilt the board which would tilt the sensor we should then
‫output is zero once we reach a certain point and we'll hear a buzzer give an output.
‫So if we go ahead and pick up the board and do it till
‫once we reach a certain point we notice that it starts to buzz.
‫And as you start to tilt back we notice that the buzz goes away.
‫That's because the two metal balls are now making contact and we're outputting a one and moving keep
‫tilting back and forth.
‫And you notice that as you tilt and when you bring it back your buzzer stops.
‫And so this can be used in different types of situations such as a security system or anything else.
‫If you want to make sure that an object has not been moved tilted in any way you can use a tilt sensor
‫just just as we shown here.
‫And that is the tilt sensor demonstration running on the board.