User Manual

Onboard Interfaces
RPi
RPi Motor Driver Board
Raspberry Pi Expansion Board, DC Motor / Stepper Motor Driver
Primary Attribute
Category: Expansions, Raspberry Pi
Brand: Waveshare
RPi Motor Driver Board
From Waveshare Wiki
Contents
1 Introduction
2 Interface definitions
3 Control work
4 Examples
4.1 Infrared remote control
4.2 Website remote control
4.2.1 Step 1. Install
webiopi
4.2.2 Step 2. Install and
use mjpg‐streamer
4.2.3 Step 3. Run the robot
program
5 Resources
6 Support
Introduction
Raspberry Pi Expansion Board, DC Motor /
Stepper Motor Driver
More ﴾http://www.waveshare.com/rpi‐
motor‐driver‐board.htm﴿
Interface definitions
Interface wiringPi BCM
M1 P28 20
M2 P29 21
PWMA P25 26
M3 P22 6
M4 P23 13
PWMB P26 12
M1 and M2 are connected to the right motor, while M3 and M4 are connected to the left motor. PWMA
and PWMB are output enable pins, active high enable. When they are driven to High level, the PWM pulse
will be outputted from M1, M2, M3 and M4, so as to control the speed of the robot.