Introduction: Tilt Sensor (Raspberry Pi)
Basic tutorial of how to setup a Tilt sensor with the Raspberry Pi.
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Parts
Step 2: Setup
VCC -> 5V
GND -> GND
DO -> GPIO 21
Step 3: Code
1. Upload Script to RPI
2. To run script type: "python tilt.py"
Step 4: Additional Info
Online Guide: https://www.piddlerintheroot.com/tilt-sensor/