LiquidKernel
New Member
I'm wondering how I would use a comparator on an Atmel AVR (ATtiny11 to be exact) to detect when a motor has been forced to stop. Should I be looking into detecting a change in current drain? Thanks.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
LiquidKernel said:I'm wondering how I would use a comparator on an Atmel AVR (ATtiny11 to be exact) to detect when a motor has been forced to stop. Should I be looking into detecting a change in current drain? Thanks.
LiquidKernel said:crust:
The motor gets about 10Vs during normal operation. I have a stable 12V supply, which is not connected to the motor. I noticed when the motor stalls it drops two volts to 8V. Is that enough to detect a stall?
LiquidKernel said:Sounds good.
I'm wondering what a current sensing resistor is, I am being told to use one with a value of 0.01ohms.
LiquidKernel said:That sounds like something I could use! Thank you Nigel.
However, when the over current pin is not sent high, does it leak any amount of voltage? I'm wondering this because perhaps it might constantly send the AVR's input high.
LiquidKernel said:I have a question though, if the polarity changes to the motor, what would happen to the over current pin? I'm asking this because the motor I am monitoring has it's power change polarity to change direction and I am interested in detecting when it stalls in both cases.
LiquidKernel said:How would it still work if the NPN transistor will be getting a different polarity? That's what I'm wondering.
I am also finding in news groups that I can use an LM731 opamp to detect a change in current, I'll probably look into that as well.