I found a circuit on a electronic racing car that works, and measure the Bemf of a motor, but i can't understanding how it works.
On A and B is the motor. The motor uses 24Volts.
C is in one pin of an Atmega. Perhaps this change between 0 and 5 Volts so it can measure the Bemf in low speed.
My question is, is it safe for the ADC input of the Atmega ?
billys7:
I found a circuit on a electronic racing car that works, and measure the Bemf of a motor, but i can't understanding how it works.
Well its not measuring the back EMF across most of its range, since the output will be above 5V, and
only the resistance of the resistors protects the ADC pin from damage. I suspect the resistor to the motor
is actually 150k
That would then make more sense - it would map +/-24V to approximately the range 5--0V
My question is, is it safe for the ADC input of the Atmega ?
It's hard to say... The ATmega chip has small internal "protection diodes" but I'm not sure what the current rating is and since we don't know the back-EMF we can't calculate how much current you'll get through the resistor when the protection "kicks in".
The back-EMF can be thousands of volts if it's not somehow "constrained".