Controller spontaneously fails to respond to analogin messages
Up to Max/MSP
Controller spontaneously fails to respond to analogin messages
Communicating with the controller using Max/MSP 4.6.3 via the mc.usb object.
If I am using the PWM functionality, after a short period of time (on the order of several seconds), the controller ceases to respond to analogin messages. Is this a known issue? Should I simply try to reflash my board?
I am using 3 of the PWM drivers to control LEDs. I cannot be driving too much current with the LEDs, because their current limit is well below the controller's limit.
This occurs if nothing is connected to the analog inputs, using the mc.usb help patch. I test this by connecting a "metro 200" object to a message box with the relevant analogin messages.
Prior to the failure, the analogin message is recognized. pwmout messages work even if the analogin message is no longer acknowledged, and the pwm output continues unaffected. when the analogin message ceases to be acknowledged, no further output from the mc.usb object is seen.
I am powering the board from an external supply providing 12V and a maximum of 4.0 A.
Thank you.
Controller spontaneously fails to respond to analogin messages
Thought to add this information:
Mac OS X 10.4.8
Macbook pro 2ghz (1st version)
Note that the external power supply of my board seems to be working properly. pwm drive continues even when the board is not connected to computer via usb.
thanks.
Controller spontaneously fails to respond to analogin messages
Further observations:
- Same analogin failure observed without use of pwmout. Instead, when I manually polled analogin 4,5,6 while a "metro 200" polled 1,2,3, the analogins failed.
- The analogin message is acknowledged again if max is quit and restarted. Thus, it seems to be something on the host computer size, perhaps in the mc.usb object.
Controller spontaneously fails to respond to analogin messages
There are a couple known issues with the mc.usb object. I will release an updated version when I have time! Sorry for the hassle in the meantime.
Controller spontaneously fails to respond to analogin messages
In this case, polling analogin under a variety of conditions fails. am i likely to have better luck communicating over ethernet?
Would it be possible rather than polling the device with a message each time I want a sample to have a mode whereby the board outputs the desired value at a specified interval? i'm imagining a message like this:
/analogin/poll/interval 5
i thought something like this might exist, but noted that all the links to the OSC message protocol reference are broken. do you have such information you can pass on?
finally, i find that the pwm mode temporarily dies if i increase the duty cycle too high on multiple channels. in my application, every pwm channel is limited to to draw less than 350mA (the output is at 5V).
Controller spontaneously fails to respond to analogin messages
For the moment, I think you're likely to have better luck over Ethernet. My apologies for the strange/broken links...we just moved the documentation over to a new spot and some vestiges of the old location are still scattered around.
It would be possible (and reasonably straightforward) to program the Controller to report its analogins at a certain interval...however, it's not currently configured to do this.
The 5V regulator on the board has a 1A limit...if you have a 5V supply that can supply more current, that would be worth a shot.
Re: Controller spontaneously fails to respond to analogin messages
Powered by
Ploneboard

