2 ms·
how does one protect the microprocessor from the back EMF? Do you need an optoisolator?
by waynesonfire 4y ago
how does one protect the microprocessor from the back EMF? Do you need an optoisolator?
- gwynplaine 4y agoThat answer would depend on the type of motor. For a DC motor, they are rarely connected directly to the microcontroller. But you can put a diode across the motor terminals to minimise any back EMF. A stepper would typically have a driver circuit between the microcontroller and the motor. A small servo would usually just need one signal connection to the microcontroller, there's no back EMF via that path. You would of course also need common ground.