[dorkbotpdx-blabber] Dorkboard-firmata-PD
Fred Smith
fxsmith at gmail.com
Sun May 17 09:06:14 EDT 2009
Yep, I was using the pduino stuff, and yes, it's all serial comm
between the PC and the board. The core of pduino is a pretty clever pd
abstraction that parses the MIDI-like serial byte stream. The only
external is relies on is the "comport" external in the flatspace
package, which comes standard when pd-extended is installed. Firmata
uses MIDI as it's base format for the byte stream across the serial
port.
I know the comm port in general is working, as I am able to flash new
images to the dorkboard using the arduino application. Still, I too
suspect the comm port configuration. I tried hacking versions of the
firmata code to send specific messages across the comm port. Byte
stream A would go onto the line from the board, and byte stream B
would come out on the other end. Deterministic, but wrong.
Looking at the source code for the comport external, it seems there
are commands for setting the stopbit, parity, etc, but wasn't able to
make it work through that approach. Tried it at different baud rates,
etc.
On Sat, May 16, 2009 at 10:15 PM, Jason Plumb <jason at noisybox.net> wrote:
> Fred Smith wrote:
>>
>> So, if anybody successfully runs firmata with a dorkboard
>> (specifically), I'd like to know (just to confirm it's a problem on my
>> end). Or, if anybody else runs into trouble, I'd be willing to
>> exchange info for debugging. But, I'm dropping it for now....
>
> I haven't attempted this yet, but wanted to for a few months, so I think
> it's worth exploring the *why*.
>
> I assume you're using the pduino stuff, which I think mostly involves the
> alternate (firmata) firmware with some custom pd abstractions or externals.
> I think for pduino, the pc <-> firmata communication is all straight serial
> port stuff, right?
>
> Do you know if serial comms were working with your setup? I'd suspect that
> first, and want to write a simple echo program to test out that side of
> things.
>
> Any other ideas about why?
>
> -jason
> _______________________________________________
> dorkbotpdx-blabber mailing list
> dorkbotpdx-blabber at dorkbot.org
> http://music.columbia.edu/mailman/listinfo/dorkbotpdx-blabber
>
More information about the dorkbotpdx-blabber
mailing list