A bit of a strange one this. Hope someone can help.
I have an arduino communicating with PD via comport. If I set the
baud rate higher than about 22000 comport throws out rubbish. The
arduino is just counting from 1 to 10 with a 10ms gap between each
value.
If I use zterm to look at the data its all fine and as expected.
So I was seeing this as a limitation of comport not supporting higher
baudrate but I have also used comport to communicate with a bluetooth
device set at 115200 and no problems at all.
Any ideas?
That zterm shows the correct info rules out a problem with the arduino.
That comport talks happily to bluetooth device I took to rule out the
iea that it cant support higher baud.
Im on os x 10.3.9
Thanks Nick
On Sat, 18 Nov 2006, nward04@qub.ac.uk wrote:
I have an arduino communicating with PD via comport. If I set the baud rate higher than about 22000 comport throws out rubbish.
I don't know anything about Arduino, but serial ports are usually made to support exactly those values:
19200 38400 = 2*19200 57600 = 3*19200 115200 = 6*19200 230400 = 12*19200
and I don't know whether they support any other speeds, but I suspect that any other speeds would be multiples of 19200.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju | Freelance Digital Arts Engineer, Montréal QC Canada
I tried all those speeds too. No luck very odd thanks
On 18 Nov 2006, at 17:59, Mathieu Bouchard wrote:
On Sat, 18 Nov 2006, nward04@qub.ac.uk wrote:
I have an arduino communicating with PD via comport. If I set the
baud rate higher than about 22000 comport throws out rubbish.I don't know anything about Arduino, but serial ports are usually
made to support exactly those values:19200 38400 = 2*19200 57600 = 3*19200 115200 = 6*19200 230400 = 12*19200
and I don't know whether they support any other speeds, but I
suspect that any other speeds would be multiples of 19200._ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju | Freelance Digital Arts Engineer, Montréal QC Canada
You also have to have both the Arduino and Pd set to the exact same
bitrate, which has to be one of those values that Matju listed.
.hc
On Nov 18, 2006, at 1:57 PM, nward04@qub.ac.uk wrote:
I tried all those speeds too. No luck very odd thanks
On 18 Nov 2006, at 17:59, Mathieu Bouchard wrote:
On Sat, 18 Nov 2006, nward04@qub.ac.uk wrote:
I have an arduino communicating with PD via comport. If I set the
baud rate higher than about 22000 comport throws out rubbish.I don't know anything about Arduino, but serial ports are usually
made to support exactly those values:19200 38400 = 2*19200 57600 = 3*19200 115200 = 6*19200 230400 = 12*19200
and I don't know whether they support any other speeds, but I
suspect that any other speeds would be multiples of 19200._ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju | Freelance Digital Arts Engineer, Montréal QC Canada
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
I spent 33 years and four months in active military service and
during that period I spent most of my time as a high class muscle man
for Big Business, for Wall Street and the bankers. - General
Smedley Butler
Yep, I have both the arduino and PD comport set to the same speed. And Im working with the standard speeds listed below.
On 18 Nov 2006, at 21:01, Hans-Christoph Steiner wrote:
You also have to have both the Arduino and Pd set to the exact same
bitrate, which has to be one of those values that Matju listed..hc
On Nov 18, 2006, at 1:57 PM, nward04@qub.ac.uk wrote:
I tried all those speeds too. No luck very odd thanks
On 18 Nov 2006, at 17:59, Mathieu Bouchard wrote:
On Sat, 18 Nov 2006, nward04@qub.ac.uk wrote:
I have an arduino communicating with PD via comport. If I set
the baud rate higher than about 22000 comport throws out rubbish.I don't know anything about Arduino, but serial ports are usually
made to support exactly those values:19200 38400 = 2*19200 57600 = 3*19200 115200 = 6*19200 230400 = 12*19200
and I don't know whether they support any other speeds, but I
suspect that any other speeds would be multiples of 19200._ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju | Freelance Digital Arts Engineer, Montréal QC Canada
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
--
I spent 33 years and four months in active military service and
during that period I spent most of my time as a high class muscle
man for Big Business, for Wall Street and the bankers. -
General Smedley Butler
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
Hmm, your problem to me sounded just like mismatched baud rates.
Can't think of anything else at the moment.
.hc
On Nov 20, 2006, at 8:17 AM, nward04@qub.ac.uk wrote:
Yep, I have both the arduino and PD comport set to the same speed. And Im working with the standard speeds listed below.
On 18 Nov 2006, at 21:01, Hans-Christoph Steiner wrote:
You also have to have both the Arduino and Pd set to the exact
same bitrate, which has to be one of those values that Matju listed..hc
On Nov 18, 2006, at 1:57 PM, nward04@qub.ac.uk wrote:
I tried all those speeds too. No luck very odd thanks
On 18 Nov 2006, at 17:59, Mathieu Bouchard wrote:
On Sat, 18 Nov 2006, nward04@qub.ac.uk wrote:
I have an arduino communicating with PD via comport. If I set
the baud rate higher than about 22000 comport throws out rubbish.I don't know anything about Arduino, but serial ports are
usually made to support exactly those values:19200 38400 = 2*19200 57600 = 3*19200 115200 = 6*19200 230400 = 12*19200
and I don't know whether they support any other speeds, but I
suspect that any other speeds would be multiples of 19200._ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/ matju | Freelance Digital Arts Engineer, Montréal QC Canada
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
I spent 33 years and four months in active military service and
during that period I spent most of my time as a high class muscle
man for Big Business, for Wall Street and the bankers. -
General Smedley Butler
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
If you are not part of the solution, you are part of the problem.