Magician Motor Test and LPC11U24

26 Jan 2012

Will this Magician chassis work with the new low power MBED? Maybe not, for it doesn't have PWM pins? Is a work around possible? donde

26 Jan 2012

PWM can be done using timers with interrupts - there was a software PWM setup somewhere at one time in the cookbook that someone posted, but I don't see it now. In any case, it might need some changes to work on the new mbed.

Another option is a PWM I/O expander chip http://www.sparkfun.com/products/10136 - software for it is in the cookbook at http://mbed.org/users/Fiuba/libraries/tlc5940/liirw9

26 Jan 2012

Hi Jim,

Thanks for the informative reply. Yes, I think the Cookbook and the Handbook should be separated for the new MO device, or at least point out "this code is for this device", or works on either.

I was surprised the LPC11U24 board draws quite a bit of current, like 50 to 60 ma, just flashing LEDS. using 5 volts on Vin. I like the new amber color. Wish there was a way to disable the "main" LED, just to see if current drops much. 20 ma would be significant in a battery designed circuit.

27 Jan 2012

On the old mbed there was an interface powerdown call and it turns off the LED and USB interface ARM chip. If it works on the new one it would save some power - see http://mbed.org/cookbook/Power-Management. Sleep and DeepSleep seem to already be setup for the new mbed - see http://mbed.org/blog/entry/New-Cortex-M0-mbed-having-a-snooze/

01 Feb 2012

It looks like the new mbed already has a software driver for PWM using the PWMOut API function. There are some comments in the PWMOut handbook comment page. I was working on another project and noticed it. Have not tried it.