Difference between revisions of "Activities/Turtle Art/Arduino"

From Sugar Labs
Jump to navigation Jump to search
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
===Turtle Art with Arduino===
 
  
====examples====
 
[[File:TA-ArduBlink.png|600px|thumb|left|Blink led in Arduino pin 13]]
 
 
====descriptions====
 
 
Based on the existing version on TurtleArt with Arduino:
 
http://wiki.sugarlabs.org/go/Development_Team/Arduino#Turtle_Art
 
 
and the base work for refactoring adapting the Arduino version to the latest Turtleart structure:
 
http://git.sugarlabs.org/projects/turtleart/repos/refact-for-arduino
 
 
This version is based on the mainline version of TurtleArt 0.86
 
 
The Arduino functionality was corrected from previous versions:
 
- Analog and digital reading now works correctly
 
- Auto detection of ttyUSBx port for FTDI device (Arduino board uses this for USB)
 
 
It requires the Firmata protocol to be uploaded to the Arduino board.
 
Use the latest Firmata version (2.1 as of now) downloaded from the Firmata page (firmata.org)
 
The Firmata version included with the Arduino IDE has some inconsistencies.
 
 
This version has english and spanish translations. Other localizations may require some code adjustments due to inconsistencies in the file naming scheme.
 
 
====downloads====
 
The .xo file can be downloaded from:
 
https://desarrollo.ceibal.edu.uy/attachments/download/74/TortugArdu-86.xo
 
 
====Getting it working====
 
For hints on getting it working on different Sugar versions see
 
http://tonyforster.blogspot.com/2010/10/arduino-fork-of-turtle-art.html
 

Latest revision as of 11:37, 23 July 2012