Instructions
www.joy-it.net
Pascalstr. 8 47506 Neukirchen-Vluyn
Lesson 13: Tilt sensor
In this lesson, the tilt sensor acts as an on/o switch for an LED. The LED
is on when one end of the sensor is below the horizontal position. Using
the analog interface to which the tilt sensor is connected, you can check
the position of the sensor.
For this lesson you need:
Mega2560 board
1x
USB cable
1x
Red M5 LED
1x
220 Ω resistor
1x
Breadboard
1x
Jumper cable
5x
1x
Tilt sensor
1x
10 kΩ resistor