Raspberry Pi & Maker goodies
Curated range of best of breed products.
This neat little board plugs directly into the Raspberry Pi GPIO header and provides 2 or 4 connectors for small stepper motors
Various Power Options:
Pinout is simple:
Each pin has an associated white LED so you can see the stepper signals going through
Power Supply Alternatives
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
# Define GPIO signals to use
# Pins 18,22,24,26
StepPins = [17,18,27,22]
# Set all pins as output
for pin in StepPins:
print "Setup pins"
# Define some settings
StepCounter = 0
WaitTime = 0.01
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