How to order Contact us Distributors Reviews
Register / Login

Select currency

If you'd like to view estimated pricing in other currencies then please select a currency below below.

GBP USD EUR JPY AUD NOK CHF NZD CAD

Please note:

  • Currency conversions are estimates and for information only
  • Your order will be billed in GBP
  • All prices exclude VAT / other local sales taxes
  • Shipping calculated during checkout


PiStep2 Quad Stepper Motor Control Board for Raspberry Pi

by 4tronix
An image of PiStep2 Quad Stepper Motor Control Board for Raspberry Pi An image of PiStep2 Quad Stepper Motor Control Board for Raspberry Pi An image of PiStep2 Quad Stepper Motor Control Board for Raspberry Pi An image of PiStep2 Quad Stepper Motor Control Board for Raspberry Pi

This neat little board plugs directly into the Raspberry Pi GPIO header and provides 2 or 4 connectors for small stepper motors

  • Fully Assembled - No Soldering Required
  • Raspberry Pi Zero Form Factor - works with all versions of Raspberry Pi with 40pin GPIO connector
  • Stepper motors and Raspberry Pi not included

Various Power Options:

  1. Powered from the Raspberry Pi 5V
  2. From the 2-pin Terminal (whatever voltage is required for the motors)
  3. Micro-USB - 5V only

Pinout is simple:

  • Physical pins 11, 12, 13, 15 for Motor A (GPIO 17, 18, 27, 22)
  • Physical pins 16, 18, 22, 7 for Motor B (GPIO 23, 24, 25, 04)
  • Physical pins 33, 32, 31, 29 for Motor C (GPIO 13,12,6,5)
  • Physical Pins 38, 37, 36, 35 for Motor D (GPIO 20,26,16,19)

Each pin has an associated white LED so you can see the stepper signals going through

Power Supply Alternatives

  • Jumper VCC-VSTP (default). Power from the motors is taken from the Raspberry Pi 5V line
    • Micro-USB into Raspberry Pi. 5V for the Pi and the stepper motors goes through a poly-fuse which can trip if 2 motors are used simultaneously
    • Micro-USB into the PiStep board. 5V for both the Pi and the stepper motors is provided directly from the 5V USB input so no problems with 2 motors at once
  • Jumper VSTP-VIN. Power for the motors is provided from the 2-pin screw terminal, so can be any voltage that the steppers can handle. Ensure you use the correct polarity! We recommend to keep it below 12V. You will find that the stepper motors can go up to 9V and will be able to step faster, the higher the voltage that is applied, but there will be some deterioration of the life of the stepper motor at a higher voltage.

Python Programming

Please see the excellent example here for some pointers. You will need to change the pin numbers as above and also change the speed so it steps at a visible rate. You may also want to remove the print statements to speed it up. The lines in Red below are changed from the original to operate Motor A.

# Use BCM GPIO references
# instead of physical pin numbers
GPIO.setmode(GPIO.BCM)

# Define GPIO signals to use
# Pins 18,22,24,26
# GPIO24,GPIO25,GPIO8,GPIO7
StepPins = [17,18,27,22]

# Set all pins as output
for pin in StepPins:
  print "Setup pins"
  GPIO.setup(pin,GPIO.OUT)
  GPIO.output(pin, False)

# Define some settings
StepCounter = 0
WaitTime = 0.01

ScratchGPIO Programming

These pins are identical to those required by ScratchGPIO and therefore can easily be driven using simple Scratch commands:

- Set motor type for Scratch to be Stepper motor

- Set the position of the stepper motor A

- Set the speed of the stepper motor A

Reviews

User photos

This neat little board plugs directly into the Raspberry Pi GPIO header and provides 2 or 4 connectors for small stepper motors

4TR-PISTEP2Q

You must register for an account and be logged in to view pricing or place an order on the Pimoroni Wholesale store.

If you represent a school or university, a business, or reseller of Maker products then you can sign up for a wholesale account.

If you already have an account you can login to your account here.

Alternatively the easiest way to get your hands on the products we offer is to order them directly from our customer facing online store.

SKU
4TR-PISTEP2Q
EAN
5053839113491
Brand
4tronix
Stock available
0 units
Backorder not allowed on this product
Weight
15g

Video introduction

Guides & tutorials

Search

 

Region

Your search returned no results.

Subscribe

We'll keep you up to date with new product launches!

The good ship

We've been sailing the Maker seas offering our wares since 2012.

  • read about our history
  • what our customers say
  • find a local distributor
  • contact our business team

We manufacture all of our products locally at our workshop in Sheffield, UK

Under one roof

Pimoroni are your one-stop shop for bulk and education purchasing of Raspberry Pi, Pimoroni, micro:bit, Adafruit, Sparkfun, and many other brands.

If you have any questions about what we offer then drop us a line.

Pimoroni Ltd

Unit 1, Parkway Business Park,
Parkway Drive,
Sheffield,
S9 4WN,
United Kingdom

Registered in England and Wales:
Company №: 07510759
VAT Reg №: GB 140 8707 21