Quick Order Tool Pimoroni Customs New From Pimoroni
Register Login
Register Login

Delivery region

Choose your delivery region to set your pricing and currency. All prices exclude VAT and other local taxes.

/
Your order is empty
Raspberry PiPicoPimoroniAdafruitBreakoutsBadgewareSmart HomeToolsNew Popular
DisplaysCamerasLED StripsComponentsSensorsEnvironmentalRoboticsAudioRetro/ArcadeYukonFeatherTinyFXMerchandise

Departments

New Popular
Raspberry Pi
Pico
Pimoroni
Adafruit
Breakouts
Badgeware
Smart Home
Tools
Displays
Cameras
LED Strips
Components
Sensors
Environmental
Robotics
Audio
Retro/Arcade
Yukon
Feather
TinyFX
Merchandise
  • 58,698 reviews rated 4.8 out of 5!
  • Volume pricing save on larger orders
  • Credit accounts flexible payment options
  • Expert support by email or phone

Search

Filter

  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Robotics

PiStep2 Quad Stepper Motor Control Board for Raspberry Pi

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 PiStep2 Quad Stepper Motor Control Board for Raspberry Pi PiStep2 Quad Stepper Motor Control Board for Raspberry Pi PiStep2 Quad Stepper Motor Control Board for Raspberry Pi PiStep2 Quad Stepper Motor Control Board for Raspberry Pi

We no longer stock this product

It's sad to say goodbye but sometimes we have to retire products to make way for new things.

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

Guides & tutorials

Customer reviews

Trade newsletter

Join our trade newsletter and we'll keep you up to date with new product launches.

The Good Ship Pimoroni

We've been designing and making electronics in Sheffield since 2012, with our own manufacturing and fulfilment under one roof.

Our business store makes it easy to buy Pimoroni, Raspberry Pi, micro:bit, Adafruit, SparkFun and more in volume, with competitive pricing and support from people who know the products. Need something specific? Drop us a line.

Useful links (we hope)

How to order Quick order tool Contact our business team Pimoroni customs Our retail shop

Pimoroni Ltd.

Unit 1, Parkway Business Park, Parkway Drive, Sheffield, S9 4WN, United Kingdom
Registered in England and Wales Company №: 07510759 VAT Reg №: GB140870721
Terms & Conditions Privacy Policy