davidlarizap / pyduino

Automatically exported from code.google.com/p/pyduino
GNU General Public License v2.0
0 stars 0 forks source link

Hardware not detected under Linux. #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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.com on 30 Dec 2009 at 3:44

GoogleCodeExporter commented 9 years ago
hey I also have the same prob.........whenever I will ask for firmata version 
it returns with none.......I don't know whats going wrong.......Please guide me 
if you have found out any solution.

Original comment by chiragth...@gmail.com on 22 Oct 2011 at 8:38