Mercury Tilt switch alarm is really useful when it comes to security purposes as it enables the easy detection of orientation or inclination. Examples include:
So how does a mercury tilt switch work?
- Used in vehicles so that it alerts others when the vehicle gets jacked up, for stealing wheels and towing.
- Can be used in valuable items in places like museums, so that the alarm is triggered when it is lifted.
In this project, the Arduino Uno R3 will be programmed in such a way that a buzzer and red LED will light up when there is a change in orientation, and a green LED will light up when the mercury tilt switch is in correct position.
The switch is positioned with respect to gravity forces so that the mercury moves away from the contacts so that the switch is open. When there is an inclination or any slight differences in its orientation, the mercury ball rolls in the tube touching both contacts and closing the switch.
Supplies:
- LED - Red and Green
- Resistor - 220 Ω (x2)
- Mercury Tilt switch
- Buzzer - Active
- Arduino Uno R3
- Solderless Breadboard - Mini
- Jumper Wires - Male-to-Male [10 cm] (x13) | Male-to-Female [20 cm] (x3)
- Jumper cables - Female-to-Female [70cm] (x3)
- 9V battery
- 9V Battery connector
Setting up your hardware
Connections:
- Mercury Tilt switch - D3
- Cathode (LED) - Ground (GND)
- Anode (Red) - D6
- Anode (Green) - D5
- Buzzer - D4
Comments
Post a Comment