Veyron 2x25A Brush DC Motor Driver Module

SKU: DRI0021

The Veyron 2x25A Brush DC Motor Driver Module is an advanced motor driver device offering intelligent interfaces (Analog, PPM, UART) and comprehensive protection features, simplifying motor control with auto recognition and PID self-tuning.

Angled shot of Veyron 2x25A Brushed DC Motor Driver with USB and power ports-DFRobot product sku:DRI0021 image.
  • Docs
  • Tech Specs
  • 1. Getting Started

    2. Example Code for Arduino-Analog Mode Control

    It is the easiest way to run the motor in Analog Mode. Even you haven't connect the analog signal to Veyron, the motor could run once you set the Veyron in Analog Mode, actually, it regard this situation as input votage signal as 0V.And if need to control the speed, the only step needed to do is to connect a 0-5V analog signal to S1/S2 as controlling signal, the speed is adjusted according to the absolute value of input Voltage, and it would stop if the valtage is 2.5V. If you need to set some paramenters to contorl the motor more precisely, you could do as follow.

    3. Example Code for Arduino-PPM Mode Control

    In this example, the PPM signal is created by a program, you could copy that from this passage below into Arduino IDE.

    4. Example Code for Arduino-UART Mode Control

    Here, in UART mode. There are two things you can do. First one is very useful: to set some parameters and read what’s inside of Veyron. Second, you could control the motor by a program in the interface. Ready? So, let’s get start.

    Reference

    Specification

    Parameter Value
    Input voltage range DC6~36V, limit voltage 40V
    Nickel-hydride/nickel-cadmium battery 5-30 BTs
    Lithium polymer battery 2-8 BTs
    Single maximum permissible continuous current 25A(2x25A)/12A(2x12A)
    Single channel maximum allowable peak current 30A(2x25A)/20A(2x12A)

    Pinout

    Power Terminal

    Pin Description
    M1A Motor 1 wire A
    M1B Motor 1 wire B
    B+ External DC power input (+)
    B− External DC power input (−)
    M2A Motor 2 wire A
    M2B Motor 2 wire B

    Encoder Terminal

    Pin Description
    A Encoder A-phase pulse input
    B Encoder B-phase pulse input
    GND Driver logical ground
    VCC Driver 5V power output

    Communication Terminal

    Pin Description
    GND Driver logical ground
    5V Driver 5V / 1A power output
    S1 Analog mode: M1 analog input
    PPM mode: M1 PWM input
    UART mode: RX
    S2 Analog mode: M2 analog input
    PPM mode: M2 PWM input
    UART mode: TX

    Radiator fan terminal

    Radiator fan contains 2 PIN, they are 5V power output and driver’s controllable connected logical ground. Cooling fan can be directly connected to 5V ( max current 500mA ), or high-power fun controlindicator through Relay.

    Was this article helpful?

    TOP