Specifications
- Tilt sensor consists of 3 pins : GND, VCC, DO (Output Signal)
- Operating Voltage : 3.3 V to 5 V
- Maximum output current : 15mA
Working
Not Tilted
When the sensor is in “Not Tilted” position, the mercury ball will be at the bottom and shorting the contacts as shown in the image below. This will turn ON the LED and the output will be LOW.
Tilted
When the sensor is in “Tilted” position, the mercury ball will move away from the contacts as shown in the image below. This will turn OFF the LED and the output will be HIGH.
Circuit Diagram
Description
- The GND pin of tilt sensor – GND pin of Arduino Uno.
- The VCC pin of tilt sensor – 5V pin of Arduino Uno.
- The output pin of tilt sensor – pin 2 of Arduino Uno.
- The positive pin of the buzzer – pin 3 of Arduino Uno
- The negative pin of the buzzer – the GND.
- The positive pin of the LED – pin 13 of Arduino Uno
- The negative pin of the LED – GND
Reviews
There are no reviews yet