Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/README.arduino
blob: 25b5b80f60a7d7dc526fba578176967a8a04e6b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Usage
=====

Communication with Arduino boards is done via the Firmata[1] protocol. 
You will need to prepare your board by using the standard Arduino IDE 
to upload the latest Firmata code (version 2.1 is recommended, you can reach it from http://at.or.at/hans/pd/Firmata-2.1beta7.zip, in file V2.0). Note that 
the version of Firmata supplied with v17 of the IDE is a bit buggy.

The board usually shows up as /dev/ttyUSBx (x is number) in a Linux system, 
assuming that the connection is over USB-serial. Your user account needs to 
be in the 'uucp' group to access the device. Also, the baud-rate is very 
important for things to work. The baud-rate in the Firmata code, and the 
rate specified in the taarduino.py file should match.

The device name is hardcoded to /dev/ttyUSB0, edit taarduino.py to use 
something else. Patches to autodetect the correct device are most welcome :-).

As dependency you need pyserial (or equivalent name for python-serial module)

[1] http://www.firmata.org