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

Joshua Coxwell

Alan Aguiar

Metadata

Release files for wedo-fork 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wedo-fork 1.1.0
File Size Uploaded Provenance Actions
wedo_fork-1.1.0.tar.gz 5.2 kB Without provenance Details for wedo_fork-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for wedo-fork 1.1.0
File Interpreter ABI Platform Actions
wedo_fork-1.1.0-py3-none-any.whl Python 3 none any Details for wedo_fork-1.1.0-py3-none-any.whl

Total release size: 10.9 kB

Release files / wedo_fork-1.1.0.tar.gz

Download URL wedo_fork-1.1.0.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4035b98448b1d91cfb6153d564bda1b253e3bc084933c13d0ce578905f5fc074
BLAKE2b-256 checksum
How to use checksums
be8e3b4a4bcd404277ee279f8b39d9b61a48263c7f26d55b317d1ea7a4ddf81b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.2

Release files / wedo_fork-1.1.0-py3-none-any.whl

Download URL wedo_fork-1.1.0-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b6dd0e0056e1d44cdb4605a69178e10bf6d4fc827a467e1cb769e3ec44fd58da
BLAKE2b-256 checksum
How to use checksums
8ca3ea5af8f1ba0ecb3dd8ab41e1282cf06558a2125dcd7ed969335f4eaf91dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.2

Security for wedo-fork 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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