Intermediate · Project 9
Spinning Fan
Use a stronger transistor to switch a motor, and learn why motors need a protection diode.
Build this only with an adult present. Before you start, read our safety notice and disclaimer.
🧰 What you need
- 1×Half-size breadboardA board full of little holes with metal clips inside, so you can build circuits without soldering.
- 1×3×AA battery holder with wire leadsHolds three AA batteries in a row and gives you a red (+) and black (−) wire.
- 3×AA batteryA regular household battery. Each one gives 1.5 volts.
- 1×Push button (tactile switch)A little button with 4 legs. It connects its two sides only while you press it.
- 1×1 kΩ resistor — brown, black, red, goldColors: brown, black, red, gold.
- 1×S8050 transistor (NPN) — or BC337A stronger transistor that can switch a motor. (A BC337 works too.)
- 1×1N4001 diodeA one-way valve for electricity. The end with the silver band is the cathode (−).
- 1×TT gear motorThe yellow motor used in robot cars. Runs on 3–6 V.
- 5×Jumper wire — two long ones for the motorA short wire with stiff ends that push into the breadboard.
- 1×Piece of cardboard — or paper, for the fan bladesA base to tape things onto.
✨ The finished project
🔣 New schematic symbols
This project’s schematic has some symbols you haven’t seen before. Here’s what they mean.
- Diode
Like an LED without the light arrows. Current can only go the way the triangle points; it’s a one-way street for electricity.
- Motor
A circle with an M inside. Current through it makes it spin.
An LED needs about 10 mA. A small motor needs about 215 mA, twenty times more! A button can handle that, but in real gadgets a computer chip or sensor controls the motor, and they can’t supply that much current. The answer? A transistor: a tiny current switches the big one.
A stronger transistor
The 2N3904 from earlier projects can only handle 200 mA, so it would be working way too hard here. We use an S8050 (or BC337), which handles 500 mA or more. Same legs in the same order: flat side facing you, E, B, C.
The flyback diode
A motor is made of coils of wire (wire wound round and round, many times), and coils have a strange habit: when you suddenly switch off their current, they fight back with a big voltage spike, much bigger than the battery! That spike can damage the transistor.
The fix is a diode across the motor, pointing “backwards” (its banded end toward +). Normally it does nothing. But when the spike comes, the diode gives that energy a safe loop to swirl around in until it fades away. It’s called a flyback diode.
Make the fan
Cut a cross shape from thin cardboard (about 8 cm across), twist each arm a little, and push the center onto the motor’s shaft (the thin metal rod that spins) (or tape it to a wheel hub).
Build it
Push button: across the gap, legs in e3, f3, e5 and f5. Red wire T+3 (top red + rail, column 3) → a3.
1 kΩ resistor: b5 → b9.
Transistor (S8050): flat side facing you, E e8, B e9, C e10.
Black wire: a8 → T-7 (top blue − rail, column 7).
Diode: stand it between a10 (plain end) and T+10 (top red + rail, column 10) (banded end).
Blue wire: b10 (collector) → b13.
Motor: connect its two wires to T+16 (top red + rail, column 16) and c13. Motors don’t mind which way round; swapping them just reverses the spin.
Power: battery red into T+1, black into T-2. Press the button: whirrrr! 🌀
Not working?
- Motor doesn’t move? Give the fan a little flick when you press. Check the transistor’s legs (flat side facing you: E, B, C).
- Batteries get warm right away? Unplug immediately and check the diode’s band faces the + rail.
- Motor hums but won’t turn? The fan may be too heavy. Try a smaller fan or none.