UPDATE : comport is now working as expected, and my arduino uno board is now friends with my USB soundcard. <br><br>I guess it&#39;s high time i started reading the first volume of Harry Potter. <br><br>Pierre<br><br><div class="gmail_quote">
2011/7/9 Ingo <span dir="ltr">&lt;<a href="mailto:ingo@miamiwave.com">ingo@miamiwave.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Similar problem here. I had an Arduino (USB) and a LCD display (RS232)<br>
working together very well with two [comport] objects on my old mainboard.<br>
With the new board either one by themselves is working fine but both of them<br>
connected bidirectional doesn&#39;t work. As soon as I connect the serial in<br>
from the display (which is supposed to get the keypad of the serial display)<br>
I get a lots of crazy data coming in. After a while either [comport] or Pd<br>
altogether crashes.<br>
<br>
The LCD [comport] should only receive digital buttons on/off. While the<br>
arduino sends buttons plus four analogue INs from a joystick and two foot<br>
pedals.<br>
All cables are very short, so the problematic behaviour can&#39;t be caused by<br>
the cable length. Without connecting the serial out of the display to the<br>
serial in of the computer everything works fine.<br>
<br>
I was also suspecting an error in comport where the data of two instances of<br>
two [comport] objects get mixed up. It looks like the analogue data from the<br>
arduino board gets forwarded to the second RS232 [comport] of the LCD.<br>
<br>
Ingo<br>
<br>
<br>
________________________________________<br>
Von: <a href="mailto:pd-list-bounces@iem.at">pd-list-bounces@iem.at</a> [mailto:<a href="mailto:pd-list-bounces@iem.at">pd-list-bounces@iem.at</a>] Im Auftrag von<br>
Pierre Massat<br>
Gesendet: Samstag, 9. Juli 2011 13:38<br>
An: pd-list<br>
Betreff: [PD] Comport can&#39;t read serial devices when soundcard is plugged in<br>
<div><div></div><div class="h5"><br>
Hi all!<br>
<br>
After having had to deal with a &quot;bug&quot; in pduino (see Arduin is drivin me<br>
mad), i wrote a small sketch for the board and a patch using comport. It was<br>
working fine until i decided to actually try it with my audio patch.<br>
It turns out that my external USB soundcard prevents comport from working<br>
properly. It can&#39;t open the arduino board, and can&#39;t event detect serial<br>
devices (&quot;devices&quot; yields an empty message in the console). As soon as i<br>
unplug the soundcard, everything works fine again.<br>
<br>
I think i&#39;m beginning to realize that a lot of things have to be taken care<br>
off, and i know that my patch and sketch are way to simple to take this kind<br>
of issue into account (i wish i could switch back to Pduino and firmata).<br>
<br>
So my question is : is this behaviour normal, or is it bug in comport?<br>
<br>
Thanks!<br>
<br>
Pierre<br>
<br>
</div></div></blockquote></div><br>