Go Down

Topic: Firmata 2.1 (version C) (Read 1 time) previous topic - next topic

tof

I was having a lot of problems with Firmata. The major one being with improper versioning of the whole system.

I use Firmata with Max/Msp, Pure Data and Processing, but the different versions of Firmata either had different names, different baud rates or different proctocol versions (even the Firmata official website has documentation for version 2.1 but only distributes version 2.0).

I made the following zip to include my own version of the standard_firmata (based on version 2.1) for:
  • Arduino
  • Processing
  • Max/Msp


I corrected a lot of bugs in all three versions, added servo and sysex support and unified the names (they are all called Firmata).

Get it here:
http://interaction.danslchamp.org/index.php?n=Arduino.Firmata
Thomas Ouellet Fredericks

kasperkamperman.com

Seems to work ok. The only problem is that 2.1 in Arduino has a serial speed of 57600 Baud and this 2.1 version has a higher speed ( 115200 ).

tof

Actually Firmata in Arduino can be any speed (the speed is determined with Firmata.begin() ).

It is specifically because of the problem that you note that I included my own version of the standard firmata.
Thomas Ouellet Fredericks

tof

If you go on Firmata.org, the version of Firmata for Processing and Max/Msp all expect a baud rate of 115200 NOT 57600 as in Firmata 2.1 presently included with Arduino.
Thomas Ouellet Fredericks

eighthave


The StandardFirmata in 0017 turned out to be kind of buggy, unfortunately.  We have things mostly fixed in SVN, but would love to have more testing and bug reports!  So here's a new release.  I fixed all bugs that I knew about, including the one where analog pins sometimes acted like they had a log curve on them.

http://at.or.at/hans/pd/objects.html#pduino

I tested this on a Diecimila, I hear there are troubles with the Arduino Pro and others, but I only have the older ones, so testing and bug reports on those are very helpful. Tof, could you make an official release of the Processing Firmata stuff?  Its currently floating without a maintainer.

.hc



Go Up