In this article, we’re going to learn how to detect tilt by connecting two different types of tilt sensors to the Arduino. Accelerometers are the most accurate way to detect tilt, but for some projects you don’t need such high accuracy. Tilt sensors can’t measure the actual angle of tilt like accelerometers can. They can only detect if the sensor is tilted or not. Tilt sensors are commonly used on 4X4 trucks and boats to notify the driver when the vehicle could roll over or capsize.