Tilt Sensor Test Project


Tilt Sensor Test Project

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 Arduino, see following graph:

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

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:

About the Author

admin administrator

You must be logged in to post a comment