Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Output to serial or other.
- 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.
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.
- 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.
- staggart
-
New Scratcher
1 post
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.
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.
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).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,
- Discussion Forums
- » Advanced Topics
-
» Output to serial or other.




