Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

how does one protect the microprocessor from the back EMF? Do you need an optoisolator?


That 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: