Git Product home page Git Product logo

pyduino's People

Watchers

 avatar

pyduino's Issues

SYSEX commands using pyduino

I need to test SYSEX commands communication between pyduino and arduino, do you 
think you'll implement an example for this type of commands?

Original issue reported on code.google.com by [email protected] on 2 Nov 2010 at 9:57

Using analog pins as digital output

Hi,
thanks for pyduino. I'm using it successfully on Linux with my Arduino 
(Duemillanuove) and extended it to support stepper motors (by adding some extra 
sysex commands to the firmata protocol).

My Problem:  One of my motors uses A0,A1 alias D14,D15 as digital output.
But you define the Arduino board to only know about 14 digital pins.
Since any analog pin can be also used as an analog output (or input) pin, one 
should define the Arduino board to have 14 + 6 = 20 possible digital pins.
However, doing the book keeping right, that A0 cannot be used both as analog 
input and as digital i or o  at the same time might be somewhat involved....

Thanks again,
Sebastian Haase

Original issue reported on code.google.com by [email protected] on 6 Jan 2012 at 6:49

Hardware not detected under Linux.

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 [email protected] on 30 Dec 2009 at 3:44

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.