Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use motor and wheels: Examples, Pinouts, and Specs

Image of motor and wheels
Cirkit Designer LogoDesign with motor and wheels in Cirkit Designer

Introduction

  • The motor and wheels component is a fundamental part of robotics and automation systems. It consists of a motor (typically a DC motor or stepper motor) paired with wheels to enable movement and mobility in robotic platforms or vehicles.
  • Common applications include robotic cars, automated guided vehicles (AGVs), line-following robots, and other mobile robotic systems.

Explore Projects Built with motor and wheels

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Battery-Powered Dual Gearmotor Drive System
Image of electric car: A project utilizing motor and wheels in a practical application
This circuit consists of a 6V battery pack connected in parallel to two DC gearmotors, one for the left wheel and one for the right wheel of a vehicle. The battery provides power directly to both motors, enabling them to run simultaneously. As there is no control circuitry or microcontroller code provided, the motors will run continuously when the circuit is powered.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino-Controlled Robotic Vehicle with IR Sensors and L298N Motor Driver
Image of xe do line: A project utilizing motor and wheels in a practical application
This circuit is designed to control a pair of DC gearmotors using an L298N motor driver module, which is interfaced with an Arduino UNO microcontroller. The Arduino is also connected to a 5-channel IR sensor for input, which may be used for line tracking or obstacle detection. Power is supplied by a 9V battery connected through a 2.1mm barrel jack, and the motor driver module regulates this power to drive the left and right gearmotors for a mobile robot platform.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-CAM Controlled Wi-Fi Robot Car
Image of cam car: A project utilizing motor and wheels in a practical application
This circuit is designed to control a two-wheel motorized vehicle using an ESP32-CAM microcontroller. The ESP32-CAM is interfaced with an L298N DC motor driver to control the direction and speed of the motors attached to the wheels. Additionally, the ESP32-CAM is configured to capture images and provide WiFi connectivity for remote control via a web server with a user interface for driving commands.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32 and L298N Motor Driver-Based Wi-Fi Controlled Robotic Vehicle with GPS and Metal Detection
Image of Revolutioning Demining: AI Powered Landmine Detection: A project utilizing motor and wheels in a practical application
This circuit is a robotic vehicle control system that uses an ESP32 microcontroller to drive four DC gear motors via an L298N motor driver. It also includes a GPS module for location tracking, a metal detector for object detection, and an ESP32 CAM for capturing images or video, all powered by a 12V battery.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with motor and wheels

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of electric car: A project utilizing motor and wheels in a practical application
Battery-Powered Dual Gearmotor Drive System
This circuit consists of a 6V battery pack connected in parallel to two DC gearmotors, one for the left wheel and one for the right wheel of a vehicle. The battery provides power directly to both motors, enabling them to run simultaneously. As there is no control circuitry or microcontroller code provided, the motors will run continuously when the circuit is powered.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of xe do line: A project utilizing motor and wheels in a practical application
Arduino-Controlled Robotic Vehicle with IR Sensors and L298N Motor Driver
This circuit is designed to control a pair of DC gearmotors using an L298N motor driver module, which is interfaced with an Arduino UNO microcontroller. The Arduino is also connected to a 5-channel IR sensor for input, which may be used for line tracking or obstacle detection. Power is supplied by a 9V battery connected through a 2.1mm barrel jack, and the motor driver module regulates this power to drive the left and right gearmotors for a mobile robot platform.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of cam car: A project utilizing motor and wheels in a practical application
ESP32-CAM Controlled Wi-Fi Robot Car
This circuit is designed to control a two-wheel motorized vehicle using an ESP32-CAM microcontroller. The ESP32-CAM is interfaced with an L298N DC motor driver to control the direction and speed of the motors attached to the wheels. Additionally, the ESP32-CAM is configured to capture images and provide WiFi connectivity for remote control via a web server with a user interface for driving commands.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Revolutioning Demining: AI Powered Landmine Detection: A project utilizing motor and wheels in a practical application
ESP32 and L298N Motor Driver-Based Wi-Fi Controlled Robotic Vehicle with GPS and Metal Detection
This circuit is a robotic vehicle control system that uses an ESP32 microcontroller to drive four DC gear motors via an L298N motor driver. It also includes a GPS module for location tracking, a metal detector for object detection, and an ESP32 CAM for capturing images or video, all powered by a 12V battery.
Cirkit Designer LogoOpen Project in Cirkit Designer

Technical Specifications

Motor Specifications

Parameter Value
Motor Type DC Motor / Stepper Motor
Operating Voltage 3V - 12V (varies by model)
Rated Current 100mA - 2A (depending on load)
Torque (DC Motor) 0.1 Nm - 0.5 Nm
Speed (No Load) 100 RPM - 300 RPM

