Skip to main content

About the WeDo

The Lego WeDo is a tethered-over-USB sensing and robotics toolkit produced by Lego for the educational market.

It’s gotten lots of press, including a favorable review on the One Laptop Per Child blog, on deployments and training in Peru.

It’s supported by Scratch(on Windows and OSX) and by Lego’s proprietary software(on Windows.)

It prominently features the LB1836 motor driver and the LM358 op-amp, as well as an epoxy blob with USB support.

The digital communication protocol used by the Power Functions system is documented on Philo’s Awesome Page.

Requirements

  • Python 2.7+

  • pyusb (setup.py should take care of installing the dependency)

Installation

From pypi:

pip install wedo

From the source tree:

./setup.py install

How to Use it

>>> from wedo import WeDo
>>> wd = WeDo()
# Activating the first motor full forward:
>>> wd.motor_a = 100
# Activating the second motor half speed/force backward:
>>> wd.motor_b = -50
# Current value of the tilt sensor:
>>> wd.tilt
# Current distance value in meters of the distance sensor:
>>> wd.distance

Contributors

Ian Daniher

Tony Forster

Walter Bender

Guillaume Binet

CHANGELOG

2013-04-30 v1.0.0

  • massive refactoring and packaging for the first version

  • basic documentation

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wedo-1.0.0.tar.gz (4.9 kB view details)

Uploaded Source

File details

Details for the file wedo-1.0.0.tar.gz.

File metadata

  • Download URL: wedo-1.0.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for wedo-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d107ddcc7a9e85d60cef27adcd7e217fcfd7084de84c6c8cb3ab53573ed338f9
MD5 250b1f3107bbe4224f68bbe774effa88
BLAKE2b-256 26811fdc5e3da74e0c7cd2e1d973267b10f0fc6de195efefcdda5d07bdd679d0

See more details on using hashes here.

Release history Release notifications | RSS feed

1.1.0

1 file

This release

1.0.0 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page