Arduino Motor Shield overcurrent detection & protection

arduinomotorprotection

I have motor on my Arduino Motor Shield that draws <500mA when running and maximum 1A when stalled. I want to add some form of stall protection so that when the motor stalls the power is removed and the host system is alerted.

I have a three-level host system: a Raspberry Pi sending high-level instructions to a Arduino Mega 2560, that traces states of the motors that is hooked to several Unos and controls them using basic digital commands. The interrupt should be raised to both Pi and Mega 2560.

What is the best way to implement that? Is a comparator and pot a good idea?

Best Answer

Though not the most efficient method, you can use a small resistor in series with the motor of the order of few milliOhm and sense the voltage across the resistor. When the motor is stalled, the current will be very high, so using that you can devise the cut-off amperage.