

The Motortreiber (Motor Driver) is an electronic circuit designed to control the operation of motors by providing the necessary voltage and current. Manufactured by Gerui, this motor driver (Part ID: LR7843 FR120N D4184) enables precise control of motor speed and direction, making it an essential component in robotics, automation, and other motor-driven applications.








| Parameter | Value |
|---|---|
| Manufacturer | Gerui |
| Part ID | LR7843 FR120N D4184 |
| Operating Voltage Range | 5V to 36V |
| Maximum Current | 15A (continuous), 30A (peak) |
| Control Logic Voltage | 3.3V to 5V |
| Motor Channels | 2 (dual-channel) |
| PWM Frequency | Up to 20 kHz |
| Operating Temperature | -40°C to 85°C |
The Motortreiber has the following pin configuration:
| Pin Name | Description |
|---|---|
| IN1 | Input signal for controlling Motor 1 (PWM) |
| IN2 | Input signal for controlling Motor 1 (Direction) |
| IN3 | Input signal for controlling Motor 2 (PWM) |
| IN4 | Input signal for controlling Motor 2 (Direction) |
| ENA | Enable pin for Motor 1 |
| ENB | Enable pin for Motor 2 |
| Pin Name | Description |
|---|---|
| OUT1 | Output to Motor 1 terminal A |
| OUT2 | Output to Motor 1 terminal B |
| OUT3 | Output to Motor 2 terminal A |
| OUT4 | Output to Motor 2 terminal B |
| Pin Name | Description |
|---|---|
| VCC | Power supply for the motor driver (5V-36V) |
| GND | Ground connection |
Below is an example of how to control two motors using the Motortreiber with an Arduino UNO:
// Define motor control pins
const int ENA = 9; // Enable pin for Motor 1
const int ENB = 10; // Enable pin for Motor 2
const int IN1 = 2; // Direction pin for Motor 1
const int IN2 = 3; // PWM pin for Motor 1
const int IN3 = 4; // Direction pin for Motor 2
const int IN4 = 5; // PWM pin for Motor 2
void setup() {
// Set motor control pins as outputs
pinMode(ENA, OUTPUT);
pinMode(ENB, OUTPUT);
pinMode(IN1, OUTPUT);
pinMode(IN2, OUTPUT);
pinMode(IN3, OUTPUT);
pinMode(IN4, OUTPUT);
// Enable both motors
digitalWrite(ENA, HIGH);
digitalWrite(ENB, HIGH);
}
void loop() {
// Motor 1: Forward at 50% speed
digitalWrite(IN1, HIGH); // Set direction
analogWrite(IN2, 128); // Set speed (0-255)
// Motor 2: Reverse at 75% speed
digitalWrite(IN3, LOW); // Set direction
analogWrite(IN4, 192); // Set speed (0-255)
delay(2000); // Run motors for 2 seconds
// Stop both motors
analogWrite(IN2, 0);
analogWrite(IN4, 0);
delay(2000); // Pause for 2 seconds
}
Motors Not Running:
Overheating:
Erratic Motor Behavior:
Can I use this driver with stepper motors?
What happens if I exceed the maximum current rating?
Can I control the driver with a 3.3V microcontroller?
By following this documentation, you can effectively integrate the Gerui Motortreiber (LR7843 FR120N D4184) into your projects for reliable motor control.