Protection from stalling motor

I haven't been able to find a post on this and would appreciate the feedback. I know the solution is out there and likely not overly complicated.

I am looking to put a sensor on a motor to monitor for surges in current that may result from it getting stuck on something. I want to be able to turn the motor off or reverse it if such a thing such happen.

The motor in question is 12V, 3A linear actuator.

How can I monitor if a threshold current is past?
Would it be a current sensor read through the analog inputs?
I can't seem to find anything within the reference/learning pages.

thanks!

Normally a current trip is made by a current sensing resistor and a differential amplifier on each end. Feed into a voltage comparator to generate a trip signal to shut off the motor.

I think the Microchip website has some useful app notes about this sort of thing - it is a common technique for electric window blockage sensing.

thanks for the feedback and link. the sensor circuit would be worth the $9 and will do the trick/trip.

appreciated! :slight_smile: