Sampang Tilt Switch
Sampang Tilt Switch
Sampang Tilt Switch
LABORATORY ACTIVITY #5
ECPE-0424:
ROBOTICS TECHNOLOGY
Submitted by:
Velasco, Rodrigo Jr. A.
Beltran, Jannah Mae G.
Bautista, Eleissa Jersey B.
Fernandez, Adoni
ECE 4B
April 8, 2022
LABORATORY REPORT 1
Activity Manual
2. Experimental Principle
The metal ball makes contact with both terminals and closes the
switch when the switch is held upright. The metal ball loses contact
with the terminals when the tilt switch is tilted, and the switch is
open. This simply means that the state of the tilt switch becomes
LABORATORY REPORT 1
3. Experimental Procedure
STEP 2: Connect the poles of the tilt switch to the digital pin 2 and
ground pin of the Arduino
STEP 3: Connect the positive pole of the yellow LED to the digital pin
12 with 100-ohm resistor while the negative pole to the ground of the
Arduino
For the application: Creating a tilt switch alarm by adding two more
outputs; one LED and one piezo buzzer
LABORATORY REPORT 1
STEP 7: Connect the positive pole of the red LED to digital pin 13 of
the Arduino with a 100-ohm resistor while the negative pole is
connected to the ground
STEP 8: Connect the positive pole of the piezo buzzer to digital pin
11 while the negative pole is connected to the ground
4. Conclusion/Analysis