Yesterday I returned to Snap! to fast write a LEGO WeDo 1.0 extension.
It just requires two files:
- A python script that implements a very basic HTTP server that exposes the WeDo 1.0 methods from WeDoMaster library.
- A xml file containg 3 Snap! custom blocks (motor, tilt sensor and distance sensor)
It works on Raspberry Pi so anyone that wants to use the LEGO WeDo 1.0 just need an RPi and a browser with internet access. I used a Raspberry Pi Zero W so just a USB Hub with microUSB port and a power source is needed.
Source and details at github project SnapWeDo1.
Big thanks to:
- Connor Hudson (AKA technoboy10) that wrote snap-server
- Ian Daniher (AKA itdaniher) that wrote WeDoMore
- Jetro de Château and Marina Tarusello who gave me the idea