Discuss Scratch

kenferguson
New to Scratch
3 posts

Lego WeDo with Scratch 2.0 online - not working, but plugin successfully installed

I'm trying to get my Lego WeDo set working with Scratch 2.0.

I've tried on 1.4, and that works fine - I can control the motor happily (and make my car go back and forth at varying speeds :-) ).

I'm trying the 2.0 online version, and I'm not having any success. The browser plugin is installed, the “light” is green (next to the Lego WeDo part of the More Blocks section), but nothing happens when I execute my program. I've tried with a simple “When green flag clicked turn on motor for one second” program, but get nothing.

Can anyone point me at some debugging steps?

Thanks in advance for your help.

Ken

PS Windows 7, Chrome browser
kenferguson
New to Scratch
3 posts

Lego WeDo with Scratch 2.0 online - not working, but plugin successfully installed

I've been playing around with this a bit more using a USB protocol capture. I'm not very familiar with debugging USB streams, but this particular log coming from the hub back to the computer when I enable the WeDo blocks in the project makes me think that it's connecting properly…:

039157: Get Descriptor Request (DOWN), 14.06.2014 15:42:06.791 +0.0 (1. Device: USB Input Device)
Descriptor Type: String
Descriptor Index: 0x2
Transfer Buffer Size: 0x402 bytes
LanguageId: 0x409
039160: Control Transfer (UP), 14.06.2014 15:42:06.793 +0.001. (1. Device: USB Input Device) Status: 0x00000000
Pipe Handle: Control Pipe
26 03 4C 00 45 00 47 00 4F 00 20 00 55 00 53 00 &.L.E.G.O. .U.S.
42 00 20 00 48 00 75 00 62 00 20 00 56 00 31 00 B. .H.u.b. .V.1.
2E 00 30 00 30 00 ..0.0.

I see this over and over again, so I'm assuming that we're in some sort of cycle where the plugin doesn't think it's registered correctly, so keeps contacting the hub. Most of the above is gobbledygook to me though, so I don't really know what the problem is.
SCRAXE
New to Scratch
72 posts

Lego WeDo with Scratch 2.0 online - not working, but plugin successfully installed

I had exactly the same issue a while back, turned out I had Firefox already running and then Chrome trying to do it as well.
Close all browsers and then start again, what you are describing works fine for me on both FF and Chrome.

My browser / operating system: Windows 7, Firefox 29.0, Flash 13.0 (release 0)
kenferguson
New to Scratch
3 posts

Lego WeDo with Scratch 2.0 online - not working, but plugin successfully installed

Thanks for that! It wasn't the exact same problem I hit, but quite similar. The issue was that I'd opened Scratch 1.4, and it seems that even though it was closed down there was still some sort of connection. Once I rebooted my laptop Scratch worked in the browser (and the crocodile bites!).

charlie05
New to Scratch
2 posts

Lego WeDo with Scratch 2.0 online - not working, but plugin successfully installed

Hi,
I want to use scratch with LEGO Wedo, but the device is not connected, I get a “yellow” green. I have downloaded and installed the plugin but the device is not connected. I have login with administrator role.
Please can you help me? I want to enable it so my kids can start using it,
Thanks in advance
Regards
Mónica
charlie05
New to Scratch
2 posts

Lego WeDo with Scratch 2.0 online - not working, but plugin successfully installed

sorry, a “yellow” light
Jojootje
Scratcher
1 post

Lego WeDo with Scratch 2.0 online - not working, but plugin successfully installed

In Google Chrome my device was not connected, I got a “yellow” light too, but I could click on a message right at the adressbar and allow to use pluginns. And now it works good!

Powered by DjangoBB