I have a project which has a 12 V DC motor controlled by a raspberry pi through a l293d.
The motor draws about 600-800mA from the power source while it is running, and > 1A (much greater) when it stalls.
Id like to detect the stall via gpio so the raspberry PI can stop it.
So I guess what I want is when the motor is drawing 1A or more I'd like to send a +3.3V signal to the GPIO.
I'm not exactly sure how to go about this, or the easiest way to "sense" the current.
Any help would be appreciated.