Hi all,
I am using a shunt resistor and a voltage comparator (lm393) as a motor over-current sensor. The circuit that i am using is the one attached.
The output of the LM393 is connected to a microcontroller interrupt pin. The interrupt is disabled for the first few seconds when the motor starts so that the interrupt wont be active by the starting current.
The problem is that the interrupt is getting active even when V- is less than V+ , and with the multimeter Vout is showing as 5V (i.e. no over current).
Does anyone know what can be casing the interrupt to get active, even when Vout is 5V ?
I am using a shunt resistor and a voltage comparator (lm393) as a motor over-current sensor. The circuit that i am using is the one attached.
The output of the LM393 is connected to a microcontroller interrupt pin. The interrupt is disabled for the first few seconds when the motor starts so that the interrupt wont be active by the starting current.
The problem is that the interrupt is getting active even when V- is less than V+ , and with the multimeter Vout is showing as 5V (i.e. no over current).
Does anyone know what can be casing the interrupt to get active, even when Vout is 5V ?
Attachments
-
14.5 KB Views: 26