Friday, July 25, 2014

Experiment: LEGO WeDo distance sensor (motion sensor)

The LEGO WeDo robotic set (Produce Number 9580) has 2 sensors, a tilt sensor and a distance sensor (often described as a motion sensor).

Let's do some experiment with the distance sensor. Connect distance sensor to the hub, connect hub to computer USB port, Open Wedo software to add program, add a START button, add a "Numeric screen output", add a motion sensor as input to the "Numeric screen output", add a loop to repeat (see photo).

See photo of the experiment setup. The experiment showed that the output value of the distance sensor changes from 0 when it is far away to 10 when it is nearest to the sensor. See video.

Photo distance sensor

LEGO Wedo distance sensor (motion sensor)
LEGO Wedo distance sensor (motion sensor)

WeDo program to experiment with distance sensor

LEGO Wedo program steps to experiment with distance sensor (motion sensor)
LEGO Wedo program steps to experiment with distance sensor

Experiment setup

Lego WeDo distance sensor experiment setup
Lego WeDo distance sensor experiment setup

Video showing experiment to show value output of distance sensor




No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...