Distance Sensor

Distance Sencor

Distance Sencer is 5V device but output voltage up to 3V. So you can directry connect to "White Wizard Base Borad".
Connect it to A/D pins,(pin number is 15 - 20) on White Wizard Base Board.

LinkIconTest program on mbed site

WW_distance.tif

This is a GP2Y0A02YK (Detection range : 20 to 150cm) with male pinheader.
Be careful about misleading cable color. Center is GND. LinkIconsee datasheet

TS3O0438.JPG

This is a example, mount it on the TANK.
TS3O0439.JPG