Stepper motor (28BYJ-48 with ULN2003 driver board) only works with basic code

This page summarizes the projects mentioned and recommended in the original post on /r/arduino

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • Currently, the motor is hooked up to the pins described in the code on lines 9 through 12. The two commented lines (40&41) should normally work, but they don't. The internet told me, that there might be a problem with my wiring and that I should try swapping around wires until it works. I tried every one of the 24 possible combinations, but it still doesn't work.

  • Arduino_FishFeeder

    A simple NodeMCU based Fish Feeder capable of 16 timed feedings. Uses NTP and a simple web server to keep track of feedings.

  • I would recommend the Accel Stepper library. It’s intuitive, clean and easy to use. I built a fish feeder a while back with the same stepper/driver and a NodeMCU. Code is here if you want to take a look at how I’m using it.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts