Смотреть видео: Interfacing Circuit diagram of Tilt Sensor with Arduino Arduino, Arduino project