LEGO Wedo Automatic door project - Puerta automática

05.07.2015
A glimpse of how to build an automated door using the distance sensor, the motor and two gears of the LEGO Wedo set 9580. Some common LEGO pieces (plates and a base) were used to smooth the mechanism. The functions were programmed in Scratch with a simple code using to variables: one (d) to store the value of the distance sensor and other (m) with only two values (0 if the door is closed and 1 if is open).

Похожие видео