

The General Driver Board for Robots (Manufacturer: Waveshare, Part ID: 23730) is a versatile circuit board designed to control the motors and sensors of a robot. It provides essential interfaces and power management for various robotic components, making it an ideal choice for hobbyists, students, and professionals working on robotic projects.
This driver board simplifies the integration of motors, sensors, and other peripherals into robotic systems. It supports multiple motor types, such as DC motors and stepper motors, and includes features like overcurrent protection and voltage regulation. The board is compatible with popular microcontrollers, including Arduino and Raspberry Pi, enabling seamless control and communication.








The following table outlines the key technical details of the General Driver Board for Robots:
| Specification | Details |
|---|---|
| Manufacturer | Waveshare |
| Part ID | 23730 |
| Input Voltage Range | 6V to 12V |
| Motor Driver IC | L298N Dual H-Bridge Motor Driver |
| Maximum Motor Current | 2A per channel |
| Number of Motor Channels | 2 (supports two DC motors or one stepper motor) |
| Logic Voltage | 5V |
| Communication Interface | GPIO (compatible with Arduino, Raspberry Pi, etc.) |
| Protection Features | Overcurrent protection, thermal shutdown |
| Dimensions | 60mm x 45mm x 20mm |
| Mounting Holes | 4 mounting holes for easy integration into robotic chassis |
The pinout of the General Driver Board for Robots is as follows:
| Pin Name | Type | Description |
|---|---|---|
| VCC | Power Input | Main power supply input (6V to 12V) for motors |
| GND | Power Ground | Ground connection |
| IN1 | Control Input | Motor A control signal input 1 |
| IN2 | Control Input | Motor A control signal input 2 |
| IN3 | Control Input | Motor B control signal input 1 |
| IN4 | Control Input | Motor B control signal input 2 |
| ENA | Enable Input | Enable pin for Motor A (PWM control supported) |
| ENB | Enable Input | Enable pin for Motor B (PWM control supported) |
| 5V | Power Output | 5V regulated output for powering external devices (e.g., sensors) |
Below is an example of how to control two DC motors using the General Driver Board for Robots and an Arduino UNO:
// Define motor control pins
#define IN1 7
#define IN2 6
#define IN3 5
#define IN4 4
#define ENA 9
#define ENB 10
void setup() {
// Set motor control pins as outputs
pinMode(IN1, OUTPUT);
pinMode(IN2, OUTPUT);
pinMode(IN3, OUTPUT);
pinMode(IN4, OUTPUT);
pinMode(ENA, OUTPUT);
pinMode(ENB, OUTPUT);
// Initialize motors to stop
digitalWrite(IN1, LOW);
digitalWrite(IN2, LOW);
digitalWrite(IN3, LOW);
digitalWrite(IN4, LOW);
}
void loop() {
// Example: Drive Motor A forward and Motor B backward
digitalWrite(IN1, HIGH); // Motor A forward
digitalWrite(IN2, LOW);
digitalWrite(IN3, LOW); // Motor B backward
digitalWrite(IN4, HIGH);
// Set motor speeds using PWM
analogWrite(ENA, 150); // Motor A speed (0-255)
analogWrite(ENB, 200); // Motor B speed (0-255)
delay(2000); // Run motors for 2 seconds
// Stop motors
digitalWrite(IN1, LOW);
digitalWrite(IN2, LOW);
digitalWrite(IN3, LOW);
digitalWrite(IN4, LOW);
delay(2000); // Wait for 2 seconds
}
Motors Not Running
Overheating of the Driver Board
Erratic Motor Behavior
PWM Control Not Working
Can this board drive stepper motors?
Is the board compatible with Raspberry Pi?
What is the maximum motor voltage supported?
Can I use this board to power sensors?
By following this documentation, you can effectively integrate the General Driver Board for Robots into your robotic projects.