

The YF Robot Driver 2016 is a motor driver board designed for controlling DC motors and servos in robotic applications. It features multiple channels for driving motors with adjustable speed and direction, making it an ideal choice for robotics enthusiasts and professionals. This versatile component simplifies motor control, allowing users to focus on building and programming their robotic systems.








The YF Robot Driver 2016 is equipped with robust features to handle various motor control tasks. Below are its key technical specifications:
| Parameter | Value |
|---|---|
| Operating Voltage | 6V - 12V |
| Maximum Output Current | 2A per channel |
| Number of Motor Channels | 2 (for DC motors) |
| Servo Control Channels | 2 |
| PWM Frequency | Up to 20 kHz |
| Dimensions | 60mm x 50mm x 15mm |
| Pin Name | Type | Description |
|---|---|---|
| VIN | Power Input | Main power supply input (6V - 12V). |
| GND | Ground | Common ground for the board and connected devices. |
| M1+ | Output | Positive terminal for Motor 1. |
| M1- | Output | Negative terminal for Motor 1. |
| M2+ | Output | Positive terminal for Motor 2. |
| M2- | Output | Negative terminal for Motor 2. |
| EN1 | Input | Enable pin for Motor 1 (PWM signal). |
| EN2 | Input | Enable pin for Motor 2 (PWM signal). |
| DIR1 | Input | Direction control for Motor 1. |
| DIR2 | Input | Direction control for Motor 2. |
| SERVO1 | Output | Signal pin for Servo 1. |
| SERVO2 | Output | Signal pin for Servo 2. |
Below is an example code snippet for controlling two DC motors using the YF Robot Driver 2016 with an Arduino UNO:
// Define motor control pins
const int EN1 = 9; // PWM pin for Motor 1 speed
const int DIR1 = 8; // Direction pin for Motor 1
const int EN2 = 10; // PWM pin for Motor 2 speed
const int DIR2 = 7; // Direction pin for Motor 2
void setup() {
// Set motor control pins as outputs
pinMode(EN1, OUTPUT);
pinMode(DIR1, OUTPUT);
pinMode(EN2, OUTPUT);
pinMode(DIR2, OUTPUT);
}
void loop() {
// Motor 1: Forward at 50% speed
digitalWrite(DIR1, HIGH); // Set direction forward
analogWrite(EN1, 128); // Set speed (0-255)
// Motor 2: Reverse at 75% speed
digitalWrite(DIR2, LOW); // Set direction reverse
analogWrite(EN2, 192); // Set speed (0-255)
delay(2000); // Run motors for 2 seconds
// Stop both motors
analogWrite(EN1, 0);
analogWrite(EN2, 0);
delay(2000); // Wait for 2 seconds before repeating
}
Motors Not Running
Motors Running in the Wrong Direction
Servo Not Responding
Overheating
Can I use this board with stepper motors? No, the YF Robot Driver 2016 is designed for DC motors and servos only.
What is the maximum PWM frequency supported? The board supports PWM frequencies up to 20 kHz.
Can I power the board directly from an Arduino? No, the board requires a separate power supply (6V - 12V) to drive motors and servos.
By following this documentation, you can effectively integrate the YF Robot Driver 2016 into your projects and troubleshoot common issues with ease.