14 November 2026
How Does an Electric Motor Work? Why Your Kid's Robot Can Spin
Ask your kid a simple question: what makes the fan spin? What makes a toy car move? What makes a robot's wheels turn? The answer is the same for all three: an electric motor — a device that turns electricity into spinning motion.
Electric motors are everywhere at home: in fans, washing machines, fridges, toy cars, vacuum cleaners. But for a kid learning robotics, understanding the motor is a turning point. That is the moment your child realizes a robot does not "just" know how to move — there is a specific part that turns electricity into motion, and your kid can control that part with code.
Two magnets are enough to spin
Every electric motor rests on one simple physics idea: two magnets push each other apart when the same poles face, and pull together when opposite poles face. You have seen this holding two fridge magnets: turn one around and they jump apart; turn it the right way and they snap together.
A motor uses exactly that push-and-pull game — but makes it happen over and over, hundreds of times per second.
Inside a DC motor (the kind used in toys and robots) there are three main parts:
- Two fixed magnets (called the stator), placed facing each other. They create a steady magnetic field.
- A coil of copper wire that can spin (called the rotor), sitting between the two magnets. When current flows through it, the coil becomes an electromagnet — a magnet you can switch on and off with electricity.
- A part that flips the current (called the commutator, with two brushes), which reverses the current through the coil at just the right moment.
Here is what happens. Current flows through the coil, and the coil becomes an electromagnet. Its pole is pushed away by the fixed magnet — so the coil spins half a turn to get away. At exactly that moment, the commutator flips the current. The coil's pole reverses, and it gets pushed again — spinning another half turn. And so on: the coil keeps spinning as long as there is power.
Picture pushing someone on a swing: every time the swing comes near, you give it a push. The commutator does exactly that — it "pushes" the coil at the right moment, again and again, so the coil never stops.
From a spinning coil to a rolling wheel
A spinning coil on its own does not do much. But attach a shaft to the coil, then attach a wheel to the shaft, and you have an electric car. Attach a fan blade to the shaft, and you have a fan. Attach a lever arm to the shaft, and you have a robot arm that bends up and down.
That is why the motor is the "muscle" of a robot: every movement a robot makes — rolling, turning, bending, lifting — comes down to one or more motors spinning.
One fun thing to tell your kid: an electric motor and a generator are two sides of the same device. Spin a motor by hand, and it makes electricity. Feed it electricity, and it spins. Same coil, same two magnets — only the direction of the energy changes.
A small experiment to try together: the homopolar motor
You can show your kid this idea with a five-minute experiment using things found in any home: one AA battery, one small round magnet, and a piece of copper wire.
Place the magnet on the negative end of the battery, then bend the copper wire into a U shape and rest its two ends on the two ends of the battery, so the bent part of the wire lightly touches the magnet. The copper wire will start spinning around the battery — sometimes very fast. That is a homopolar motor, the simplest version of an electric motor: current flowing through the wire inside the magnet's field creates a pushing force, and the wire spins.
This experiment is safe with an AA battery, but an adult should still sit with your kid: the copper wire can get warm after a while, and small magnets are a swallowing hazard if there is a baby in the house. Remind your kid to take the battery out when playtime is over.
What matters most after the experiment is not how long the wire spins, but the question you ask your kid: "Why does it spin? If we flip the magnet over, which way will it turn?" Let your kid try flipping the magnet and watch the wire spin the other way — that is a lesson about direction no textbook teaches as vividly.
Motors in an Arduino project: three things to know
When your kid controls a motor with Arduino, there are three practical things worth knowing in advance:
First, never plug a motor straight into an Arduino pin. A small motor can draw far more current when it starts up than an Arduino pin can handle. Plugging it in directly can damage the board. The right way is to use a transistor or an H-bridge driver as a "strong switch" in between: Arduino only gives the order, while the motor's power flows through the driver.
Second, speed is controlled with pulses (PWM). Arduino does not lower the voltage to make a motor spin slower — it switches the power on and off very fast, hundreds of times per second. On longer than off, the motor spins fast; off longer than on, it spins slowly. This technique is called PWM, and it is also how Arduino makes an LED fade in and out.
Third, reverse the spin by reversing the current. Want the wheel to spin the other way? Just swap the two wires — or, in code, tell the driver to reverse. An obstacle-avoiding robot does exactly this: when it meets a wall, it reverses one wheel, and the robot turns around.
Common mistakes — and how to fix them together
The motor does not spin. Check in this order: is the battery still charged, is any wire loose, is the driver getting the command from Arduino? Most of the time it is one loose wire — every engineer's first lesson: check the connections before blaming the code.
The motor spins but very weakly. The power source may not be strong enough: one AA battery cannot pull a motor carrying a heavy load. Try a stronger source or a smaller motor. This is also a good moment for your kid to learn: a motor needs enough electricity "food" to do heavy work.
The motor spins the wrong way. That is not a fault — just swap the two wires, or flip the command in code. Remember the magnet-flipping experiment: reverse the current and you reverse the spin.
The motor buzzes but does not turn. Usually the load is too heavy for the motor: a wheel is stuck, or the robot is too heavy. Lighten the load, or use gears to add force — and that is the subject of the next post.
From a motor to a real robot
One motor spins one shaft. A robot needs many movements at once: two wheels to go straight and turn, one motor to lift an arm, one small motor to open a gripper. Understanding one motor means understanding the first building block; stack many of those blocks together, and you have a robot.
Next time your kid switches on a fan or plays with a remote-control car, ask one question: "How many motors do you think are inside, and what is each one spinning?" That question costs nothing, but it turns a toy into a lesson — and turns your kid from a user into someone who understands how things work.
Start today, no kit needed
Your kid can try controlling a motor today on ManuStem — a browser-based robotics learning platform, no kit required, for ages 8+, with 28 lessons including 8 Component Lab lessons and 20 Competition Robot lessons, 4 of them free to try. The built-in AI co-pilot helps your kid wire circuits, write code, and debug step by step, and the 3D robot preview shows the result before it runs. Start at stem.manusignal.com — in Vietnamese or English, your kid's choice.