Hi, I would like to control a DC rotation motor. The idea is to connect it to the puck.js or mdbt Board and by pressing a button, it should rotate by 5 degree (for example).
Is this possible and how would you do this?
If you want a motor to rotate by a fixed amount, you're best off using a stepper motor. Loads of info here: http://www.espruino.com/Stepper+Motors
You could give a standard DC motor a small pulse of voltage to make it rotate but it wouldn't be possible to accurately rotate it by the same amount each time
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem