Discuss Scratch

Mantion
Scratcher
1 post

Output to serial or other.

I know this is Perhaps is Unlikely. But can anyone think to out put a single to another device. Like parallel or serial port?

I am looking to connect to simple electro/mechanical (a cash drawer) that uses a simple electromagnet.

Please don't slam me, i am sure this feature is not included but perhaps someone familiar with the application can think of a work around.
scimonster
Scratcher
1000+ posts

Output to serial or other.

I'm sorry, i can't think of any way to do this. Perhaps with a different language that can connect to Scratch, you might be able to hack something together.

Retired Community Moderator
BTW, i run Google Chrome 41.0.2272.101 on a Linux system - Ubuntu 14.04. NEW: iPad 4th gen. w/retina.

418 I'm a teapot (original - to be read by bored computer geeks)
THE GAME (you just lost)
; THE SEMICOLON LIVES ON IN OUR SIGS
MathWizz
Scratcher
100+ posts

Output to serial or other.

If you are willing to write your own interface to link to this serial port, you could then connect the interface through Scratch's extension protocol described here.

running Chromium 42.0.2311.90 with Flash Player 15.0.0.189 on Arch Linux 3.19.5-1-ck
MathWizzJsScratch && sb.js & Amber (coming soon! maybe)
staggart
New to Scratch
1 post

Output to serial or other.

MathWizz wrote:

If you are willing to write your own interface to link to this serial port, you could then connect the interface through Scratch's extension protocol described here.

I am looking to do a kid's Scratch programming class and want to have Scratch be able to control (not just read) external devices (LEDs, etc.). Does anyone know of someone doing this, including HW and SW, ideally, with examples. I looked at this reference (lightly) and it was not clear to me if it can do more than input (admittedly, I did not did all the way into it, yet).

Thanks,
GP1
Scratcher
100+ posts

Output to serial or other.

staggart wrote:

MathWizz wrote:

If you are willing to write your own interface to link to this serial port, you could then connect the interface through Scratch's extension protocol described here.

I am looking to do a kid's Scratch programming class and want to have Scratch be able to control (not just read) external devices (LEDs, etc.). Does anyone know of someone doing this, including HW and SW, ideally, with examples. I looked at this reference (lightly) and it was not clear to me if it can do more than input (admittedly, I did not did all the way into it, yet).

Thanks,
There is the S2A. It connects Arduino devices to Scratch (or Snap!). It allows for Scratch to interact with the real world (similar to the Lego WeDo). If you don't know what Arduino is, Arduino is an open source experiment board, used to have Digital/Analog outputs (eg. to control LEDs), and Digital/Analog inputs (eg. a push button). I took a DigiPen Robotics workshop over then summer, and we used the Arduino Uno board to mess with electronics (motors, serial connections, LEDs, push-buttons, limit switches, etc. Everything needed to make a basic robot, even used some Xbee radios to make the robots wireless).

Powered by DjangoBB