Close
0%
0%

Step Motor Library for Raspberry Pi

Python Module that Contains a Class to Control Stepper Motors on Raspberry Pi (GPIO Zero)

Similar projects worth following
0 followers
This lightweight python class (module) was developed to control stepper motor on Raspberry Pi. Usable with modern gpiozero API framework.

The module has the following features:

  • 2-pin, 4-pin, and 5-pin step motors support
  • forward and reverse rotation
  • adjustable stepping delay (speed)
  • arduino-style stepping logic
  • easy integration with gpiozero
  • non-blocking and blocking modes
  • asynchronous mode (async version of the module available)

GitHub repository page with all code and examples.

  • 1 × Stepper Motor
  • 1 × Control Board/IC e.g. ULN2003
  • 1 × Power Adapter or Battery for the motor
  • 1 × Raspberry Pi 4 or 5 development board
  • 5 × Jumper Wires Female-Female

  • 1
    Gather the components

    Obtain electronics and wires/cables.
    Prepare Raspberry Pi: install Linux-based operating system.

  • 2
    Assembe the circut

    See a tutorial video on how to assemble the circuit.

  • 3
    Write the code

    Use this repository for the class methods reference.

View all 3 instructions

Enjoy this project?

Share

Discussions

Does this project spark your interest?

Become a member to follow this project and never miss any updates