Page 1 of 1

[SOLVED] Using LEGO WeDo, MIT Scratch application on Mageia

PostPosted: Feb 22nd, '16, 19:52
by hankivy
I am trying to use a LEGO WeDo(tm) kit, with the MIT Scratch application. Does anyone have any experiences to help? :?:

[NOTE: Scratch 1.4 is on Mageia, and is reported to work with WeDo. Scratch 2.0 does not work with WeDo. MIT changed languages and went from a standalone application to browser based. Mageia, Please continue support for version 1.4]

The kit interfaces to a computer via a usb plug. The LEGO web site says any educator can down load LEGO's own application for a Window's OS, or Apple OS X.

I found references on the WEB that the MIT Scratch application can also be used with LEGO WeDO.
NOTE: I searched the WEB for: linux mit scratch lego wedo

One link of special note is: http://scratched.gse.harvard.edu/discussions/bugs-troubleshooting-suggestions/scratch-wedo-linux-distro-specific-issues

One issue had to deal with root access to USB devices. The one answer said to add a udev rules file.
The answer, (posted by Sjoerd Dirk Meijer) was:
Functionality can be restored by installing the following file /etc/udev/rules.d/99-wedo.rules with the following content:

ATTRS{idVendor}=="0694",ATTRS{idProduct}=="0003",SUBSYSTEMS=="usb",ACTION=="add", MODE="0666",GROUP="plugdev"


The given rules file implies the usage of a group called "plugdev". My Mageia system does not seem to have a plugdev group at this time. I will add one, and report results.

plugdev group

PostPosted: Feb 22nd, '16, 20:01
by hankivy
I added the plugdev group to my system, with an ID of 90. Linux from scratch had an article, http://www.linuxfromscratch.org/blfs/view/svn/postlfs/users.html, that recommended 90.

Re: Advice Using LEGO WeDo, MIT Scratch application on Magei

PostPosted: Feb 22nd, '16, 20:43
by hankivy
It works. :D

MIT Scratch 1.4 comes with some sample LEGO WeDo(tm) scripts. Select "File", "Open" and an "Open Project" window will appear. I choose the "Examples" icon on the left side of the window. And then opened the "Sensors and Motors" folder. The folder contains some WeDo sample projects, along with others. The WeDo sample projects are appropriately named "WeDo ...something". The MagicWand project turned broccoli into a chocolate cupcake.