A tilt sensor measures an object's angle relative to gravity and converts that movement into an electrical signal. In everyday life, these sensors are commonly found in smartphones, where they detect screen orientation and automatically switch between portrait and landscape modes. In smart home applications, tilt sensors are often used in devices such as garage door monitors to determine whether a door is open, closed, or somewhere in between.
Accelerometers are commonly used in modern tilt sensors, especially in smart home devices, because they can provide detailed information about an object's orientation and movement rather than a simple open-or-closed status. Ball-based tilt sensors, however, remain a popular and cost-effective option for basic applications where only a simple contact closure is needed to trigger a signal. Most consumer electronic devices that incorporate tilt sensing rely on one of these two primary technologies, described below:
Ball-Based Tilt Sensor - These sensors contain a small ball, or in older models a conductive liquid such as mercury, enclosed within a tiny cavity. When the sensor is tilted, the ball shifts from its resting position, either making or breaking an electrical connection. This change produces an electrical signal that reflects the angle of tilt.
MEMS (Micro-Electro-Mechanical System) Accelerometer - These sensors rely on tiny internal mechanical structures that move when the device is tilted. This movement alters the capacitance or resistance inside the sensor, creating an electrical signal that corresponds to the tilt angle.