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
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: pd-list-bounces@iem.at [mailto:pd-list-bounces@iem.at] 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
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 ingo@miamiwave.com
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: pd-list-bounces@iem.at [mailto:pd-list-bounces@iem.at] 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
Pierre Massat wrote:
UPDATE : comport is now working as expected, and my arduino uno board is now friends with my USB soundcard.
Wild guess : you rebooted your computer in the meantime. Or at least killed every stuck java process, and reloaded the serial driver with rmmod/modprobe ?
Cheers, Charlot
On 2011-07-09 08:48, Pierre Massat wrote:
UPDATE : comport is now working as expected, and my arduino uno board is now friends with my USB soundcard.
So what was the problem?
I guess it's high time i started reading the first volume of Harry Potter.
Maybe read some Crowley about banishing daemons before plugging in...
Martin
Pierre
2011/7/9 Ingo <ingo@miamiwave.com mailto:ingo@miamiwave.com>
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: pd-list-bounces@iem.at <mailto:pd-list-bounces@iem.at> [mailto:pd-list-bounces@iem.at <mailto:pd-list-bounces@iem.at>] 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
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
The problem isn't really solved at all.
The USB soundcard doesn't seem to completely prevent [comport] to detect my uno board (I've been playing with both plugged in for the past 2 hours). But [comport] seems to be a little temperamental. I have to open and close Pd several times, and change the USB port i'm using, for it to detect the arduino board (though changing the port may not have any impact). Opening and closing the port i'm using in [comport] doesn't seem to have any effect either.
The thing is, as i said in a previous post, that there's something weird about my serial ports on my ubuntu machine. The Arduino IDE detects my boards about every other time, or just looses it for no apparent reason. So maybe it's a problem with Ubuntu? [comport] seems to have a much more predictable behaviour in windows (which i can't use because i need low latency).
Any Gandalf out there to help me out?
pierre
2011/7/9 Martin Peach martin.peach@sympatico.ca
On 2011-07-09 08:48, Pierre Massat wrote:
UPDATE : comport is now working as expected, and my arduino uno board is now friends with my USB soundcard.
So what was the problem?
I guess it's high time i started reading the first volume of Harry Potter.
Maybe read some Crowley about banishing daemons before plugging in...
Martin
Pierre
2011/7/9 Ingo <ingo@miamiwave.com mailto:ingo@miamiwave.com>
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: pd-list-bounces@iem.at <mailto:pd-list-bounces@iem.at**> [mailto:pd-list-bounces@iem.at mailto:pd-list-bounces@iem.at**] 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
______________________________**_________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/** listinfo/pd-list http://lists.puredata.info/listinfo/pd-list
It's very likely the sound card is using a lot more bandwidth of the USB hub than the arduino. If it's not a laptop you can usually plug into a different hub on the same machine. The random dropouts of the serial connection sound like a problem with the cable or connectors, or else something is plugged into the arduino that's taking too much current from the USB.
Martin
On 2011-07-09 11:26, Pierre Massat wrote:
The problem isn't really solved at all.
The USB soundcard doesn't seem to completely prevent [comport] to detect my uno board (I've been playing with both plugged in for the past 2 hours). But [comport] seems to be a little temperamental. I have to open and close Pd several times, and change the USB port i'm using, for it to detect the arduino board (though changing the port may not have any impact). Opening and closing the port i'm using in [comport] doesn't seem to have any effect either.
The thing is, as i said in a previous post, that there's something weird about my serial ports on my ubuntu machine. The Arduino IDE detects my boards about every other time, or just looses it for no apparent reason. So maybe it's a problem with Ubuntu? [comport] seems to have a much more predictable behaviour in windows (which i can't use because i need low latency).
Any Gandalf out there to help me out?
pierre
2011/7/9 Martin Peach <martin.peach@sympatico.ca mailto:martin.peach@sympatico.ca>
On 2011-07-09 08:48, Pierre Massat wrote: UPDATE : comport is now working as expected, and my arduino uno board is now friends with my USB soundcard. So what was the problem? I guess it's high time i started reading the first volume of Harry Potter. Maybe read some Crowley about banishing daemons before plugging in... Martin Pierre 2011/7/9 Ingo <ingo@miamiwave.com <mailto:ingo@miamiwave.com> <mailto:ingo@miamiwave.com <mailto:ingo@miamiwave.com>>> 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: pd-list-bounces@iem.at <mailto:pd-list-bounces@iem.at> <mailto:pd-list-bounces@iem.at <mailto:pd-list-bounces@iem.at>__> [mailto:pd-list-bounces@iem.at <mailto:pd-list-bounces@iem.at> <mailto:pd-list-bounces@iem.at <mailto:pd-list-bounces@iem.at>__>] 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 _________________________________________________ Pd-list@iem.at <mailto:Pd-list@iem.at> mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/__listinfo/pd-list <http://lists.puredata.info/listinfo/pd-list>
It's a laptop. I don't get random dropouts once it's connected (I used it for 2 ours in Pd and it worked fine all the time), but it just doesn't appear (either in the Serial port menu of the IDE, or in the device list that comport outputs) randomly. Do you think that this could still be caused by something sucking up too much current? There's nothing special connected to the board : 2 pots, and 8 buttons (wired so that their rest position is High).
Pierre
2011/7/9 Martin Peach martin.peach@sympatico.ca
It's very likely the sound card is using a lot more bandwidth of the USB hub than the arduino. If it's not a laptop you can usually plug into a different hub on the same machine. The random dropouts of the serial connection sound like a problem with the cable or connectors, or else something is plugged into the arduino that's taking too much current from the USB.
Martin
On 2011-07-09 11:26, Pierre Massat wrote:
The problem isn't really solved at all.
The USB soundcard doesn't seem to completely prevent [comport] to detect my uno board (I've been playing with both plugged in for the past 2 hours). But [comport] seems to be a little temperamental. I have to open and close Pd several times, and change the USB port i'm using, for it to detect the arduino board (though changing the port may not have any impact). Opening and closing the port i'm using in [comport] doesn't seem to have any effect either.
The thing is, as i said in a previous post, that there's something weird about my serial ports on my ubuntu machine. The Arduino IDE detects my boards about every other time, or just looses it for no apparent reason. So maybe it's a problem with Ubuntu? [comport] seems to have a much more predictable behaviour in windows (which i can't use because i need low latency).
Any Gandalf out there to help me out?
pierre
2011/7/9 Martin Peach <martin.peach@sympatico.ca <mailto:martin.peach@**sympatico.ca martin.peach@sympatico.ca>>
On 2011-07-09 08:48, Pierre Massat wrote:
UPDATE : comport is now working as expected, and my arduino uno board is now friends with my USB soundcard.
So what was the problem?
I guess it's high time i started reading the first volume of Harry Potter.
Maybe read some Crowley about banishing daemons before plugging in...
Martin
Pierre 2011/7/9 Ingo <ingo@miamiwave.com <mailto:ingo@miamiwave.com> <mailto:ingo@miamiwave.com <mailto:ingo@miamiwave.com>>> 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: pd-list-bounces@iem.at <mailto:pd-list-bounces@iem.at**> <mailto:pd-list-bounces@iem.at <mailto:pd-list-bounces@iem.at**
__>
[mailto:pd-list-bounces@iem.at <mailto:pd-list-bounces@iem.at**> <mailto:pd-list-bounces@iem.at <mailto:pd-list-bounces@iem.at**>__>] 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 ______________________________**___________________ Pd-list@iem.at <mailto:Pd-list@iem.at> mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/__**listinfo/pd-list<http://lists.puredata.info/__listinfo/pd-list> <http://lists.puredata.info/**listinfo/pd-list<http://lists.puredata.info/listinfo/pd-list>
If you are plugging and unplugging the arduino it's possible the OS doesn't detect it properly. I know there were issues with the FTDI driver not reporting when the device had been removed, that caused Pd to hang. As long as your resistors are more than about 1 kOhm it should be OK. If you write ones to the input pins they will have internal pullup resistors enabled, so a switch that connects the pin to ground when it's on will work. And the pots should be wired like this:
5V
/
<----Pin
/
GND
Anyway you say it works once it connects, so it's probably not the hardware, except possibly the cable/connectors.
Martin
On 2011-07-09 12:00, Pierre Massat wrote:
It's a laptop. I don't get random dropouts once it's connected (I used it for 2 ours in Pd and it worked fine all the time), but it just doesn't appear (either in the Serial port menu of the IDE, or in the device list that comport outputs) randomly. Do you think that this could still be caused by something sucking up too much current? There's nothing special connected to the board : 2 pots, and 8 buttons (wired so that their rest position is High).
Pierre
I m pretty sure it's not related to the hardware, as it works perfectly fine in windows. I believe it has to do with the firmware.
2011/7/9 Martin Peach martin.peach@sympatico.ca
If you are plugging and unplugging the arduino it's possible the OS doesn't detect it properly. I know there were issues with the FTDI driver not reporting when the device had been removed, that caused Pd to hang. As long as your resistors are more than about 1 kOhm it should be OK. If you write ones to the input pins they will have internal pullup resistors enabled, so a switch that connects the pin to ground when it's on will work. And the pots should be wired like this:
5V
/ <----Pin /
GNDAnyway you say it works once it connects, so it's probably not the hardware, except possibly the cable/connectors.
Martin
On 2011-07-09 12:00, Pierre Massat wrote:
It's a laptop. I don't get random dropouts once it's connected (I used it for 2 ours in Pd and it worked fine all the time), but it just doesn't appear (either in the Serial port menu of the IDE, or in the device list that comport outputs) randomly. Do you think that this could still be caused by something sucking up too much current? There's nothing special connected to the board : 2 pots, and 8 buttons (wired so that their rest position is High).
Pierre
http://arduino.cc/blog/2011/02/15/fix-to-uno-and-mega-2560-linux-serial-prob...
I'll try this tomorrow, and i'll let you know if it works.
Pierre
2011/7/9 Pierre Massat pimassat@gmail.com
I m pretty sure it's not related to the hardware, as it works perfectly fine in windows. I believe it has to do with the firmware.
2011/7/9 Martin Peach martin.peach@sympatico.ca
If you are plugging and unplugging the arduino it's possible the OS doesn't detect it properly. I know there were issues with the FTDI driver not reporting when the device had been removed, that caused Pd to hang. As long as your resistors are more than about 1 kOhm it should be OK. If you write ones to the input pins they will have internal pullup resistors enabled, so a switch that connects the pin to ground when it's on will work. And the pots should be wired like this:
5V
/ <----Pin /
GNDAnyway you say it works once it connects, so it's probably not the hardware, except possibly the cable/connectors.
Martin
On 2011-07-09 12:00, Pierre Massat wrote:
It's a laptop. I don't get random dropouts once it's connected (I used it for 2 ours in Pd and it worked fine all the time), but it just doesn't appear (either in the Serial port menu of the IDE, or in the device list that comport outputs) randomly. Do you think that this could still be caused by something sucking up too much current? There's nothing special connected to the board : 2 pots, and 8 buttons (wired so that their rest position is High).
Pierre
FIXED!!!
Please read my new post "Got Arduino UNO to work in Linux (Ubuntu)" if you need the fix.
Pierre
2011/7/9 Pierre Massat pimassat@gmail.com
http://arduino.cc/blog/2011/02/15/fix-to-uno-and-mega-2560-linux-serial-prob...
I'll try this tomorrow, and i'll let you know if it works.
Pierre
2011/7/9 Pierre Massat pimassat@gmail.com
I m pretty sure it's not related to the hardware, as it works perfectly fine in windows. I believe it has to do with the firmware.
2011/7/9 Martin Peach martin.peach@sympatico.ca
If you are plugging and unplugging the arduino it's possible the OS doesn't detect it properly. I know there were issues with the FTDI driver not reporting when the device had been removed, that caused Pd to hang. As long as your resistors are more than about 1 kOhm it should be OK. If you write ones to the input pins they will have internal pullup resistors enabled, so a switch that connects the pin to ground when it's on will work. And the pots should be wired like this:
5V
/ <----Pin /
GNDAnyway you say it works once it connects, so it's probably not the hardware, except possibly the cable/connectors.
Martin
On 2011-07-09 12:00, Pierre Massat wrote:
It's a laptop. I don't get random dropouts once it's connected (I used it for 2 ours in Pd and it worked fine all the time), but it just doesn't appear (either in the Serial port menu of the IDE, or in the device list that comport outputs) randomly. Do you think that this could still be caused by something sucking up too much current? There's nothing special connected to the board : 2 pots, and 8 buttons (wired so that their rest position is High).
Pierre
Well I'm interested, where did you post it to?
Martin
On 2011-07-10 04:17, Pierre Massat wrote:
FIXED!!!
Please read my new post "Got Arduino UNO to work in Linux (Ubuntu)" if you need the fix.
Pierre
2011/7/9 Pierre Massat <pimassat@gmail.com mailto:pimassat@gmail.com>
http://arduino.cc/blog/2011/02/15/fix-to-uno-and-mega-2560-linux-serial-problems/ I'll try this tomorrow, and i'll let you know if it works. Pierre 2011/7/9 Pierre Massat <pimassat@gmail.com <mailto:pimassat@gmail.com>> I m pretty sure it's not related to the hardware, as it works perfectly fine in windows. I believe it has to do with the firmware. 2011/7/9 Martin Peach <martin.peach@sympatico.ca <mailto:martin.peach@sympatico.ca>> If you are plugging and unplugging the arduino it's possible the OS doesn't detect it properly. I know there were issues with the FTDI driver not reporting when the device had been removed, that caused Pd to hang. As long as your resistors are more than about 1 kOhm it should be OK. If you write ones to the input pins they will have internal pullup resistors enabled, so a switch that connects the pin to ground when it's on will work. And the pots should be wired like this: 5V \ / \<----Pin / \ GND Anyway you say it works once it connects, so it's probably not the hardware, except possibly the cable/connectors. Martin On 2011-07-09 12:00, Pierre Massat wrote: It's a laptop. I don't get random dropouts once it's connected (I used it for 2 ours in Pd and it worked fine all the time), but it just doesn't appear (either in the Serial port menu of the IDE, or in the device list that comport outputs) randomly. Do you think that this could still be caused by something sucking up too much current? There's nothing special connected to the board : 2 pots, and 8 buttons (wired so that their rest position is High). Pierre
On pd-list this morning...?
Pierre
2011/7/10 Martin Peach martin.peach@sympatico.ca
Well I'm interested, where did you post it to?
Martin
On 2011-07-10 04:17, Pierre Massat wrote:
FIXED!!!
Please read my new post "Got Arduino UNO to work in Linux (Ubuntu)" if you need the fix.
Pierre
2011/7/9 Pierre Massat <pimassat@gmail.com mailto:pimassat@gmail.com>
http://arduino.cc/blog/2011/**02/15/fix-to-uno-and-mega-** 2560-linux-serial-problems/http://arduino.cc/blog/2011/02/15/fix-to-uno-and-mega-2560-linux-serial-problems/
I'll try this tomorrow, and i'll let you know if it works.
Pierre
2011/7/9 Pierre Massat <pimassat@gmail.com <mailto:pimassat@gmail.com
I m pretty sure it's not related to the hardware, as it works perfectly fine in windows. I believe it has to do with the firmware. 2011/7/9 Martin Peach <martin.peach@sympatico.ca <mailto:martin.peach@**sympatico.ca <martin.peach@sympatico.ca>>> If you are plugging and unplugging the arduino it's possible the OS doesn't detect it properly. I know there were issues with the FTDI driver not reporting when the device had been removed, that caused Pd to hang. As long as your resistors are more than about 1 kOhm it should be OK. If you write ones to the input pins they will have internal pullup resistors enabled, so a switch that connects the pin to ground when it's on will work. And the pots should be wired like this: 5V \ / \<----Pin / \ GND Anyway you say it works once it connects, so it's probably not the hardware, except possibly the cable/connectors. Martin On 2011-07-09 12:00, Pierre Massat wrote: It's a laptop. I don't get random dropouts once it's connected (I used it for 2 ours in Pd and it worked fine all the time), but it just doesn't appear (either in the Serial port menu of the IDE, or in the device list that comport outputs) randomly. Do you think that this could still be caused by something sucking up too much current? There's nothing special connected to the board : 2 pots, and 8 buttons (wired so that their rest position is High). Pierre
I don't think it got through....
Martin
On 2011-07-10 12:28, Pierre Massat wrote:
On pd-list this morning...?
Pierre
2011/7/10 Martin Peach <martin.peach@sympatico.ca mailto:martin.peach@sympatico.ca>
Well I'm interested, where did you post it to? Martin On 2011-07-10 04:17, Pierre Massat wrote: FIXED!!! Please read my new post "Got Arduino UNO to work in Linux (Ubuntu)" if you need the fix. Pierre 2011/7/9 Pierre Massat <pimassat@gmail.com <mailto:pimassat@gmail.com> <mailto:pimassat@gmail.com <mailto:pimassat@gmail.com>>> http://arduino.cc/blog/2011/__02/15/fix-to-uno-and-mega-__2560-linux-serial-problems/ <http://arduino.cc/blog/2011/02/15/fix-to-uno-and-mega-2560-linux-serial-problems/> I'll try this tomorrow, and i'll let you know if it works. Pierre 2011/7/9 Pierre Massat <pimassat@gmail.com <mailto:pimassat@gmail.com> <mailto:pimassat@gmail.com <mailto:pimassat@gmail.com>>> I m pretty sure it's not related to the hardware, as it works perfectly fine in windows. I believe it has to do with the firmware. 2011/7/9 Martin Peach <martin.peach@sympatico.ca <mailto:martin.peach@sympatico.ca> <mailto:martin.peach@__sympatico.ca <mailto:martin.peach@sympatico.ca>>> If you are plugging and unplugging the arduino it's possible the OS doesn't detect it properly. I know there were issues with the FTDI driver not reporting when the device had been removed, that caused Pd to hang. As long as your resistors are more than about 1 kOhm it should be OK. If you write ones to the input pins they will have internal pullup resistors enabled, so a switch that connects the pin to ground when it's on will work. And the pots should be wired like this: 5V \ / \<----Pin / \ GND Anyway you say it works once it connects, so it's probably not the hardware, except possibly the cable/connectors. Martin On 2011-07-09 12:00, Pierre Massat wrote: It's a laptop. I don't get random dropouts once it's connected (I used it for 2 ours in Pd and it worked fine all the time), but it just doesn't appear (either in the Serial port menu of the IDE, or in the device list that comport outputs) randomly. Do you think that this could still be caused by something sucking up too much current? There's nothing special connected to the board : 2 pots, and 8 buttons (wired so that their rest position is High). Pierre
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list