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