(Redirected from LEGO WeDo)
|This page has links to websites or programs not hosted or created by Scratch or Wikipedia. Remember to stay safe while using the Internet, as we can't guarantee the safety of other websites.|
The LEGO® WeDo Construction Kit is a simple robotics tool designed for ages 7–11. It allows users to design their own interactive machines, and then program them using drag-and-drop software like Scratch.
As of October 2016, there are two versions of the LEGO® WeDo: 1.0 and 2.0. The main difference between the LEGO® WeDo 1.0 and LEGO® WeDo 2.0 is that the 2.0 version connects over Bluetooth to Scratch.
In Scratch 2.0, one can add a LEGO WeDo extension (1.0 or 2.0) within the "More Blocks" category. Click "Add an Extension" and choose "LEGO WeDo 1.0" or "LEGO WeDo 2.0". There is no need to install any Lego software; Scratch and its extension feature is all one needs.
LEGO WeDo Parts
LEGO WeDo with Scratch 2.0
The LEGO WeDo Construction Kit can be used with the online editor of Scratch 2.0 by adding an extension. The LEGO WeDo extension can be added within the "More Blocks" category. Click "Add an Extension" and choose "LEGO WeDo."
A plugin is needed to use any hardware extension. Once the LEGO WeDo extension has been added, the Tips window will open and give the link to the Extensions installation instructions.
There is more information about the LEGO WeDo, including sample projects and more detailed instructions on setup, on Scratch here.
Note: Scratch 2 offline editor now supports LEGO WeDo.
LEGO WeDo Extension Blocks
||Turns a specific motor or the lights on for a certain amount of time. There are five options for the block, listed as "motor", "motor A", "motor B", "light" and "everything".|
||Turn a specific motor or the lights on indefinitely.|
||Turn a specific motor or the lights off.|
||This block sets the power of a specific motor or the lights, controlling the speed at which the motor is spinning or the brightness of the lights.|
||This block sets the direction that a specific motor should turn with. |
There are three options for the direction, listed as "this way", "that way", and "reverse". The first two are equivalent to clockwise and counter-clockwise. Reverse switches the direction.
||This hat block runs a script when the distance becomes less (or greater) than a specified value.|
||This hat block runs a script when the tilt value becomes equal (or not equal) to a specified value. The tilt sensor returns 0-4, with 0 indicating not tilted, 1 tilted down, 2 tilted right, 3 tilted up, and 4 tilted to the left.|
||It reports the distance sensor value.|
||It reports the tilt sensor value.|
LEGO WeDo with Scratch 1.4
To show the blocks to control the LEGO WeDo motors, click "Show Motor Blocks" in the Edit tab. They can be then found below within the Motion palette. Unlike the LEGO WeDo extension in Scratch 2.0, Motor Blocks cannot control two WeDo motors separately. Running a motor block will affect all the connected motors.
To report the values of the LEGO WeDo sensors, use the sensor value block which can be found in the Sensing palette.
- Motor Blocks to use LEGO WeDo with Scratch 1.4
- How to Connect to the Physical World
- Hardware That Can Connect to Scratch other than Lego Wedo
- LEGO WeDo resources and activities on ScratchEd website
- LEGO® Education WeDo 1.0 Construction Set
- LEGO® Education WeDo 2.0 Construction Set
- LEGO® Education WeDo Building Instructions
- SimpleScratch. (6/6/2014). "I can confirm that no Lego software needed if connecting WeDo." http://scratch.mit.edu/discuss/post/342417/