Pololu DRV8835 Dual Motor Driver Kit for Raspberry Pi B+

Similar documents
POLOLU DUAL MC33926 MOTOR DRIVER FOR RASPBERRY PI (ASSEMBLED) USER S GUIDE

USER S GUIDE POLOLU DRV8838 SINGLE BRUSHED DC MOTOR DRIVER CARRIER USING THE MOTOR DRIVER

DRV8801 Single Brushed DC Motor Driver Carrier

Pololu Dual G2 High-Power Motor Driver for Raspberry Pi

POLOLU MAX14870 SINGLE BRUSHED DC MOTOR DRIVER CARRIER USER S GUIDE

TB6612FNG Dual Motor Driver Carrier

USER S GUIDE POLOLU A4988 STEPPER MOTOR DRIVER CARRIER USING THE DRIVER POWER CONNECTIONS

Adafruit 16-Channel PWM/Servo HAT & Bonnet for Raspberry Pi

Adafruit 16-Channel PWM/Servo HAT for Raspberry Pi

Adafruit 16-channel PWM/Servo Shield

가치창조기술. Motors need a lot of energy, especially cheap motors since they're less efficient.

Bill of Materials: PWM Stepper Motor Driver PART NO

Adafruit 16-channel PWM/Servo Shield

Simple-H User Manual

The NMIH-0050 H-Bridge

RB-Pol-116 Pololu D24V6ALV Step-Down Voltage Regulator Overview

9DoF Sensor Stick Hookup Guide

Adafruit 16-Channel Servo Driver with Arduino

Functional description of BSD-01v2 Module

INA169 Breakout Board Hookup Guide

40 Amp Digital Bidirectional PWM Motor Controller with Regenerative Braking BIDIR-340-DR

Qik 2s12v10 User's Guide

Motor Drive Business Unit Gem Li Marketing Manager

7I30 MANUAL Quad 100W HBridge

Pi Servo Hat Hookup Guide

Qik 2s12v10 User's Guide

The µbotino Microcontroller Board

Application Note CDIAN003

Technical manual. Microstep driver SMC11. NANOTEC ELECTRONIC GmbH & Co. KG Gewerbestraße 11 D Landsham near Munich, Germany

HB-25 Motor Controller (#29144)

High Voltage Monolithic LED Driver DESCRIPTION

Jaguar Motor Controller (Stellaris Brushed DC Motor Control Module with CAN)

Figure 1. DMC 60 components.

PHASE BRUSHLESS DC MOTOR CONTROLLER/DRIVER FEATURES

Pololu Jrk USB Motor Controller

CONSONANCE CN A High Brightness LED Driver IC. General Description. Features. Pin Assignment. Applications

LED Driver 5 click. PID: MIKROE 3297 Weight: 25 g

Controlling DC Brush Motor using MD10B or MD30B. Version 1.2. Aug Cytron Technologies Sdn. Bhd.

A3901. Dual Full Bridge Low Voltage Motor Driver

The Robot Builder's Shield for Arduino

LT3755-2, LT HIGH VOLTAGE LED CONTROLLER DESCRIPTION DEMO CIRCUIT 1268B QUICK START GUIDE

DESCRIPTION FEATURES APPLICATIONS TYPICAL APPLICATION

DC Brushed Motor Controller Module EDP-AM-MC1

LD /07/ Channel LED Backlight Driver. General Description. Features. Applications. Typical Application REV: 05

Functional description of BSD-01 Module. Features

INA3221 Breakout Board

Brushed DC Motor Control. Module with CAN (MDL-BDC24)

High Capacity H-Bridge

CONSONANCE CN5612. Low-Dropout High-Power LED Driver. General Description: Features: Pin Assignment. Applications: Typical Application Circuit

High and Low Side N-Channel Gate Driver

MP V - 21V, 0.8A, H-Bridge Motor Driver in a TSOT23-6

IS32LT3117 PRELIMINARY 60V, 350MA, 4-CHANNEL CONSTANT CURRENT REGULATOR WITH OTP

Purpose. Table of Contents. Purpose Introduction General Product Information Key Performance Summary Table... 3

QUASAR PROJECT KIT # /24 HOUR GIANT CLOCK

Hardware Guide. Control Made Simple. Model 401A Signal Generator

Brushed DC Motor Microcontroller PWM Speed Control with Optical Encoder and H-Bridge

SGM2551A/SGM2551C Precision Adjustable Current Limited Power Distribution Switches

MDM5253 DC Motor Driver Module with Position and Current Feedback User Manual

Adafruit 16-Channel Servo Driver with Arduino

STPDRV-1 Stepper Motor Driver Data Sheet (R1.0) BFF Design Ltd

System Board 6219 MAXREFDES89#: MAX14871 Full-Bridge DC Motor Driver MBED Shield

7I54 MANUAL Six channel 40V 3A Servo motor drive

1MHz,30V/1.5A High Performance, Boost Converter

+Denotes lead-free and RoHS compliant.

MEGORAS Technology - TB6600 STEP MOTOR Driver.

DATASHEET VXR S SERIES

RT V DC-DC Boost Converter. Features. General Description. Applications. Ordering Information. Marking Information

Industrial motor controller for brushed DC motors 12 VDC

LD /01/2013. Boost Controller for LED Backlight. General Description. Features. Applications. Typical Application REV: 00

Analog Servo Drive 100A40

Adafruit SGP30 TVOC/eCO2 Gas Sensor

SGM2553/SGM2553D Precision Adjustable Current Limited Power Distribution Switches

LM2935 Low Dropout Dual Regulator

LD7889A 3/29/ Channel LED Backlight Driver. General Description. Features. Applications. Typical Application REV: 00

RT A, Hysteretic, High Brightness LED Driver with Internal Switch. Features. General Description. Applications. Ordering Information

Ocean Controls KT-5198 Dual Bidirectional DC Motor Speed Controller

A4950. Full-Bridge DMOS PWM Motor Driver. Description

A3909. Dual Full Bridge Motor Driver. Description. Features and Benefits. Packages: Functional Block Diagram

AMT Dual DMOS Full-Bridge Motor Driver PACKAGE: AMT49702 AMT49702

High Performance, Constant Current Switching Regulator For 8PCS White LED In Series

Evaluation Board: H-Bridge Motor Drivers For DC Brush Motors

7I33 / 7I33TA MANUAL Quad analog servo amp interface

PARAMETER CONDITION VALUE (TYPICAL) PVIN Power Input Voltage Range Operating 20V - 28V. VIN Pin Input Voltage Range Operating 8V - 14V

Power Pulse Modulator A High Performance Versatile Square Pulse Generator

Demonstration Note for NCV Automotive Grade High-Frequency Start-Stop Boost Controller

Adafruit 16 Channel Servo Driver with Raspberry Pi

Application Note: Using the Motor Driver on the 3pi Robot and Orangutan Robot Controllers

Sweep / Function Generator User Guide

A3916. Dual DMOS Full-Bridge Motor Driver. PACKAGEs: A3916 A3916

QLG1 GPS Receiver kit

SGM2576/SGM2576B Power Distribution Switches

MP V, 3.2A, H-Bridge Motor Driver

Industrial motor controller for brushed DC motors 24 VDC

RT8477. High Voltage High Current LED Driver. Features. General Description. Applications. Ordering Information RT8477. Pin Configurations (TOP VIEW)

A4954 Dual Full-Bridge DMOS PWM Motor Driver

Power Pulse Modulator A High Performance Versatile Square Pulse Generator

Analog Servo Drive 30A8

Simple Bridge Stand Alone H-Bridge Data Sheet Revision 1 August 2005

Designated client product

VXR S SERIES 1.0 DESCRIPTION 1.1 FEATURES 1.2 COMPLIANCE 1.3 PACKAGING 1.4 SIMILAR PRODUCTS AND ACCESSORIES

Transcription:

Pololu DRV8835 Dual Motor Driver Kit for Raspberry Pi B+ Pololu DRV8835 dual motor driver board for Raspberry Pi B+, top view with dimensions. Overview This motor driver kit and its corresponding Python library make it easy to control a pair of bidirectional, brushed DC motors with a Raspberry Pi Model B+. The expansion board features Texas Instruments DRV8835 dual H-bridge motor driver IC, which allows it to operate from 1.5 V to 11 V and makes it particularly well suited for driving small, low-voltage motors. The board can deliver a continuous 1.2 A per channel and tolerate peak currents up to 1.5 A per channel for a few seconds, and the channels can be optionally configured to run in parallel to deliver twice the current to a single motor. The board ships fully populated with its SMD components, including the DRV8835 driver and a FET for reverse battery protection; header pins for interfacing with a Raspberry Pi and terminal blocks for connecting motors and power are included but are not soldered in (see the Assembly with included hardware section below).

The board uses GPIO pins 5, 6, 12, and 13 to control the motor driver, making use of the Raspberry Pi s hardware PWM outputs, although the pin mappings can be customized if the defaults are not convenient. Note that it is designed specifically for the Model B+ version of the Raspberry Pi; it is not practical to use this expansion board with a Raspberry Pi Model A or Model B due to differences in their pinout and form factor. We also have a similar DRV8835 shield for Arduinos and Arduino-compatible boards and a smaller DRV8835 carrier for those using a different controller or with tighter space constraints.

Although the DRV8835 itself works with a minimum motor supply voltage of 0 V, this board s reverse-protection circuit limits the minimum to 1.5 V. If a lower motor supply voltage is required, please consider using our DRV8835 carrier with motor power supplied through the VMM pin. Pololu DRV8835 dual motor driver board for Raspberry Pi B+, top and bottom sides. Features Dual-H-bridge motor driver: can drive two DC motors or one bipolar stepper motor Motor supply voltage: 1.5 V to 11 V Logic supply voltage 2 V to 7 V Output current: 1.2 A continuous (1.5 A peak) per motor Motor outputs can be paralleled to deliver 2.4 A continuous (3 A peak) to a single motor PWM operation up to 250 khz (ultrasonic frequencies allow for quieter motor operation) Two possible interface modes: PHASE/ENABLE (default one pin for direction, another for speed) or IN/IN (outputs mostly mirror inputs) Board can optionally power the Raspberry Pi base directly through add-on regulator (not included) Python library makes it easy to get started using this board as a motor driver expansion board GPIO pin mappings can be customized if the default mappings are not convenient Reverse-voltage protection on motor power supply Under-voltage lockout and protection against over-current and over-temperature Assembly with included hardware Before the motor driver board can be plugged into your Raspberry Pi, female headers must be soldered into the appropriate holes. The kit ships with two 17-pin 0.1 female headers that should be mounted to the bottom of the board (the side with surface-mount components). Once the kit is assembled, it should be plugged into the leftmost position on the Model B+ s GPIO header, leaving six pins exposed on the right, as shown in the picture below.

Three 2-pin, 5 mm terminal blocks are included for making easy motor and power connections to the board once they have been slid together and soldered to the six large through-holes. Alternatively, you can solder 0.1 male header pins to the smaller through-holes above the terminal block holes, or you can just solder wires directly to the board. Shorting blocks and 0.1 male headers (not included) can be used to make some of the more advanced optional modifications to the board, such as remapping the control pins or paralleling the outputs. A Raspberry Pi Model B+ is not included. Driving motors with an assembled Pololu DRV8835 Dual Motor Driver Kit for Raspberry Pi B+. A stepup/step-down regulator provides 5 V to the Raspberry Pi. Using the motor driver In the board s default state, the motor driver and Raspberry Pi are powered separately, though they share a common ground and the DRV8835 receives its logic supply voltage (VCC) from one of the Raspberry Pi s 3V3 power pins. When used this way, the Raspberry Pi must be powered via its USB Micro-B receptacle, and the motor driver board must be supplied with 1.5 V to 11 V through its large VIN and GND pads. However, the motor driver board provides a set of three through-holes where you can conveniently connect an appropriate voltage regulator, allowing the motor supply to also power the Raspberry Pi (see the Powering the Raspberry Pi from the motor driver board section below).

By default, the driver is configured to operate in PHASE/ENABLE mode, in which a PWM signal applied to the ENABLE pin determines motor speed and the digital state of the PHASE pin determines direction of motor rotation. GPIO 12 and 5 are used to control the speed and direction, respectively, of motor 1, and GPIO 13 and 6 control the speed and direction of motor 2. The table below shows how the inputs affect the outputs in this mode: Drive/brake operation in default PHASE/ENABLE mode xphase xenable MxA MxB operating mode 1 PWM L PWM reverse/brake at speed PWM % 0 PWM PWM L forward/brake at speed PWM % X 0 L L brake low (outputs shorted to ground) PHASE/ENABLE mode should be suitable for most applications. Configuring the board for IN/IN mode The operating mode of the driver is controlled by the MODE pin, which the board pulls high to VCC through a 20 kω resistor to select PHASE/ENABLE mode by default. The pin labeled MODE can be driven low (or connected directly to ground) to switch the control interface to IN/IN, which allows for slightly more advanced control options as described in the table below: Drive/coast or drive/brake operation with MODE=0 (IN/IN) xin1 xin2 MxA MxB operating mode 0 0 OPEN OPEN coast (outputs off) 0 PWM L PWM reverse/coast at speed PWM % PWM 0 PWM L forward/coast at speed PWM % PWM 1 L PWM reverse/brake at speed 100% PWM %

1 PWM PWM L forward/brake at speed 100% PWM % 1 1 L L brake low (outputs shorted to ground) IN/IN mode is generally only useful if you only care about on/off control of the motors or if you can supply PWM signals to all four inputs. Since the Raspberry Pi Model B+ only has two hardware PWM outputs, additional work (such as setting up software PWM) is necessary to achieve speed control with IN/IN mode. Configuring the board for single-channel mode (parallel outputs) In order to use the two motor channels in parallel to control a single motor, it is important to ensure that both channels will always receive the same control signals, so the reconfiguration process begins with a modification to the control inputs. First, locate the 2 4 grouping of 0.1 through-holes along the right side of the board. The traces on the underside of the PCB between each pair of holes effectively link the Raspberry Pi s GPIO pins to the DRV8835 control pins. If you want to remap one of these control pins, you can cut the desired trace with a knife and then run a wire from the inner hole to a new GPIO pin. The remapping for single-channel mode requires you cut one PWM (12 or 13) and one DIR (5 or 6) trace. If you then solder a row of header pins along the interior row of holes, you can safely connect both PWM lines together and both DIR lines together using shorting blocks. In this configuration, the two uncut Raspberry Pi control lines determine the behavior of both motor channels. The last step is to connect the output channels together. An easy way to do this is to solder wires to the two small holes labeled M2A and M2B above the motor outputs. You can then connect the M2A wire to the large M1A output pad and the M2B wire to the large M1B output pad, which in turn means you can get up to 3 A from the connection points for M2 (you can have your motor connected just to the M2A and M2B terminal blocks rather than trying to find a way to connect it to all four motor outputs). Powering the Raspberry Pi from the motor driver board On the left side of the expansion board is a set of three pins surrounded by a box and labeled 5V, GND, and VOUT. The 5V pin is connected to the Raspberry Pi s 5V power rail, while the VOUT pin provides access to the driver board s motor supply voltage after reverse-voltage protection. If a suitable voltage regulator is connected to these three pins, it can generate 5 V to power the Raspberry Pi from the board s motor supply voltage. We suggest using our S7V7F5 switching step-up/step-down regulator, which has a 2.7 V to 11.8 V input voltage range (similar to that of the DRV8835) and can supply up to 1 A of current to the Raspberry Pi.

S7V7F5 step-up/step-down regulator connected to an assembled Pololu DRV8835 Dual Motor Driver Kit for Raspberry Pi B+. When adding a voltage regulator to the motor driver board, take care to orient it correctly: note that the motor driver board s VOUT pin should connect to the regulator s VIN pin, while the regulator s VOUT pin should connect to the motor driver board s 5V pin. There are several considerations to keep in mind when powering the Raspberry Pi through a voltage regulator in this way: You must never connect a different power supply to the Raspberry Pi (including through its USB Micro-B receptacle) while the regulator is connected, as doing so will create a short between the voltage regulator s output and the external power supply that could permanently damage the Raspberry Pi, the regulator, and/or the power supply. Your motor power supply must be an acceptable voltage for your regulator (as well as for the DRV8835).

The regulator should be able to handle the power requirements of the Raspberry Pi. The Model B+ typically uses a few hundred milliamps at 5 V, although its current draw can exceed 1 A if it is also supplying power to USB devices and other peripherals. While linear regulators like the 7805 might fit in the regulator mounting location, they could generate excessive heat or shut down at higher input voltages and output currents. We recommend using a switching regulator (like our S7V7F5, as mentioned above). Real-world power dissipation considerations The DRV8835 datasheet recommends a maximum continuous current of 1.5 A per motor channel. However, the chip by itself will overheat at lower currents. For example, in our tests at room temperature with no forced air flow, the chip was able to deliver 1.5 A per channel for approximately 15 seconds before the chip s thermal protection kicked in and disabled the motor outputs, while a continuous current of 1.2 A per channel was sustainable for many minutes without triggering a thermal shutdown. The actual current you can deliver will depend on how well you can keep the motor driver cool. Our tests were conducted at 100% duty cycle; PWMing the motor will introduce additional heating proportional to the frequency. This product can get hot enough to burn you long before the chip overheats. Take care when handling this product and other components connected to it. Schematic diagram Pololu DRV8835 Dual Motor Driver Kit for Raspberry Pi B+ schematic diagram. This schematic is also available as a downloadable pdf (215k pdf). Documentation on producer website.