Tilt Switch arduino schematics

The small inexpensive easy to use sensor, it allows you to detect orientation or inclination. By…