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

#1 2010-11-15 19:30:12

cooljj100
Scratcher
Registered: 2009-10-10
Posts: 55

Scratch+Arduino(or any other microcontroller)=?

Is it possible to download (and of course compiling  tongue ) and run programs made in scratch on a microcontroller? Can it be done with a scratch mod and a external compiler? Thanks.


Summertime is almost here!
My Stuff

Offline

 

#2 2010-11-15 20:28:22

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Scratch+Arduino(or any other microcontroller)=?

Yes actually. Scratch has a feature that allows it to communicate with external programs. I wouldn't know how to do exactly what you want, but I know it's possible.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#3 2010-11-19 10:58:07

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Scratch+Arduino(or any other microcontroller)=?

There was a program made by Chalkmarrow. It was called Catenary.

http://scratchconnections.wik.is/@api/deki/files/29/=catenary_example.jpg?size=webview
Catenary is a Processing program that allows you to control an Arduino board via Scratch using just a handful of broadcasting blocks. See the Catenary project page for more details.
Catenary_v1.zip

There is another program called HyperCos:

HyperCos v1
HyperCosis a Microsoft Windows application written in the Delphi language which provides a bridge between Scratch and Firmata on the Arduino platform that is inspired by Catenary and works in very much the same way. It's purpose is primarily to demonstrate how to go about communicating with the Arduino from the Delphi 7 environment. The HyperCos source is heavily commented with the intention of making it easier to understand for less-experienced programmers. There isn't any  documentation on how to use it from Scratch as it is expected that users will be reading the source to see how things work. However, the included Scratch project demonstrates most of the available commands.

All from the Scratch Connections Wiki.  smile  ( http://scratchconnections.wik.is/Projects ) ( though it's inaccessible because of spam, so no one is able to create accounts or even look at the pages.  hmm  Which is why I quoted the projects, hope it helps. )

Last edited by Magnie (2010-11-19 11:04:08)

Offline

 

#4 2010-11-19 10:59:44

Blade-Edge
Scratcher
Registered: 2009-06-13
Posts: 1000+

Re: Scratch+Arduino(or any other microcontroller)=?

The people who aren't logged into the wiki get an error message when they open this page or see the link


http://img29.imageshack.us/img29/5145/scratchycat.gif CLASSY

Offline

 

#5 2010-11-19 11:03:04

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Scratch+Arduino(or any other microcontroller)=?

Yeah. I've sorta realised that.  hmm

Offline

 

Board footer