
This circuit is a simple tilt-activated alarm system. It uses a tilt sensor to detect orientation changes, which then triggers a buzzer powered by a 12V battery to emit a sound when the tilt sensor is activated.
The SW520D tilt sensor is an electronic component that detects the tilting or inclination of an object. It is a simple and cost-effective solution for adding tilt sensing capabilities to a project. The sensor is often used in applications such as security systems, robotics, automotive devices, and game controllers to detect orientation or motion.

This circuit is a simple tilt-activated alarm system. It uses a tilt sensor to detect orientation changes, which then triggers a buzzer powered by a 12V battery to emit a sound when the tilt sensor is activated.

This circuit uses two tilt sensors to detect orientation changes and activates a buzzer when either sensor is triggered. The circuit is powered by a 18650 Li-Ion battery and includes a rocker switch for power control, with a resistor used to limit current to the buzzer.

This is a tilt-activated alarm circuit using an Arduino UNO. When the tilt sensor detects a change in orientation, the Arduino can signal an alert through the red LED and piezo speaker.

This circuit uses an Arduino UNO to read data from an ADXXL335 accelerometer and an ultrasonic sensor, calculating tilt angles and distances. The results are displayed on a 16x2 LCD, with a trimmer potentiometer used for adjusting the LCD contrast.
| Pin Number | Name | Description |
|---|---|---|
| 1 | GND | Ground connection of the sensor |
| 2 | OUT | Digital output signal from the sensor |
| 3 | VCC | Power supply input (3.3V to 5V DC) |
// Define the pin connected to the tilt sensor
const int tiltSensorPin = 2;
void setup() {
// Set the tilt sensor pin as an input
pinMode(tiltSensorPin, INPUT);
// Begin serial communication at a baud rate of 9600
Serial.begin(9600);
}
void loop() {
// Read the state of the tilt sensor
int tiltState = digitalRead(tiltSensorPin);
// If the sensor is tilted, the output is HIGH
if (tiltState == HIGH) {
Serial.println("Tilt detected!");
} else {
Serial.println("No tilt detected.");
}
// Wait for a short period before reading again
delay(100);
}
Q: Can the tilt sensor detect the angle of tilt? A: No, the SW520D tilt sensor provides a simple digital output indicating whether it is tilted past a certain threshold, not the angle of tilt.
Q: Is the tilt sensor waterproof? A: The SW520D tilt sensor is not inherently waterproof. Additional protection would be required for use in wet or humid conditions.
Q: How sensitive is the tilt sensor? A: The sensitivity depends on the internal ball switch mechanism. It typically responds to a tilt greater than a specified angle from the horizontal.
Q: Can I use the tilt sensor with a 3.3V system? A: Yes, the SW520D can operate at voltages as low as 3.3V, making it compatible with 3.3V systems like some microcontrollers and development boards.