‫Welcome to the tilt sensor interface explain lecture in a structure I'm going to explain when a tilt
‫sensor is and how they work.
‫What is a tilt sensor or tilt sensor is a sensor that tells you if something has tilted or depending
‫upon the type of sensor or if it's at a specific angle and these are most commonly used in game machines
‫toys security systems such as a car alarm so on and so forth any type of item or object that has a sensor
‫that tells you it's been moved most likely has a tilt sensor in it.
‫So how does an actual tilt sensor work.
‫There are various kinds and in different ways.
‫The one that we're working with in our lab is constructed of a metal can that has two metal balls inside
‫of it.
‫And so as you till the the sensor or the actual device the two metal balls will either make contact
‫or lose contact with the two pins which will give you generate a 1 or 0 output.
‫So a tilt sensor has a digital interface which means we can take the output of this tilt sensor and
‫directly connect it to our FPGA and then it's just a matter of reading whether that sensor is a 1 or
‫a zero.
‫And that will tell us either a whether our device has been tilted or not.
‫And so the relatively simple devices but can be very useful to tell you if such as your phone hasn't
‫moved.
‫Is it tilted over or so and so forth you can use these for a lot of different a lot of different applications.
‫Now you understand how tilt sensor works.
‫Let's get started on the tilt sensor a sign that.