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

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

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

Postby hankivy » Feb 22nd, '16, 19:52

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.
Last edited by hankivy on Mar 10th, '16, 23:09, edited 1 time in total.
hankivy
 
Posts: 128
Joined: May 19th, '14, 20:36

plugdev group

Postby hankivy » Feb 22nd, '16, 20:01

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.
hankivy
 
Posts: 128
Joined: May 19th, '14, 20:36

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

Postby hankivy » Feb 22nd, '16, 20:43

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.
hankivy
 
Posts: 128
Joined: May 19th, '14, 20:36


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest