Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/README.arduino
blob: 9c9e98c6c9efac42fe1a8a8d97252e7e8cd07abd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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). 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 :-).

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