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

Built distribution (wheel)

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

Total release size: 10.9 kB

Release files / wedo_fork-1.1.1.1.tar.gz

Download URL wedo_fork-1.1.1.1.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
70e8511eff0b063c37e9ea80641e9fba51ba5597724d35211625fa7cf8a2effc
BLAKE2b-256 checksum
How to use checksums
7ace7118681fe7be64ff53ceff35293a899bd8fd280e4a996a7d6acdde61e0c0
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.1-py3-none-any.whl

Download URL wedo_fork-1.1.1.1-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9171b91f5ebf03a9c3d20bb0b4f52c0232752ce5b8d3e1878d1dbb8725c22670
BLAKE2b-256 checksum
How to use checksums
aa607e10859f8492c1a2a2bfccb04eaa760c9ccb8e5064f2df2e0135cce067f9
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.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