TactivergeLite

Lite / Building Machines That Respond / Week 24

Choosing an actuator, and why pins need help

Your microcontroller pin can light an LED. Can it run a 6 W motor on its own?

About 30 min · 3 goals · Checked by automated tests · Full interactive version

Why should I care?

Microcontrollers decide; drivers deliver. Understanding the gap between a pin's milliamps and a motor's amps keeps chips alive, and a quick trade-off comparison turns 'I like servos' into a decision you can defend.

Safety: Simulation only. Real motors can pinch fingers and their supplies can deliver large currents; work with low-voltage kits under supervision.

Predict

A 6 V motor uses 6 W. A typical pin can supply about 0.012 A in this course's model. How does the motor's current compare?

  1. About the same
  2. About 80 times more
  3. Less than the pin can give
Guess first, then reveal

I = P ÷ V = 6 ÷ 6 = **1 A**, which is about 83 times the pin's 0.012 A. The pin would be destroyed long before the motor moved. A driver circuit switches the motor's own supply under the pin's command.

Discover

Use the trade-offs lab as an actuator chooser: imagine the options are a DC motor, a servo and a stepper. Set what matters most for a greenhouse vent (precision, cost, power use, simplicity) and see whether the winner changes when you change your priorities.

What the interactive shows (text version)

The trade-offs lab scores options against weighted criteria and ranks them, with must-haves checked first. In this lesson the options stand for a DC motor, a servo and a stepper, and the criteria for precision, cost, power use and simplicity. Changing the weights can change which actuator wins.

You can also open the interactive on the full site when you have a faster connection.

Understand

Power, voltage, current

Electrical power is P = V × I. Rearranged, I = P ÷ V. A 12 V, 18 W pump draws 1.5 A; a 5 V, 1.5 W fan draws 0.3 A. Small motors often draw several times their running current for a moment when starting or stalled, so drivers and supplies need extra headroom.

Pins command, drivers deliver

A pin can safely supply only milliamps. Motors need amps, and they make electrical noise and voltage spikes. So the pin sends a small logic signal to a driver (a transistor or a motor-driver chip), which switches a separate supply through the motor. A diode or the driver's built-in protection catches the spike when the motor is switched off. Servos and stepper drivers follow the same idea.

A fair comparison

List what the task needs (angle or speed? holding force? cost? power?) and score each actuator against it, as in the trade-offs lab. Write down the must-haves first: a vent that must hold 45° in wind rules out a plain DC motor without a sensor, however cheap it is.

Explain it another way

Intuitive

The microcontroller is a manager who gives orders in a whisper; the driver is a foreman who shouts them to a team of heavy lifters (the motor's power supply).

Technical

Common drivers: a logic-level MOSFET for one-direction DC motors, an H-bridge for direction control, dedicated stepper drivers with current limiting. Grounds of the logic and motor supplies are joined so the control signal has a reference.

Mathematical

I = P ÷ V; ratio to pin limit = I ÷ I_pin. Energy for t hours: E = P × t (Wh).

Applied

Robot vacuums, drones and electric bikes all separate a small logic supply from a large motor supply, with driver chips between them.

Worked example 1

A 12 V greenhouse fan is rated 3 W. Its current, and how long can it run on a 12 V, 7 Ah battery?

I = 3 ÷ 12 = 0.25 A. 7 Ah ÷ 0.25 A = 28 hours (ideal; real batteries give less).

Common mix-ups

Practice

Practice, not a test. Answers are checked on our server; a wrong answer gets a hint and another try. Nothing is saved.

A

A

times

Practice 4. Why does a motor connect through a driver with its own supply?
Practice 5. A greenhouse vent must hold 0°, 45° or 90°, against gusts, and the budget is tight. Which actuator is the sensible first choice?

Apply it

Draw a block diagram of a greenhouse fan controller: microcontroller pin → driver → fan, with a separate 12 V supply and a shared ground. Label every current and voltage you know, and calculate the fan's current from its power rating.

Reflect

Which must-have in today's decisions surprised you by ruling out an option you liked?

Write your answer on paper or in your own notes. Lite never stores what you write.

← Talking to a servo in millisecondsTimers: hardware that counts for you →