Wheel Specifications

Parameter Value
Wheel Diameter 65mm - 100mm
Wheel Material Rubber or Plastic
Axle Hole Diameter 3mm - 6mm
Tread Type Smooth or Grooved

Pin Configuration (for DC Motor)

Pin Name Description
Positive (+) Terminal Connect to positive voltage
Negative (-) Terminal Connect to ground or motor driver

Pin Configuration (for Stepper Motor)

Pin Name Description
A+ Coil A positive terminal
A- Coil A negative terminal
B+ Coil B positive terminal
B- Coil B negative terminal

Usage Instructions

How to Use the Component in a Circuit

  1. DC Motor with Wheels:

    • Connect the motor terminals to a motor driver (e.g., L298N or L293D) to control speed and direction.
    • Attach the wheels securely to the motor shaft using the provided axle or coupling.
    • Power the motor driver with an appropriate voltage source (e.g., 6V or 12V battery pack).
    • Use a microcontroller (e.g., Arduino UNO) to send control signals to the motor driver.
  2. Stepper Motor with Wheels:

    • Connect the stepper motor to a stepper motor driver (e.g., A4988 or ULN2003).
    • Attach the wheels to the motor shaft using a coupling or adapter.
    • Power the stepper motor driver with the recommended voltage and current.
    • Use a microcontroller to send step and direction signals to the driver.

Important Considerations and Best Practices

  • Ensure the motor driver can handle the current and voltage requirements of the motor.
  • Use appropriate power sources to avoid overloading the motor or driver.
  • Securely attach the wheels to prevent slippage or misalignment during operation.
  • For stepper motors, ensure proper sequencing of control signals to avoid missed steps or erratic movement.

Example Code for Arduino UNO (DC Motor with L298N Driver)

// Example code to control a DC motor with L298N motor driver
// Connect IN1 and IN2 of L298N to Arduino pins 9 and 10 respectively
// Connect ENA of L298N to Arduino pin 5 (PWM pin)

#define IN1 9  // Motor driver input 1
#define IN2 10 // Motor driver input 2
#define ENA 5  // Motor driver enable pin (PWM)

void setup() {
  pinMode(IN1, OUTPUT); // Set IN1 as output
  pinMode(IN2, OUTPUT); // Set IN2 as output
  pinMode(ENA, OUTPUT); // Set ENA as output
}

void loop() {
  // Move motor forward
  digitalWrite(IN1, HIGH); // Set IN1 high
  digitalWrite(IN2, LOW);  // Set IN2 low
  analogWrite(ENA, 150);   // Set motor speed (0-255)

  delay(2000); // Run motor for 2 seconds

  // Move motor backward
  digitalWrite(IN1, LOW);  // Set IN1 low
  digitalWrite(IN2, HIGH); // Set IN2 high
  analogWrite(ENA, 150);   // Set motor speed (0-255)

  delay(2000); // Run motor for 2 seconds

  // Stop motor
  digitalWrite(IN1, LOW);  // Set IN1 low
  digitalWrite(IN2, LOW);  // Set IN2 low
  analogWrite(ENA, 0);     // Set motor speed to 0

  delay(2000); // Wait for 2 seconds
}

Troubleshooting and FAQs

Common Issues

  1. Motor Not Spinning:

    • Check the power supply voltage and current to ensure it meets the motor's requirements.
    • Verify the connections between the motor, driver, and microcontroller.
    • Ensure the motor driver is enabled and receiving control signals.
  2. Motor Spins in the Wrong Direction:

    • Reverse the connections of the motor terminals or adjust the control signals.
  3. Stepper Motor Skipping Steps:

    • Check if the stepper motor driver is configured with the correct current limit.
    • Ensure the step and direction signals are properly timed.
  4. Wheels Slipping or Misaligned:

    • Secure the wheels tightly to the motor shaft.
    • Use wheels with better traction if operating on smooth surfaces.

FAQs

  • Can I use a single power source for both the motor and microcontroller?

    • Yes, but ensure the power source can handle the combined current draw. Use a voltage regulator if needed.
  • What is the maximum load the motor can handle?

    • This depends on the motor's torque rating. Check the datasheet for specific details.
  • Can I control the motor speed without a motor driver?

    • It is possible using a PWM signal directly, but a motor driver is recommended for better control and protection.
  • How do I calculate the required torque for my application?

    • Consider the weight of the robot, wheel diameter, and surface friction. Use the formula:
      Torque = Force × Radius, where Force = Weight × Friction Coefficient.