DIY Rotary Encoder
Built it at http://www.mci.supsi.ch/senseable-art to detect (wheel) motion in any direction.
Here's a video https://www.flickr.com/photos/tamberg/31681948905
Wiring of LED, LDR, see e.g. this tutorial p. 19, 26
Material
- Arduino
- USB cable
- Breadboard
- M/M jumper wires
- 5mm LED (I used a white one, but any color should work)
- 5mm LDR, e.g. https://www.adafruit.com/product/161
- M3 nuts & bolts