# Control stepper motor

**URL:** <https://discourse.nodered.org/t/control-stepper-motor/34420>\
**Category:** General\
**Created:** [17 October 2020 16:05 UTC](https://discourse.nodered.org/t/control-stepper-motor/34420 "2020-10-17T16:05:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![omono35](https://avatars.discourse-cdn.com/v4/letter/o/c0e974/32.png) [@omono35](https://discourse.nodered.org/u/omono35)\
**Post date:** [17 October 2020 16:05 UTC](https://discourse.nodered.org/t/control-stepper-motor/34420/1 "2020-10-17T16:05:48Z")

</div>

Is there a way to control a stepper motor connected to my raspberry pi with node red?

What I would like to do is set it up so that I know how many steps it takes to make a 1/2 revolution. Then I would make a slider where say 10 is the half revolution and 5 is 90 degrees. Then using the slider I could move it back and forth between the starting point and the half rotation

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [17 October 2020 16:18 UTC](https://discourse.nodered.org/t/control-stepper-motor/34420/2 "2020-10-17T16:18:41Z")

</div>

Start by searching the [node-red flows site](https://flows.nodered.org) for `stepper` and see if anything there is useful.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [16 December 2020 16:18 UTC](https://discourse.nodered.org/t/control-stepper-motor/34420/3 "2020-12-16T16:18:43Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
