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.1

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.1
File Size Uploaded Provenance Actions
wedo_fork-1.1.1.tar.gz 5.2 kB Without provenance Details for wedo_fork-1.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 10.9 kB

Release files / wedo_fork-1.1.1.tar.gz

Download URL wedo_fork-1.1.1.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
59994c0edb15402ef24a75135fcde3479f6df536f4fda0adc514213d0ec4679c
BLAKE2b-256 checksum
How to use checksums
3e786c21d4d1219adeee4925c7bc8c1c8fa3c4b395e1d691f7f478036480aeaa
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.1-py3-none-any.whl

Download URL wedo_fork-1.1.1-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
13b2cda0ada809578e0c9dfff757b22cbe84cdd38b93b95159ec9b00b1fcd194
BLAKE2b-256 checksum
How to use checksums
ba031f35f35451ffced8359f5443e018a2cf5310930386626cc098b82222bbd5
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.1

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