# Stepper 28BYJ-48 library

**URL:** <https://forum.xod.io/t/stepper-28byj-48-library/1537>\
**Category:** Look What I’ve Done\
**Created:** [December 11, 2018, 8:28pm UTC](https://forum.xod.io/t/stepper-28byj-48-library/1537 "2018-12-11T20:28:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![txgruppi](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/txgruppi/32/693_2.png) [@txgruppi](https://forum.xod.io/u/txgruppi)\
**Post date:** [December 11, 2018, 8:28pm UTC](https://forum.xod.io/t/stepper-28byj-48-library/1537/1 "2018-12-11T20:28:24Z")

</div>

Super simple library to work with 28BYJ-48 + ULN2003.

[https://xod.io/libs/txgruppi/stepper-28byj48/](https://xod.io/libs/txgruppi/stepper-28byj48/)

---

<div class="post-metadata">

**Author:** ![microbios75](https://avatars.discourse-cdn.com/v4/letter/m/f14d63/32.png) [@microbios75](https://forum.xod.io/u/microbios75)\
**Post date:** [July 4, 2019, 7:18pm UTC](https://forum.xod.io/t/stepper-28byj-48-library/1537/2 "2019-07-04T19:18:51Z")

</div>

How can I drive this with the ULN2003 controller board? I am using a bit different stepper motor though.

---

<div class="post-metadata">

**Author:** ![txgruppi](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/txgruppi/32/693_2.png) [@txgruppi](https://forum.xod.io/u/txgruppi)\
**Post date:** [July 4, 2019, 9:28pm UTC](https://forum.xod.io/t/stepper-28byj-48-library/1537/3 "2019-07-04T21:28:08Z")

</div>

This library should work with any driver that uses 4 wires to control a stepper.

`stepper-28byj48` represents the stepper or the driver, just inform the pins for `ORanGe`, `YeLLow`, `PiNK` and `BLUe` wires.

`stepper-28byj48-controller` is there to be a helper in controlling `stepper-28byj48`. Instead of computing the bitmask yourself you can use the controller to just input direction and steps signal.
