‫Welcome to the tilt sensor interface demonstration with the ardy the seven I have the tilt sensor setup
‫on the breadboard where I have a slide switch that used use to indicate whether you want to enable or
‫disable the tilt sensor.
‫We have the actual tilt sensor itself as well as to 10 ohm resistors and the P.W. am enabled buzzer
‫on our already bored Arty's the seven board we have the interface running on there which is actually
‫utilizes a P.W. and module that we're feeding the enable signal which comes from this switch which we
‫can select whether we want it to be pulled up to high through the 10:2 resistor or have it connected
‫to where it's pulled up to high through the tilt sensor.
‫Now if we output at zero we're going to enable the tilt sensor.
‫And if we output a one we're going to disable the tilt sensor and then we also have coming out of the
‫jayvee port.
‫We have our enable signal coming in as well as our P.W. and output coming out.
‫And we also are feeding our power from this JTP port the zero and three point three volts into the breadboard.
‫So right now if we have the switch turn to disabled where we have it to the Pentium resistor pulled
‫the high.
‫We're going to constantly be putting a one.
‫So no matter if I tilt or not you won't hear anything.
‫The buzzer will not buzz and that is because we have it constantly set too high.
‫So whether the tilt sensor engages or not it's not going to activate.
‫And when you tilt that you can hear the actual the two metal balls inside the tilt sensor can you'll
‫hear them roll to show that you're going to make contact and disconnect where you won't have contact.
‫But your buzzer won't do anything.
‫So now go ahead and enable the we're going to be able to tilt sensor by sliding a slide switch and right
‫way we should note that we're not hearing a buzz and that's because we haven't tilted just yet.
‫So when we tilt will reach a certain point where the two metal balls inside the can will no longer make
‫contact and we'll point to zero through the 10 tailed resistor and that will enable our P.W. signal
‫which will then sound the buzzer.
‫So go ahead and I'm going to tilt the tilt sensor and you should hear that.
‫After a certain point it'll output a buzz sound and you kind of tell this based on.
‫It won't go off won't go off and then all of sudden you reach a certain point where the buzzer goes
‫off.
‫And that means your tilt switch has engaged.
‫And so this can be used in different types of applications a security application you want to make sure
‫a device doesn't move.
‫Now instead of sounding a buzzer you could do other things such as send yourself an alert.
‫But this is a demonstration of how that tells us the interface is running on the the seven board.