

The MRB Planetary Gearbox Motor is a high-performance motor designed for applications requiring high torque and precise speed control. It combines a DC motor with a planetary gearbox, which provides a compact design and efficient torque transmission. This motor is widely used in robotics, automation systems, and industrial machinery due to its durability and reliability.








The MRB Planetary Gearbox Motor typically has two terminals for power input. Some models may include additional pins for encoder feedback.
| Pin | Description |
|---|---|
| Terminal 1 | Positive power input (+V). Connect to the positive terminal of the power supply. |
| Terminal 2 | Negative power input (-V). Connect to the ground of the power supply. |
| Encoder A | (Optional) Encoder signal A for speed and position feedback. |
| Encoder B | (Optional) Encoder signal B for speed and position feedback. |
| Encoder VCC | (Optional) Power supply for the encoder (typically 5V). |
| Encoder GND | (Optional) Ground connection for the encoder. |
Below is an example of controlling the MRB Planetary Gearbox Motor using an Arduino UNO and an L298N motor driver.
// Example code to control MRB Planetary Gearbox Motor with Arduino UNO
// and L298N motor driver. Adjust pin numbers as per your setup.
#define ENA 9 // PWM pin for motor speed control
#define IN1 8 // Motor direction pin 1
#define IN2 7 // Motor direction pin 2
void setup() {
pinMode(ENA, OUTPUT); // Set ENA as output
pinMode(IN1, OUTPUT); // Set IN1 as output
pinMode(IN2, OUTPUT); // Set IN2 as output
}
void loop() {
// Rotate motor forward
digitalWrite(IN1, HIGH); // Set IN1 high
digitalWrite(IN2, LOW); // Set IN2 low
analogWrite(ENA, 150); // Set speed (0-255)
delay(3000); // Run motor for 3 seconds
// Rotate motor backward
digitalWrite(IN1, LOW); // Set IN1 low
digitalWrite(IN2, HIGH); // Set IN2 high
analogWrite(ENA, 150); // Set speed (0-255)
delay(3000); // Run motor for 3 seconds
// Stop motor
digitalWrite(IN1, LOW); // Set IN1 low
digitalWrite(IN2, LOW); // Set IN2 low
analogWrite(ENA, 0); // Set speed to 0
delay(3000); // Wait for 3 seconds before repeating
}