Development Team/Arduino

From Sugar Labs
< Development Team
Revision as of 10:38, 22 December 2009 by RafaelOrtiz (talk | contribs) (sketch..)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 you have to tweak some your Arduino.sh script in these or similar ways

  1. !/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.

Some use examples and screenshots