Development Team/Arduino: Difference between revisions

AlanJAS (talk | contribs)
 
(One intermediate revision by one other user not shown)
Line 82: Line 82:




==Turtle Art==
==Turtle Blocks (Turtle Art) with Arduino Plugin==
 
[[File:turtleart-arduino-palette.png|800px]]
 
There are several efforts to develop Turtle Art support for Arduino.
This implementation uses the same [http://www.firmata.org firmata] protocol that the arduino-squeak connection uses.
 
* [http://tonyforster.blogspot.com/2010/10/arduino-fork-of-turtle-art.html Setting up Turtle Arduino]
* [http://tonyforster.blogspot.com/2010/10/turtle-arduino-display-inputs.html Read digital inputs] [[File:Ard.ta]]
* [http://tonyforster.blogspot.com/2010/10/turtle-arduino-digital-write.html Arduino write output] [[File:Turtle Art Activity ardout.ta]] [[File:Tamyblock mouse.odt]]
* [http://tonyforster.blogspot.com/2012/01/arduino-and-xo-laptop.html The Freetronics Leostick]


=== Source Code ===
The code needed is located at (Thanks to Sayamindu Dasgupta)


*http://git.sugarlabs.org/projects/turtleart/repos/arduino-support
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)


=== XO bundle ===
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.


*http://people.sugarlabs.org/rafael/TurtleArdu.xo
This version has english and spanish translations.


===Screenshots===


This implementation uses the same [http://www.firmata.org firmata] protocol that the arduino-squeak connection uses.
[[File:turtleart-arduino-example1.png]]


===Some use examples and Screenshots===  
=== Source Code ===


*[[File:Ta_arduino.png]]
You can see all code in: [http://git.sugarlabs.org/arduino arduino_plugin GIT]


*[[File:Arduino-turtle1.png]]
===Downloads===


*[[File:Draw-leds.png]]
The plugin file can be downloaded from [[File:arduino.tar.gz]].


== Spanish Version ==
== Spanish Version ==