Given the lack of the FTDI chip, I had resigned myself to 'idea to buy Arduino Duemilanove, without waiting for updates that allowed me to use Arduino A . Before
to shelve the project while awaiting shipment, as on win showed no signs of life, in linux I tried to connect to Serial-arduinome pyIO e. .. surprise! It is recognized! In the screen of 'error-Serial pyIO you notice that the top left, under the label name is missing the field to add serial port (in my case COM9), which is instead present in the Linux version.
learns that the buttons work, but when I start the animation of the default program, I see that demoralizes the LEDs were lit randomly so completely different from those expected.
least one question I'd taken: in addition to the LEDs (power-on sequence) also welds and connections between Arduino and the buttons were correct, at every key press, was displayed on-screen preview of what I pressed. Of course, even the other non-functioning test Serial-pyIO:
- function On \\ Off the push of a button turns the corresponding LED, I displayed on the screen pressure, but the LED is not lit.
- Random function, which creates a random animation was not even remotely comparable to that actually occurred.
- function Follw Me, by pressing a key in succession to another creates an animation of displacement between the first and second, not did not even turn on a led
After running these tests, I concluded that the buttons were pretty well recognized by the program (in some cases the pressure was not recognized), but was not able to handle the array of LEDs .
Serial-pyIO How do I install and what is it?
For these miserable, but still satisfactory results, I had to install Ubuntu Linux (10.10 Maverick) on another partition, and run the software Serial-pyIO based on Python. Linux distributions have Python natively, so there is no need to install it (like Win) However, the latest version of Serial-pyIO available on the official page , esegurila I could not because of some error that I failed to interpret. Theoretically, it would just run the file Serial-pyIO.py to run the GUI of the program or alternatively use the command line.
The Problem of serial-pyio I resolved by running the version taken from the GIT of the project, constantly updated, you can find on this page together to SVN. To use you need to install git git with the command "sudo apt-get install git" , (without the quotes) in terminal resistor and put the string " git clone git: / / serial-pyio.git.sourceforge.net/gitroot/serial-pyio/serial-pyio. If they are not made changes to git, Serial-pyIO will be located in 'folder of the same name in the user's home . Without this soft to run the linux you can simply double-click on the file-Serial pyio.sh. To add our device just plug in the serial port name of the corresponding port, in my case " / dev/ttyACM0 " remember not to omit the first slash. To check to which port is connected arduinome need
- Open the terminal arduinome disconnected
- Type " tail-f / var / log / messages"
- Connect the device
- At this point you should see the log that will have a link arduinome name or type ACM0 ACM1 and so on, to be included in serial port as " / dev / ttyACMX, where X is the number displayed in the previous log.
This software is an 'alternative to monomeserial and arduinomeesrial abient that can run Windows, Linux and OSX, so has the functions of its software mentioned above, and systems using the protocol OSC (Open Sound Control) interface to a variety of software developed for arduinome monome, enough to Max / Msp, Pure Data and Chuck .
0 comments:
Post a Comment