I didn't want to post this in the Scratch board forum because it is not about a scratch board.
To me it looks as if you can only connect 2 items at a time to the hub.
Is there only 2 spaces?
Last edited by GraemeK (2011-04-05 12:50:53)
Offline
I have LEGO Wedo, and that's a good question.
Technically, there are only two spaces for the three sensors, but you can stack some of them on top of each other, so you can use them all at once
EDIT: I'm actually wrong - see my other post here.
Last edited by Lucario621 (2010-07-15 11:35:53)
Offline
I have taught classes using Pico Blocks and Lego kits containing Wedo motors. With the Pico's you can use up to 4 sensors at once. I had access to multiple kits. I never did it but I wanted to either build a walking, animated robot or a cool logic circuit that ran multiple projects. The point was to use lights and light sensors (or some other similar method) to send data between Picos so they could interact and either think together or function as a single unit.
But we did make some remote control cars, that was fun
Offline
Lucario621 wrote:
I have LEGO Wedo, and that's a good question.
Technically, there are only two spaces for the three sensors, but you can stack some of them on top of each other, so you can use them all at once
But be aware that it can not control more than one motor at a time. You can hook up more than one motor but it will respond to the same commands as all other motors. Also, we had difficulties on Scratch Day when we tried stacking the connections up. We found that we really could only reliably connect two devices at a time.
Maybe other people have other experiences with stacking the connections they can share.
Offline
Paddle2See wrote:
But be aware that it can not control more than one motor at a time. You can hook up more than one motor but it will respond to the same commands as all other motors.
If I was to connect the 1st motor and set it to that way and connect another, would they turn opposite ways?
_________________________________________________________________________________
Paddle2See wrote:
Also, we had difficulties on Scratch Day when we tried stacking the connections up. We found that we really could only reliably connect two devices at a time.
Maybe other people have other experiences with stacking the connections they can share.
What do you mean by "could only reliably"?
_________________________________________________________________________________
I have a few projects ready as I'm planning to buy a WeDo to check them before uploading them.
Offline
Paddle2See wrote:
But be aware that it can not control more than one motor at a time. You can hook up more than one motor but it will respond to the same commands as all other motors.
This is true....
Paddle2See wrote:
Also, we had difficulties on Scratch Day when we tried stacking the connections up. We found that we really could only reliably connect two devices at a time.
Maybe other people have other experiences with stacking the connections they can share.
Hmm. Just testing it out now, I think you're right! Only 2 sensors at a time...
I even tested it with the LEGO WeDo software, and it doesn't work.
So I've decided to refer to the Teachers' Guide and the FAQ, and it said this:
Q: How many Motors or Sensors can you add to a project?
A: You can use a maximum of three LEGO USB Hubs (6 motors or sensors) at the same time
So that basically means only 2 sensors per hub. Darn .
Offline
Can someone then make a
use motor %n in a forward direction
%n = number
block?
Offline
abee wrote:
Scratch has basic capability of controlling two motors. If you browse the class named WeDoPlugin of ScratchSourceCode1.4.image, you find the methods about motorA and motorB. So it's possible to make blocks for them.
I did it.
http://twitpic.com/2d7py6/full
Offline
abee wrote:
abee wrote:
Scratch has basic capability of controlling two motors. If you browse the class named WeDoPlugin of ScratchSourceCode1.4.image, you find the methods about motorA and motorB. So it's possible to make blocks for them.
I did it.
http://twitpic.com/2d7py6/full
Or you can save time.
Edit: FAIL.
Last edited by hdarken (2010-08-10 01:37:17)
Offline
abee wrote:
abee wrote:
Scratch has basic capability of controlling two motors. If you browse the class named WeDoPlugin of ScratchSourceCode1.4.image, you find the methods about motorA and motorB. So it's possible to make blocks for them.
I did it.
http://twitpic.com/2d7py6/full
Really nice! I'm surprised I didn't see this post before...
Offline
schoelles wrote:
Hi abee, do you have any win32 binaries? I'm afraid I'm not capable of compiling this stuff:(
Thanks in advance!!!
You can use standard Scratch.exe for my image.
Extract controlingTwoMotors.zip and put all file into the folder that you installed scratch (C:\Program Files\Scratch). Then drag and drop ControllingTwoMotors.image to Scratch.exe.
Offline
anselm13 wrote:
abee, do you know if more than one wedo hub is supported in Scratch 1.4?
Negative. It depends on WeDoPlugin. If I can modify that source code, it might be possible. Unfortunately ScratchPluginSrc1.4 does not include it.
Offline
abee, thanks for the hint. Works fine with 2 motors But now I realized that my 2nd WeDo hub is not reconized, as anselm13 stated. So it's kind of usless, as with 2 motors I have no sensors at all
It would be a hard work to modify that source code?
Offline
schoelles wrote:
abee, thanks for the hint. Works fine with 2 motors But now I realized that my 2nd WeDo hub is not reconized, as anselm13 stated. So it's kind of usless, as with 2 motors I have no sensors at all
It would be a hard work to modify that source code?
It's nice to hear your success.
The problem is not difficulty of modification. As I wrote the source code of WeDoPlugin is not opened for public. I cannot do anything without it. Ask Scratch Team about this.
BTW, you can connect both of sensor and motor to same connector of the hub by stacking. But the value of sensor is not reliable in this case. It may be possible to control it by tuning your project.
Another solution is to use PicoBoard sensors with WeDo.
Offline
So, does the 2 sensors work independently?
Offline
abee wrote:
...you can connect both of sensor and motor to same connector of the hub by stacking. But the value of sensor is not reliable in this case.
That's what I've found as well. When stacking one sensor on a motor, the motor doesn't work anymore ad the sensor vaules of both sensor (though one has been connected only) are changed with unpredictable strange values (e.g.77 for the tilt).
abee wrote:
It may be possible to control it by tuning your project.
I'm not sure what you're suggesting me here?
abee wrote:
Another solution is to use PicoBoard sensors with WeDo.
I've ordered one already but it takes time, as they seems to be out of stock currently.
johnnydean1 wrote:
So, does the 2 sensors work independently?
If you connect the 2 sensors only (without any motor), then it works fine. But then you have no chance to control the motors, as a 2nd Hub is not recognized
Offline
I've found the answer how to switch Mesh on:
http://scratch.mit.edu/forums/viewtopic.php?pid=344974#p344974
So now is the task to find a solution without python for Windows. Does there exist any specification of that remote protocol?
Offline
djembii wrote:
I've found the answer how to switch Mesh on:
http://scratch.mit.edu/forums/viewtopic.php?pid=344974#p344974
So now is the task to find a solution without python for Windows. Does there exist any specification of that remote protocol?
Mesh is an application that used the remote sensor protocol. It works without other language or environment.
I think it is suitable for this situation, how to use two usb hubs.
However it requires two PCs and some skill of network.
Do you have both of them? If so I will tell you how it works.
Offline