Controlling a DC motor using Espruino?

Posted on
  • 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?
    Kind regards

  • 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

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Controlling a DC motor using Espruino?

Posted by Avatar for MobiTech @MobiTech

Actions