Raspberry Pi DC Motor Driver with Encoder Board

SKU: DFR0592

The article provides an in-depth look into a Raspberry Pi DC motor driver board equipped with an encoder interface, enabling users to drive two-way DC motors effectively. Utilizing I2C communication, the board is designed for easy configuration and motor control, making it suitable for both hobbyists and professionals. Central to the board's operation is the STM32 micro-processor, which processes commands from the Raspberry Pi, converting them into precise motor drive signals. Additionally, the integration of the TB6612FNG motor drive chip allows for a continuous current of 1.2A with peaks of up to 2A, supporting a wide input voltage range of 7 to 12V. This powerful combination ensures reliable performance in various applications, offering a versatile and efficient solution for motor control needs.

Front of Raspberry Pi Motor Driver Board with Grove I/O Pins-DFRobot product sku:DFR0592 image.
  • Docs
  • Tech Specs
  • 1. rock 4se Tutorial

    This tutorial guides users through setting up and controlling DC motors using the Rock 4SE board and a motor driver HAT, with detailed instructions on hardware and software preparation, enabling i2c, and utilizing Python for motor operations.

    2. Raspberry Pi Tutorial

    This tutorial guides users through the process of controlling DC motors using a Raspberry Pi and a Motor Driver HAT. It includes detailed steps on hardware setup, enabling I2C interface, downloading necessary libraries, and executing Python commands for motor control and speed measurement. Users will learn how to operate motors with encoders and understand the significance of motor reduction ratios and PWM signal frequency. The tutorial also covers troubleshooting tips and additional resources for further learning. With practical examples and clear instructions, this guide is designed to empower enthusiasts and educators in exploring the capabilities of Raspberry Pi in robotics and automation.

    Reference

    Specification

    Parameter Details
    Main Controller STM32
    Operating Voltage 7~12V
    Logical Voltage 5V
    Motor Driver Chip TB6612FNG
    Communication Interface I2C
    Default IIC Address 0 x10
    Continuous Drive Current 2A
    Working Mode 2-way DC Motor/ 2-way DC Motor with Encoder
    2 Indicators - Power Indicator
    - Communication Status Indicator
    Dimension 65×30mm/2.56×1.18”

    Pinout

    DFR0592 DC Motor Driver HAT(V1.0) for Raspberry Pi Board Overview DFR0592 DC Motor Driver HAT(V1.0) for Raspberry Pi Board Overview
    Num Name Description
    1 + External Power Positive (7~12V)
    2 - External Power Negative
    3 E1+ Encoder E1 Positive
    4 E1- Encoder E1 Negative
    5 E1A Encoder E1 A Phase Output
    6 E1B Encoder E1 B Phase Output
    7 M1+ Motor M1 Positive
    8 M1- Motor M1 Negative
    9 M2- Motor M2 Negative
    10 M2+ Motor M2 Positive
    11 E2B Encoder E2 B Phase Output
    12 E2A Encoder E2 A Phase Output
    13 E2- Encoder E2 Negative
    14 E2+ Encoder E2 Positive

    Was this article helpful?

    TOP