This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-02-17 09:00:27

asimov1981
New Scratcher
Registered: 2012-02-17
Posts: 10

Motoblocks

Hi there,

how the Motorblocks connect to the PicoBoard, I want to use an other Controller then the PicoBoard to connect to Scratch, is this Possible? and how?

Regards

Offline

 

#2 2012-02-17 09:04:56

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Motoblocks

The Motor Blocks are for use with the LEGO WeDo Robotics Kit. The ([ v] sensor value) and <sensor [ v]?> blocks are for use with the PicoBoard, though the first can be used with a LEGO WeDo too. Hope that helps! ~Scimonster  smile

Offline

 

#3 2012-02-17 09:08:45

asimov1981
New Scratcher
Registered: 2012-02-17
Posts: 10

Re: Motoblocks

I'm very sorry, but it seems I need to specify a little bit clearer. I don't want to use WeDo or the PicoBoard but the RoboTx Controller, but for the Scratcher I want to keep the look and feel of Scratch (without new Blocks or unstylish Broadcasts) so I want to know how Scratch Connects to the Board or WeDo so it is possible to find a "workaround" an Connect these Blocks to the RoboTx Controller.

Offline

 

#4 2012-02-17 09:46:37

abee
Scratcher
Registered: 2007-05-25
Posts: 100+

Re: Motoblocks

I found the following forum at the Scratch Fisch site. Robo TX & Scratch
I hope it helps you.

Last edited by abee (2012-02-17 09:56:11)

Offline

 

#5 2012-02-17 09:51:36

asimov1981
New Scratcher
Registered: 2012-02-17
Posts: 10

Re: Motoblocks

Hi I already read the about Scrath-Fish.org (to be true I'm german), the Problem is they use BroadCasts as Blocks (and scrathfish for robo tx is at the moment under development without a release date). My question goes for Motor Blocks as used for the pico board...

or is there a tutorial to develop own blocks, if it is not possible to use the Blocks for WeDo and Pico-Board.

Regards

Offline

 

#6 2012-02-17 11:13:02

abee
Scratcher
Registered: 2007-05-25
Posts: 100+

Re: Motoblocks

You can make a Scratch mod for Robo TX. Actually I made a mod to use motor blocks for Arduino.
http://swikis.ddo.jp/WorldStethoscope/44 (Sorry, it is written in Japanese)
However, you need a skill of Squeak Smalltalk. I'm not sure there is a tutorial for making mod. You may ask it at Advanced topics.
And you need to get a protocol of Robo TX.

Last edited by abee (2012-02-17 11:14:38)

Offline

 

#7 2012-02-20 03:25:43

asimov1981
New Scratcher
Registered: 2012-02-17
Posts: 10

Re: Motoblocks

Is a c++ Native Library sufficient? Or what do you mean by protocol?

Offline

 

#8 2012-02-20 06:02:52

abee
Scratcher
Registered: 2007-05-25
Posts: 100+

Re: Motoblocks

asimov1981 wrote:

Is a c++ Native Library sufficient? Or what do you mean by protocol?

You can make a library for Robo TX in C++. But you also have to write some methods for calling it from Scratch in Smalltalk with Scratch Source Code. Because Scratch is written in Squeak Smalltalk.

Any device has its protocol to communicate with others via serial, USB, UDP or TCP. For example, PicoBoard's protocol is defined as follows.
http://info.scratch.mit.edu/sites/infos … InfoR2.pdf
You need to implement Robo TX's protocol for Scratch as a library or directly.

Last edited by abee (2012-02-20 06:08:12)

Offline

 

#9 2012-02-23 06:02:34

asimov1981
New Scratcher
Registered: 2012-02-17
Posts: 10

Re: Motoblocks

Ok after looking at the Scratch Source, is there some sort of tutorial or something to declare how a librate in Squeak Smalltalk is written?

And more important, how the Scratch Source is loaded in Squeak?

Offline

 

#10 2012-02-23 21:32:02

abee
Scratcher
Registered: 2007-05-25
Posts: 100+

Re: Motoblocks

Just download ScratchSource1.4.zip and extract all and put them into the folder of Scratch, then open ScratchSourceCode1.4.image.
Please notice Squeak Smalltalk is not only a language but also an individual environment that includes OS, editor, debugger, code browser, etc.
So you need to learn how to use them at first.

Offline

 

Board footer