The Gearmotor Wheels Right is a geared DC motor with an attached wheel designed specifically for the right side of mobile robots or devices. This component is essential for providing motion and directional control, allowing the robot to move forward, backward, and turn. Common applications include hobbyist robotics projects, educational platforms, and prototyping for mobile devices.
Parameter | Value |
---|---|
Operating Voltage | 3V to 12V DC |
Gear Ratio | Typically 48:1 to 120:1 |
No-load Speed | 90 to 200 RPM (at 6V) |
Stall Torque | 0.5 to 2 kg-cm (at 6V) |
Wheel Diameter | 65 mm |
Motor Type | Brushed DC Motor |
Pin Number | Description |
---|---|
1 | Motor Power (+) |
2 | Motor Power (-) |
To use the Gearmotor Wheels Right in a circuit:
#include <Arduino.h>
// Define motor control pins
const int motorPin1 = 3; // Motor control pin 1
const int motorPin2 = 4; // Motor control pin 2
void setup() {
// Set motor control pins as outputs
pinMode(motorPin1, OUTPUT);
pinMode(motorPin2, OUTPUT);
}
void loop() {
// Rotate the motor clockwise
digitalWrite(motorPin1, HIGH);
digitalWrite(motorPin2, LOW);
delay(1000); // Run for 1 second
// Stop the motor
digitalWrite(motorPin1, LOW);
digitalWrite(motorPin2, LOW);
delay(1000); // Stop for 1 second
// Rotate the motor counterclockwise
digitalWrite(motorPin1, LOW);
digitalWrite(motorPin2, HIGH);
delay(1000); // Run for 1 second
// Repeat the cycle
}
Q: Can I run the motor directly from an Arduino pin? A: No, the Arduino pins cannot supply enough current for the motor. Use a motor driver to control the motor.
Q: What is the maximum voltage I can apply to the motor? A: The maximum recommended voltage is 12V DC. Exceeding this voltage may damage the motor.
Q: How do I reverse the direction of the motor? A: To reverse the direction, reverse the polarity of the motor power connections. This can be done using an H-bridge or motor driver.
Q: Can I use PWM to control the speed of the motor? A: Yes, you can use PWM on the control inputs of the motor driver to vary the speed of the motor.
Q: How do I attach the wheel to the motor shaft? A: The wheel typically comes with a set screw that can be tightened onto the flat side of the motor shaft. Ensure it is secure before operation.