Explaining how the three-axis MEMS-based ADXL335 sensor works and wiring it to Arduino's analog pins to measure tilt and acceleration.
Wire a simple mechanical tilt sensor that acts as an on/off switch when an object's orientation changes, with no calibration needed.