simulate this circuit – Schematic created using CircuitLab
I want to drive 24V/5A DC motor with Atmega32. So bought motor driver having 24V/20A rating. But i am facing some issues :
When i connected Atmega Board with Motor driver and connected 24V supply to driver input, motor worked fine. But after that when i turned off power supply to Atmega Board, I observed that Power indication LED on board was still glowing as well as motor was rotating. Is it due to Back EMF ?
To solve this, I connected diodes in series to the connection between Board to driver, to avoid Back EMF. It was a success. But after few seconds driver was blown with fumes coming out.
(Note : I maintained proper input to drive, i.e 24V. Didn't cross that mark.)
So my question is how to stop Back EMF as well as save the driver ?
Thanks.