# How can microbit control DC motor direction?

**URL:** <https://forum.makecode.com/t/how-can-microbit-control-dc-motor-direction/17113>\
**Category:** micro:bit\
**Created:** [December 27, 2022, 5:54pm UTC](https://forum.makecode.com/t/how-can-microbit-control-dc-motor-direction/17113 "2022-12-27T17:54:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![windflower28](https://avatars.discourse-cdn.com/v4/letter/w/b19c9b/32.png) [@windflower28](https://forum.makecode.com/u/windflower28)\
**Post date:** [December 27, 2022, 5:54pm UTC](https://forum.makecode.com/t/how-can-microbit-control-dc-motor-direction/17113/1 "2022-12-27T17:54:01Z")

</div>

Hi, I want to know, can it easily a microbit change rotate direction of a DC motor?  
I saw some pages showing that it can help with a motor drive module. But I want to know if it can simplily just microbit to control DC motor directly.  
All I want to operate is that if press button A, DC motor start rotate to one direction, and pres button B to start to rotate on another direction.

How can I apply on this? Thanks

---

<div class="post-metadata">

**Author:** ![bsiever](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/bsiever/32/1032_2.png) [@bsiever](https://forum.makecode.com/u/bsiever)\
**Post date:** [December 27, 2022, 8:05pm UTC](https://forum.makecode.com/t/how-can-microbit-control-dc-motor-direction/17113/2 "2022-12-27T20:05:03Z")

</div>

Reversing direction on a regular DC motor isn’t possible without additional parts (motor controller or similar circuits made from transistors or relays).

There are a lot of affordable motor controller boards that deal with both direction other motor-related challenges, like supplying power. You may want to look into them.

Or you may want to consider a continuous rotation servo, which has a sort of controller built-in. It is possible to control their direction, but they often still need additional power sources.
