A little curiosity. A whole lot of making.Robotics, CNC & connected ideas
robodatech.
← Learning library
Build & understand

DC Motor

A DC motor spins when current flows through coils inside a magnetic field. Reversing polarity reverses direction. Changing voltage or PWM duty cycle changes speed.

Electrical energy → controlled motionDRIVERSHAFTTorque × speed = mechanical power
Concept illustration. Check the component datasheet before wiring.
Try it yourself

Change an input.
See what follows.

A simplified learning model. Values describe the model, not a connected robot.

Working Principle

A DC motor spins when current flows through coils inside a magnetic field. Reversing polarity reverses direction. Changing voltage or PWM duty cycle changes speed.

Step by Step

  1. Battery supplies electrical energy.
  2. Current creates a magnetic field in the coil.
  3. Magnetic force turns the shaft.
  4. A driver circuit controls direction and speed.
Electrical energy → controlled motionDRIVERSHAFTTorque × speed = mechanical power
Concept illustration; component appearance and scale are simplified.

Practical learning notes

Key idea

A DC motor speed changes with voltage and load. Direction changes when current through the motor is reversed.

Use in robot

Arduino Nano cannot drive BO motors directly. Use L293D or another motor driver to switch motor current.

Safe wiring

Expect higher stall current when a wheel is blocked. Test with wheels lifted and avoid holding a stalled motor.

Classroom check

Run PWM values 80, 150, and 220 and observe that speed is not perfectly linear because friction and load matter.

Take the next step

Where this is used

Explore real robotics applications, from mobile robots to inspection and joint motion. Define a measurable target and test one change at a time.

Good ideas start here.

Free robotics lessons, CNC build notes and product updates. Confirm your email to join. Unsubscribe anytime.