PiHut
Motor shield for Raspberry Pi
A Raspberry Pi motor controller HAT built around the L293D dual H-bridge driver IC, designed to make building a Raspberry Pi robot easy and fun. Control up t...
A Raspberry Pi motor controller HAT built around the L293D dual H-bridge driver IC, designed to make building a Raspberry Pi robot easy and fun. Control up to 4 DC motors or 2 stepper motors at up to 600 mA (1 A peak) per channel.
The board includes breakout connectors for IR line sensors and an ultrasonic sensor with built-in 3.3 V level protection, plus onboard LED arrow indicators that show motor direction in real time — great for debugging your code.
Key Features
- L293D Dual H-Bridge – Control up to 4 DC motors or 2 stepper motors
- Motor Supply Range: 6–24 V
- Output Current: 600 mA continuous, 1 A peak per channel
- LED Direction Indicators – Onboard arrow LEDs show motor direction
- 2× IR Sensor Connectors – With 3.3 V level output protection
- 1× Ultrasonic Sensor Connector – With 3.3 V level output protection
- GPIO Stacking Header – Pass-through access to remaining GPIO pins
- Python Library & GUI – Includes Python library and GUI for motor control
Specifications
- Driver IC: L293D
- Motor Channels: 4 DC or 2 stepper
- Motor Supply: 6–24 V (screw terminal or male header)
- Per-Channel Current: 600 mA / 1 A peak
- Logic Level: 3.3 V (Raspberry Pi compatible)
Ideal For
- Raspberry Pi robots and motorised projects
- Line-following and obstacle-detecting robots
- Stepper motor control experiments
- STEM education and robotics workshops
Package Contents
- 1× Motor Shield for Raspberry Pi
Resources
Jargon buster
Plain-language definitions for the technical terms used above.
- breakout
- A breakout is a small circuit board that makes a tiny or hard-to-solder component easier to connect to with standard pins. It matters because this OLED module can be wired into a microcontroller project without needing to solder directly to the display’s fine contacts.
- GPIO
- General-purpose input/output pins are microcontroller pins you can set in software to read signals, switch devices on and off, or connect to peripherals. The number of GPIO pins matters because it limits how many buttons, LEDs, sensors, and other parts you can wire directly to the board.
- LED
- A light-emitting diode is a small electronic component that lights up when current flows through it in the correct direction. In this kit, LEDs create the flashing effect, so polarity and correct soldering matter for the project to work.
- Shield
- An add-on board that plugs into a main controller board to give it extra features such as sensing, motor control or communication. Knowing a product supports shields helps you judge whether it can connect neatly into an existing maker-board setup.
Find this product in