Note: ALL OSOYOO Products for Arduino are Third Party Board which is fully compatitable with Arduino

This project will use a tilt sensor to control LED light. When the breadboard is tilting, the LED will light up.

Step 1 – connect tilt sensor, LED, resistors to Arduin, see following graph:

Step 2Down Load tilt.ino sketch file and load it into Arduin

Step 3 – Test the tilt sensor. Tilt the breadboard, the LED will light up. If you open serial monitor, you will see tilt value switching between 1023 and 0 when you change the angle of the breadboard.

Result Video: