Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use DRV8835 Shield Carrier: Examples, Pinouts, and Specs

Image of DRV8835 Shield Carrier
Cirkit Designer LogoDesign with DRV8835 Shield Carrier in Cirkit Designer

Introduction

The DRV8835 Shield Carrier, manufactured by Pololu (Part ID: DRV8835), is a compact and efficient motor driver shield designed for controlling DC motors and stepper motors. It features dual H-bridge outputs, enabling bidirectional control and speed regulation. This shield is ideal for low-voltage motor control applications and is compatible with microcontroller platforms like Arduino.

Explore Projects Built with DRV8835 Shield Carrier

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Arduino Sensor Shield with I2C LCD and Bluetooth Interface
Image of wallE: A project utilizing DRV8835 Shield Carrier in a practical application
This circuit features an Arduino Sensor Shield v5.0 interfaced with an I2C LCD Display and an HC-05 Bluetooth Module. The LCD Display is connected for power, ground, and I2C communication, allowing it to display data or messages. The HC-05 Bluetooth Module is wired for serial communication with the Arduino Sensor Shield, enabling wireless data exchange with other Bluetooth-enabled devices.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino Nano-Based Remote-Controlled Dual Motor System with LiPo Battery
Image of nano shield zkbm1: A project utilizing DRV8835 Shield Carrier in a practical application
This circuit is designed to control two GM25 DC motors using a ZK-BM1 10A motor driver, which is managed by a NANO Shield Board. The NANO Shield Board receives input signals from an R6FG receiver and is powered by an 11.1V LiPo battery.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino Sensor Shield Controlled Servo Motors
Image of robotarm_sensorshield: A project utilizing DRV8835 Shield Carrier in a practical application
This circuit utilizes an Arduino Sensor Shield v5.0 to interface with two types of servo motors: an SG90 servo motor and two MG996R servo motors. The SG90 is connected to pin 6 of the shield for PWM control, power (5V), and ground. Each MG996R servo motor is similarly connected to pins 4 and 5 of the shield for PWM control, power, and ground, allowing for independent control of the servo motors via the Arduino platform.
Cirkit Designer LogoOpen Project in Cirkit Designer
Bluetooth-Controlled Robotic Vehicle with Adafruit Motor Shield
Image of motor: A project utilizing DRV8835 Shield Carrier in a practical application
This circuit is a motor control system that uses an Adafruit Motor Shield to drive four hobby motors, with additional sensors including an IR sensor, an ultrasonic sensor, a metal detector, and a Bluetooth module for remote communication. The system is powered by a battery case and controlled via a rocker switch.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with DRV8835 Shield Carrier

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of wallE: A project utilizing DRV8835 Shield Carrier in a practical application
Arduino Sensor Shield with I2C LCD and Bluetooth Interface
This circuit features an Arduino Sensor Shield v5.0 interfaced with an I2C LCD Display and an HC-05 Bluetooth Module. The LCD Display is connected for power, ground, and I2C communication, allowing it to display data or messages. The HC-05 Bluetooth Module is wired for serial communication with the Arduino Sensor Shield, enabling wireless data exchange with other Bluetooth-enabled devices.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of nano shield zkbm1: A project utilizing DRV8835 Shield Carrier in a practical application
Arduino Nano-Based Remote-Controlled Dual Motor System with LiPo Battery
This circuit is designed to control two GM25 DC motors using a ZK-BM1 10A motor driver, which is managed by a NANO Shield Board. The NANO Shield Board receives input signals from an R6FG receiver and is powered by an 11.1V LiPo battery.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of robotarm_sensorshield: A project utilizing DRV8835 Shield Carrier in a practical application
Arduino Sensor Shield Controlled Servo Motors
This circuit utilizes an Arduino Sensor Shield v5.0 to interface with two types of servo motors: an SG90 servo motor and two MG996R servo motors. The SG90 is connected to pin 6 of the shield for PWM control, power (5V), and ground. Each MG996R servo motor is similarly connected to pins 4 and 5 of the shield for PWM control, power, and ground, allowing for independent control of the servo motors via the Arduino platform.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of motor: A project utilizing DRV8835 Shield Carrier in a practical application
Bluetooth-Controlled Robotic Vehicle with Adafruit Motor Shield
This circuit is a motor control system that uses an Adafruit Motor Shield to drive four hobby motors, with additional sensors including an IR sensor, an ultrasonic sensor, a metal detector, and a Bluetooth module for remote communication. The system is powered by a battery case and controlled via a rocker switch.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Robotics: Driving small DC motors for wheels or actuators.
  • Automation: Controlling stepper motors in precision systems.
  • DIY Projects: Building motorized mechanisms such as conveyor belts or robotic arms.
  • Educational Projects: Learning motor control and PWM (Pulse Width Modulation) techniques.

Technical Specifications

The DRV8835 Shield Carrier is designed to provide reliable motor control with the following specifications:

Key Technical Details

