9 years, 9 months ago.

LPC11U24 often reboot suddenly

I am making a simple self-balancing robot with LPC11U24 now. So I connect the device with motor driver IC which is connected to the motor. Although the device work well when I don't use the motor , it will often reboot when I use it with motor. I am not sure but ,it seems to me that when the large current is flowing the motor,the phenomena occur. But I separate the power of mbed from power of motor. So mbed is only sending PWM signals to motor driver IC.

It is mystery to me! Please tell me why such a problem happens !

Can you specify what is exactly connected and how you power every part? That is indeed a pretty standard occurance when using motors due to power supply issues, but if they are completely seperated it should not happen.

posted by Erik - 08 Feb 2015

The motor and the mbed of course share the grand(0V). And mbed 's p5 and p6 terminals are connecting with motor driver IC in order to send PWM signal. The mbed is powered by USB cable from my PC,and motor is powered by a battery.

posted by Hirokazu Ishida 08 Feb 2015
Be the first to answer this question.