Hi,
I can't communicate with my Arduino (Duemilanove, ATmega168) with
Firmata under Linux (Arch Linux 64 bit).
I tested both "stock" Firmata that comes with Arduino IDE and
Firmata-2.1beta7.zip downloaded from website. It's probably not
Arduino side problem because it works under Win XP Pro 32 bit (tested
in Firmata for Processing).
I think my serial connection under Linux works correctly (I can upload
sketches from Linux and also PhysicalPixel example works correctly
under Linux).
I try to turn on some LEDs with pyduino or processing. In pyduino
after running this command:
[viroos@cyclop pyduino-read-only]$ ./example.py /dev/ttyUSB0 2 13
Rx diode blinks but diode on pin 13 not (it's not connection issue, it
works on windows and Duemilanove has second diode build in).
In processing arduino_output demo i got:
[0] "/dev/ttyUSB0" in console, and RX diodes blinks when I press
buttons bud diodes connected to outputs doesn't light.
One more strange thing is my test script output:
#! /usr/bin/env python
import pyduino
a = pyduino.Arduino("/dev/ttyUSB0")
print a.get_firmata_version()
that is just single word "none". (It's strange because the same
arduino with the same firmware works under Windows).
My guesses are problems with serial port, pySerial or rxtx lib
(however it seams to work, I don't know how to check pySerial) or with
implementations of firmata client in pyduino and Firmata Processing
lib.
I'm sorry for not providing more info, but I have now idea where can I
found it.
I will appreciate any help.
regards,
Maciej Sawicki
PS: I posted this message on firmatas mailing list but they suggested to
contact with pyDuino maintainers.
I know that informations I provide are not complete, and I'm not 100% sure
that is pyDuino issue, but I cant find better way to contact.
Original issue reported on code.google.com by
viroos...@gmail.comon 30 Dec 2009 at 3:44