Sharp 2D120x f 9z
around 10 euro (Watterott)
size: appr. 5x1x1cm
operating voltage: 5V
output: analog voltage
Lpc17Core with midio128v3.006
SDcard (to enable the Ain)
I bought and additional cable which fitted in the sensors plug. As the sensor requires 5V to operate, its ground and source are connected to
J2, with and 100nF capacitor to reduce jittering. The analog output is connected to an analog input of the core (Note: there is a version of
the sharp which has a digital output).
P1020058_low.jpg 617.57K 39 downloads
I used the distance to control a value in Traktor (by a hand), it worked well, except the highest 5% of the values are unreachable, but this is not so problematic on the first run. I could achive higher values by using something more reflective as my hand, a paper. The jittering is lower than I expected, the value jumps approximatly every 5 seconds. The area in which the sensor will work is about 10cm diameter at a distance of 30cm to the sensor.
I hope this is usefull to someone, I had a lot of fun playing around with it and will use multiple sensors in my (traktor-)midicontroller.
Edited by geth, 08 May 2012 - 21:45.