Development Team/Arduino
< Development Team
Jump to navigation
Jump to search
Revision as of 10:39, 22 December 2009 by RafaelOrtiz (talk | contribs)
There are different options to connect your arduino board to Sugar (trough sugar-capable activities)
Squeak
Thanks to the great work found on Tecnodacta
We can download an squeak project and install it on our Sugar. This script can help in the process.
#/bin/bash echo "Downloading.." echo "" curl -o Arduino.zip http://tecnodacta.com.ar/gira/Arduino.7.zip unzip Arduino.zip echo "Executing.." echo "" cd Arduino.7/ ./Arduino.sh.
Note that on an XO laptop you have to tweak some your Arduino.sh script in these or similar ways
#!/bin/sh APP=`dirname $0` # EXE="$APP/Contents/Linux686" RES="$APP/Contents/Resources"
exec "/usr/bin/squeak" \
-plugins "$EXE" \ -encoding latin1 \ -vm-display-X11 \ "$RES/Arduino.2.image"
Installation and use procedure
Turtle Art
The code needed is located at (Thnks to Sayamindu Dasgupta)
This uses the same firmata protocol that the arduino-squeak connection uses.