Parameter Value
Operating Voltage Range 2 V to 11 V
Continuous Output Current 1.2 A per channel (2.4 A total)
Peak Output Current 1.5 A per channel (short duration)
Control Interface PWM and direction pins
Logic Voltage Range 1.8 V to 7 V
Motor Channels 2 (independent or combined for stepper)
Dimensions 1.9" × 0.9" × 0.1" (without headers)
Weight 1.2 g (without headers)

Pin Configuration and Descriptions

The DRV8835 Shield Carrier has the following pin layout:

Motor Control Pins

Pin Name Description
M1A Motor 1 output A
M1B Motor 1 output B
M2A Motor 2 output A
M2B Motor 2 output B

Control and Power Pins

Pin Name Description
VIN Motor power supply (2 V to 11 V)
GND Ground
VCC Logic voltage supply (1.8 V to 7 V)
DIR1 Direction control for Motor 1
PWM1 Speed control (PWM) for Motor 1
DIR2 Direction control for Motor 2
PWM2 Speed control (PWM) for Motor 2

Usage Instructions

How to Use the Component in a Circuit

  1. Power Supply: Connect the motor power supply to the VIN pin (2 V to 11 V) and ground to the GND pin. Ensure the supply voltage matches the motor's requirements.
  2. Logic Voltage: Provide a logic voltage (1.8 V to 7 V) to the VCC pin. This is typically supplied by the microcontroller.
  3. Motor Connections: Connect the motors to the M1A, M1B, M2A, and M2B pins. For a single stepper motor, use both channels.
  4. Control Pins: Use the DIR1, PWM1, DIR2, and PWM2 pins to control motor direction and speed. These pins can be connected to a microcontroller's GPIO or PWM outputs.

Important Considerations and Best Practices

  • Heat Dissipation: The DRV8835 can handle high currents, but prolonged operation at maximum current may cause overheating. Ensure proper ventilation or heat sinking if necessary.
  • Voltage Matching: Verify that the motor voltage and current ratings are within the DRV8835's operating range.
  • PWM Frequency: Use a PWM frequency between 20 kHz and 100 kHz for optimal performance and minimal audible noise.
  • Reverse Polarity Protection: The shield does not include reverse polarity protection. Double-check connections before powering the circuit.

Example Code for Arduino UNO

The following example demonstrates how to control two DC motors using the DRV8835 Shield Carrier with an Arduino UNO.

// DRV8835 Motor Driver Example Code for Arduino UNO
// This code controls two DC motors using PWM and direction pins.

#define DIR1 7  // Direction pin for Motor 1
#define PWM1 6  // PWM pin for Motor 1
#define DIR2 4  // Direction pin for Motor 2
#define PWM2 5  // PWM pin for Motor 2

void setup() {
  // Set motor control pins as outputs
  pinMode(DIR1, OUTPUT);
  pinMode(PWM1, OUTPUT);
  pinMode(DIR2, OUTPUT);
  pinMode(PWM2, OUTPUT);
}

void loop() {
  // Motor 1: Forward at 50% speed
  digitalWrite(DIR1, HIGH);  // Set direction forward
  analogWrite(PWM1, 128);    // Set speed (0-255, 128 = 50%)

  // Motor 2: Reverse at 75% speed
  digitalWrite(DIR2, LOW);   // Set direction reverse
  analogWrite(PWM2, 192);    // Set speed (0-255, 192 = 75%)

  delay(2000);  // Run motors for 2 seconds

  // Stop both motors
  analogWrite(PWM1, 0);
  analogWrite(PWM2, 0);

  delay(1000);  // Wait for 1 second before repeating
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. Motors Not Running:

    • Verify that the power supply is connected and within the specified voltage range.
    • Check the motor connections to the M1A, M1B, M2A, and M2B pins.
    • Ensure the control pins (DIR and PWM) are correctly configured in the code.
  2. Overheating:

    • Reduce the motor load or operating current.
    • Add a heat sink or improve ventilation around the shield.
  3. Erratic Motor Behavior:

    • Check for loose or faulty connections.
    • Ensure the PWM frequency is within the recommended range (20 kHz to 100 kHz).
  4. No Response from Shield:

    • Confirm that the logic voltage (VCC) is supplied and matches the microcontroller's logic level.
    • Test the control pins with a multimeter to ensure proper signal output.

FAQs

Q: Can the DRV8835 Shield Carrier drive stepper motors?
A: Yes, the DRV8835 can drive a single bipolar stepper motor by using both motor channels. Ensure proper wiring and control sequencing.

Q: What is the maximum current the DRV8835 can handle?
A: The DRV8835 can handle up to 1.2 A continuously per channel and 1.5 A peak for short durations.

Q: Is the shield compatible with 3.3 V logic microcontrollers?
A: Yes, the DRV8835 supports logic voltages as low as 1.8 V, making it compatible with 3.3 V and 5 V systems.

Q: Can I use the shield with a Raspberry Pi?
A: Yes, the DRV8835 can be controlled by a Raspberry Pi, but additional software libraries may be required for PWM control.