Teach Your Kid Electronics

How parts work

Every part you’ll use on this site: what it does, what’s going on inside, how it sits on a breadboard, and how it’s drawn on a schematic. Looking for where to buy them? See the parts catalog.

Power and wiring

Breadboard

An empty breadboard with some of its hidden metal strips highlighted ++−−++−−aabbccddeeffgghhiijj115510101515202025253030
An empty breadboard with some of its hidden metal strips highlighted ++−−++−−aabbccddeeffgghhiijj115510101515202025253030
Each colored box is one hidden metal strip. Holes inside the same box are connected.a–e of column 5f–j of column 5 (a different strip — the middle gap separates them)a–e of column 12the whole red + railthe whole blue − rail
What it does
A board for building circuits without glue or solder. Push parts into the holes and they’re connected.
How it works
Under the holes are hidden metal strips. In each numbered column, holes a–e are joined, and holes f–j are joined. The long + and − rails along the edges are joined all the way along.
Watch out
The gap down the middle separates the two halves. The rails on the top and bottom are not joined to each other unless you add wires.

Battery pack (3×AA or 4×AA)

Battery pack (3×AA or 4×AA) on a breadboard ++−−++−−aabbccddeeffgghhiijj115510101515202025253030 AAAAAA3 × AA = 4.5 V+−
On a breadboard
+
Schematic symbol
What it does
Pushes electricity around the circuit. Three AA batteries give 4.5 volts; four give 6 volts.
How it works
Each battery pushes with 1.5 volts. Stacked end to end (in series), their pushes add up. Current comes out of the red (+) wire, goes around your circuit, and back into the black (−) wire.
Its symbol
The long thin line is the + side and the short thick line is the − side. The number next to it is how many volts it pushes.
Watch out
Never join the red and black wires with nothing in between (a short circuit). Only ever use AA batteries, never a wall socket.
Used in
Light Up an LEDPush-Button LightTwo LEDs: Series vs. ParallelDimmer KnobTraffic Light PickerDoorbell BuzzerSecret Code LockGlow That FadesSteady-Hand GameTransistor SwitchTouch SwitchNight LightRain AlarmTripwire AlarmColor MixerPing-Pong Flasher555 BlinkerSpinning FanLight ThereminFever AlarmLight MessengerLogic Gate PuzzlesFlip-Flop Memory555 Tone KeyboardBinary CounterTwo-Digit CounterLED ChaserTraffic Light ControllerElectronic DiceQuiz BuzzerReaction Timer GameClap-On LightLoudspeaker AmplifierAM RadioRobot MusclesWired RC Car

Jumper wire

Jumper wire on a breadboard ++−−++−−aabbccddeeffgghhiijj115510101515202025253030
On a breadboard
Schematic symbol
What it does
Connects two holes that aren’t in the same strip.
How it works
A wire is metal on the inside, so electricity flows straight through it. The plastic outside keeps it from touching other wires.
Its symbol
A line is a wire. Electricity can flow anywhere along it. Bends and corners don’t matter: a schematic only shows what is joined to what, not where things sit on the breadboard.
Watch out
Colors don’t change anything electrically, but using red for + and black for − makes mistakes easy to spot.
Used in
Light Up an LEDPush-Button LightTwo LEDs: Series vs. ParallelDimmer KnobTraffic Light PickerDoorbell BuzzerSecret Code LockGlow That FadesSteady-Hand GameTransistor SwitchTouch SwitchNight LightRain AlarmTripwire AlarmColor MixerPing-Pong Flasher555 BlinkerSpinning FanLight ThereminFever AlarmLight MessengerLogic Gate PuzzlesFlip-Flop Memory555 Tone KeyboardBinary CounterTwo-Digit CounterLED ChaserTraffic Light ControllerElectronic DiceQuiz BuzzerReaction Timer GameClap-On LightLoudspeaker AmplifierAM RadioRobot MusclesWired RC Car

Resistors and knobs

Resistor

Resistor on a breadboard ++−−++−−aabbccddeeffgghhiijj115510101515202025253030 220 Ω
On a breadboard
Schematic symbol
What it does
Holds current back, so delicate parts like LEDs don’t get too much.
How it works
Inside is a material that electricity finds hard to flow through. The bigger its value in ohms (Ω), the less current gets through. Colored bands tell you the value.
Its symbol
The zigzag is a resistor: it holds the current back. The number next to it is its value in ohms (Ω). Bigger number = less current.
Watch out
It doesn’t matter which way round it goes.
Used in
Light Up an LEDPush-Button LightTwo LEDs: Series vs. ParallelDimmer KnobTraffic Light PickerSecret Code LockGlow That FadesSteady-Hand GameTransistor SwitchTouch SwitchNight LightRain AlarmTripwire AlarmColor MixerPing-Pong Flasher555 BlinkerSpinning FanLight ThereminFever AlarmLight MessengerLogic Gate PuzzlesFlip-Flop Memory555 Tone KeyboardBinary CounterTwo-Digit CounterLED ChaserTraffic Light ControllerElectronic DiceQuiz BuzzerReaction Timer GameClap-On LightLoudspeaker AmplifierAM RadioRobot MusclesWired RC Car

Potentiometer (knob)

Potentiometer (knob) on a breadboard ++−−++−−aabbccddeeffgghhiijj115510101515202025253030 10kΩ
On a breadboard
Schematic symbol
What it does
A resistor you can change by turning a knob, for dimmers, volume and speed controls.
How it works
The two outside legs are the ends of a strip of resistance material. The middle leg (the wiper) slides along the strip as you turn, so the resistance between the middle and either end changes.
Its symbol
The arrow pointing at the zigzag is the middle leg (the wiper). It slides along the resistor as you turn the knob, picking off a voltage anywhere between the two ends.
Watch out
Always keep a fixed resistor in series with an LED: turned all the way, a knob can be 0 Ω.
Used in
Dimmer KnobColor MixerFever AlarmClap-On LightLoudspeaker AmplifierAM Radio

Lights

LED

LED on a breadboard ++−−++−−aabbccddeeffgghhiijj115510101515202025253030 +−
On a breadboard
Schematic symbol
What it does
A tiny light that uses very little electricity.
How it works
LED means Light-Emitting Diode. Like all diodes it only lets current through one way, and when current flows it glows. Different materials inside give different colors, and need different voltages (red about 2 V, blue about 3.2 V).
Its symbol
The triangle points the way current is allowed to flow, from the long leg (+) to the bar on the short leg (−). The little arrows are the light coming out.
Watch out
Long leg toward +. Always use a resistor (except on CD4000 chip outputs), or it burns out.
Used in
Light Up an LEDPush-Button LightTwo LEDs: Series vs. ParallelDimmer KnobTraffic Light PickerSecret Code LockGlow That FadesSteady-Hand GameTransistor SwitchTouch SwitchNight LightColor MixerPing-Pong Flasher555 BlinkerFever AlarmLight MessengerLogic Gate PuzzlesFlip-Flop MemoryBinary CounterLED ChaserTraffic Light ControllerElectronic DiceQuiz BuzzerReaction Timer GameClap-On LightRobot Muscles

7-segment display

7-segment display on a breadboard ++−−++−−aabbccddeeffgghhiijj115510101515202025253030
On a breadboard
Schematic symbol
What it does
Shows a digit, 0 to 9, for counters and clocks.
How it works
It’s seven bar-shaped LEDs (a to g) plus a dot, in one package. Light the right bars and you get any digit. In a common-cathode display all the − legs are joined to one pin.
Its symbol
A box with one pin for each bar of the number: a to g go round the outside and through the middle, and dp is the little dot. All the bars share one − leg (common cathode).
Watch out
Each bar needs its own resistor. Check yours says common cathode.
Used in
Two-Digit Counter

Switches and buttons

Push button

Push button on a breadboard ++−−++−−aabbccddeeffgghhiijj115510101515202025253030
On a breadboard
Schematic symbol
What it does
Closes the circuit only while you press it.
How it works
Its four legs are joined in pairs. Pressing pushes a metal disc across, joining the two pairs. A spring pops it back when you let go.
Its symbol
A gap in the wire with a bar above it. Pressing the button pushes the bar down onto the two dots and closes the gap. Let go and the gap opens again.
Watch out
It goes across the middle gap. If it’s always on, give it a quarter turn.
Used in
Push-Button LightDoorbell BuzzerSecret Code LockGlow That FadesTransistor SwitchSpinning FanLight MessengerLogic Gate PuzzlesFlip-Flop Memory555 Tone KeyboardTwo-Digit CounterElectronic DiceQuiz BuzzerReaction Timer GameLoudspeaker AmplifierRobot MusclesWired RC Car

Slide switch

Slide switch on a breadboard ++−−++−−aabbccddeeffgghhiijj115510101515202025253030
On a breadboard
Schematic symbol
What it does
Sends electricity one way or the other, and stays put.
How it works
The middle leg is joined to the left or right leg, depending on where the slider is.
Its symbol
The middle leg connects to one side or the other. The picture shows the side it’s set to; slide it and the line swings to the other side.
Used in
Traffic Light Picker

Touch points, mazes and sensor wires

Schematic symbol
What it does
Homemade switches: two bits of bare metal that complete the circuit when something touches both.
How it works
Anything that conducts can bridge the gap: the wand in the Steady-Hand Game, your finger, or a drop of rainwater.
Its symbol
Two open circles are bare metal ends that aren’t joined. The circuit only connects when something bridges them: a finger, a drop of water, or a wire.
Used in
Steady-Hand GameTouch SwitchRain AlarmTripwire Alarm

Storing electricity

Capacitor

Capacitor on a breadboard ++−−++−−aabbccddeeffgghhiijj115510101515202025253030 100µF
On a breadboard
+
Schematic symbol
What it does
A tiny bucket for electricity. It fills up and empties, which is how circuits make things fade, blink or beep.
How it works
Inside are two metal layers with a thin gap between them. Charge piles up on the layers when it’s connected to a battery, and flows back out later. Its size is in microfarads (µF).
Its symbol
A straight plate (+) and a curved plate (−) with a gap between them. It stores a little electricity, like a tiny bucket that fills and empties. Its size is in microfarads (µF).
Watch out
Can-shaped ones are polarized: the leg by the stripe is −. Backwards, they can get hot and pop.
Used in
Glow That FadesPing-Pong Flasher555 BlinkerLight Theremin555 Tone KeyboardBinary CounterTwo-Digit CounterLED ChaserTraffic Light ControllerElectronic DiceReaction Timer GameClap-On LightLoudspeaker AmplifierAM Radio

Transistors and diodes

Transistor (NPN)

Transistor (NPN) on a breadboard ++−−++−−aabbccddeeffgghhiijj115510101515202025253030 2N3904EBC
On a breadboard
BCE
Schematic symbol
What it does
An electronic switch: a tiny current controls a much bigger one.
How it works
A small current into the base (B) lets a big current flow from the collector (C) to the emitter (E). That’s called amplifying. We use the 2N3904, and the stronger S8050 for motors.
Its symbol
An electronic switch with three legs. A small current into the base (the line on the left) lets a much bigger current flow from the collector (top) to the emitter (bottom, the leg with the arrow).
Watch out
Flat side facing you, the legs are E, B, C from left to right.
Used in
Transistor SwitchTouch SwitchNight LightRain AlarmTripwire AlarmPing-Pong FlasherSpinning FanElectronic DiceReaction Timer Game

Diode

Diode on a breadboard ++−−++−−aabbccddeeffgghhiijj115510101515202025253030 1N4148
On a breadboard
Schematic symbol
What it does
A one-way street: current can only flow in one direction.
How it works
Current flows from the plain end to the end with the band. Backwards, it blocks the flow. Used to keep signals apart and to protect transistors from motors.
Its symbol
Like an LED without the light arrows. Current can only go the way the triangle points; it’s a one-way street for electricity.
Watch out
The band marks the − end (the cathode).
Used in
Spinning FanTraffic Light ControllerElectronic DiceAM Radio

Sensors

Light sensor (LDR)

Light sensor (LDR) on a breadboard ++−−++−−aabbccddeeffgghhiijj115510101515202025253030
On a breadboard
Schematic symbol
What it does
Notices how bright it is.
How it works
A resistor made of a material that lets more current through when light shines on it: low resistance in light, very high in the dark.
Its symbol
A resistor in a circle, with arrows pointing IN: light falling on it. The more light, the lower its resistance.
Watch out
No + or −: either way round works.
Used in
Night LightLight Theremin

Electret microphone

Electret microphone on a breadboard ++−−++−−aabbccddeeffgghhiijj115510101515202025253030 +−
On a breadboard
+
Schematic symbol
What it does
Turns sound into electricity.
How it works
Inside the little metal can is a thin, springy sheet that wobbles when sound hits it. A tiny amplifier inside turns those wobbles into a wobbling current. It needs power: a resistor from + to its + leg.
Its symbol
A circle with a thick line on one side, like the face of a microphone. Sound wobbles its electricity a tiny bit; the + leg needs a resistor to battery + to power it.
Watch out
The − leg is the one joined to the metal case. Its signal is tiny, so it needs an amplifier.
Used in
Clap-On Light

Thermistor

Thermistor on a breadboard ++−−++−−aabbccddeeffgghhiijj115510101515202025253030 NTC
On a breadboard
T°
Schematic symbol
What it does
Notices temperature.
How it works
A resistor whose value changes with heat. Ours (NTC) goes down as it warms up.
Its symbol
A box with a slanted line through it and T° (temperature). Its resistance changes as it warms up or cools down.
Watch out
No + or −: either way round works.
Used in
Fever Alarm

Sound and motion

Active buzzer

Active buzzer on a breadboard ++−−++−−aabbccddeeffgghhiijj115510101515202025253030 +
On a breadboard
+
Schematic symbol
What it does
Beeps when you connect a battery.
How it works
A thin disc inside bends a tiny bit when electricity flows. A little circuit inside switches it on and off thousands of times a second, so the disc vibrates and pushes the air: sound!
Its symbol
A box with sound waves coming off it. The + marks the leg that goes toward the battery’s + side.
Watch out
Long leg (+) toward +. A sealed black bottom means active.
Used in
Doorbell BuzzerSteady-Hand GameRain AlarmTripwire AlarmReaction Timer Game

Passive buzzer

Passive buzzer on a breadboard ++−−++−−aabbccddeeffgghhiijj115510101515202025253030 +passive
On a breadboard
+
Schematic symbol
What it does
Plays whatever note a circuit sends it, for musical projects.
How it works
The same kind of disc, but with no circuit inside. A timer chip switches it on and off: faster switching makes a higher note.
Its symbol
Drawn like a little loudspeaker cone. Unlike a buzzer it has no beep of its own: it plays whatever note the circuit wiggles it at.
Watch out
On a plain battery it only clicks. A green board underneath means passive.
Used in
Light Theremin555 Tone KeyboardLoudspeaker AmplifierAM Radio

Motor

M
Schematic symbol
What it does
Spins when current flows through it.
How it works
Coils of wire inside become magnets when current flows, and they push against fixed magnets to turn the shaft. Swap its wires and it spins the other way.
Its symbol
A circle with an M inside. Current through it makes it spin.
Watch out
It needs much more current than an LED, so let a transistor switch it, with a flyback diode to protect the transistor.
Used in
Spinning FanRobot MusclesWired RC Car

Radio

Ferrite rod antenna coil

Ferrite rod antenna coil on a breadboard ++−−++−−aabbccddeeffgghhiijj115510101515202025253030 antenna coil
On a breadboard
Schematic symbol
What it does
Picks up AM radio waves.
How it works
Fine copper wire wound many times round a rod of ferrite, a magnetic material that gathers in radio waves. Passing waves make tiny currents in the wire. With a tuning capacitor it “rings” at one station’s frequency.
Its symbol
Bumps in a line are a coil: wire wound round and round. The two lines above it mean it’s wound on a magnetic (ferrite) rod. Radio waves passing by make tiny currents in it.
Watch out
The wire has a thin clear coating: scrape the ends clean where they go into the board. Turn the rod side-on to a station to hear it best.
Used in
AM Radio

Tuning capacitor

Tuning capacitor on a breadboard ++−−++−−aabbccddeeffgghhiijj115510101515202025253030 tuning
On a breadboard
Schematic symbol
What it does
Picks which radio station you hear.
How it works
A capacitor you can change with a knob: turning it changes how much its plates overlap. That changes the frequency the coil and capacitor ring at.
Its symbol
A capacitor with an arrow through it: a capacitor you can change by turning a knob. In a radio it picks which station you hear.
Watch out
It may have more than two legs; use the two that change when you turn it.
Used in
AM Radio

Chips

NE555 timer

NE5551GND2TRIG3OUT4RESET5CTRL6THR7DIS8VCC
INOUT23
Schematic symbol
What it does
Makes timing signals: blinking lights, beeping tones and clock ticks.
How it works
A capacitor fills and empties through resistors. When it reaches ⅔ of the battery voltage the output switches off, and at ⅓ back on. Bigger resistors or capacitor mean slower ticks or lower notes.
Watch out
Use a 4×AA pack (6 V).
Used in
555 BlinkerLight Theremin555 Tone KeyboardBinary CounterTwo-Digit CounterLED ChaserTraffic Light ControllerElectronic DiceReaction Timer GameLoudspeaker Amplifier

LM393 comparator

LM3931OUT12IN1-3IN1+4GND5IN2+6IN2-7OUT28VCC
INOUT23
Schematic symbol
What it does
Decides which of two voltages is higher, for alarms that switch at a set point.
How it works
It has two comparators inside. Each compares its two inputs and switches its output to − when the − input is higher.
Used in
Fever AlarmClap-On Light

PC817 optocoupler

PC8171A2K3E4C
INOUT23
Schematic symbol
What it does
Passes a signal between two separate circuits using light.
How it works
Inside, a hidden infrared LED shines on a light-sensitive transistor. The two sides never touch.
Used in
Light Messenger

74HC08, 74HC32 and 74HC86 logic gates

74HC0811A21B31Y42A52B62Y7GND83Y93A103B114Y124A134B14VCC
INOUT23
Schematic symbol
What it does
Make yes-or-no decisions: AND (08), OR (32) and XOR (86).
How it works
Each chip has four logic gates with the same pins. A gate reads its two inputs as 1 (+) or 0 (−) and sets its output by its rule.
Watch out
Run them on 3×AA (4.5 V), not 4×AA. Never leave an input unconnected (floating).
Used in
Logic Gate Puzzles

74HC74 flip-flop

74HC7411CLR21D31CLK41PRE51Q61Q̄7GND82Q̄92Q102PRE112CLK122D132CLR14VCC
INOUT23
Schematic symbol
What it does
Remembers one bit (a 1 or a 0).
How it works
When its clock input goes from 0 to 1, it copies its D input into its memory and shows it on Q until the next clock.
Used in
Flip-Flop MemoryQuiz BuzzerClap-On Light

CD4017 decade counter

CD40171Q52Q13Q04Q25Q66Q77Q38VSS9Q810Q411Q912CO13INH14CLK15MR16VDD
INOUT23
Schematic symbol
What it does
Turns on one of ten outputs at a time, moving along one step with each clock tick.
How it works
It counts 0 to 9 and turns on the output with that number (Q0 to Q9). Connecting an output to MR (reset) makes it start over early.
Watch out
Its outputs push only about 5 mA, so LEDs can connect without resistors.
Used in
LED ChaserTraffic Light ControllerElectronic DiceReaction Timer Game

CD4520 and CD4518 counters

CD452011CLK21EN31Q141Q251Q361Q471RST8VSS92CLK102EN112Q1122Q2132Q3142Q4152RST16VDD
INOUT23
Schematic symbol
What it does
Count clock ticks and show the count in binary on four outputs (1, 2, 4 and 8).
How it works
Each chip has two counters. The CD4520 counts 0 to 15; the CD4518 counts 0 to 9 and then rolls over, for normal decimal digits.
Used in
Binary CounterTwo-Digit Counter

LM358 op-amp

LM3581OUT12IN1-3IN1+4GND5IN2+6IN2-7OUT28VCC
INOUT23
Schematic symbol
What it does
Makes small signals bigger: two general-purpose amplifiers in one chip.
How it works
Each op-amp compares its + and − inputs and swings its output to make them match. Resistors from the output back to the − input set the gain: 100 kΩ and 1 kΩ make about 100 times.
Watch out
Its output can’t quite reach the battery’s + (it stops about 1.5 V below).
Used in
Clap-On Light

LM386 audio amplifier

LM3861GAIN12IN-3IN+4GND5OUT6VS7BYPASS8GAIN8
INOUT23
Schematic symbol
What it does
Drives a speaker: makes a weak sound signal strong enough to fill a room.
How it works
It multiplies its input by 20 (or by 200 with a 10 µF capacitor between pins 1 and 8). Its output rests at half the battery voltage and swings up and down from there.
Watch out
Always connect the speaker through a big capacitor (220 µF), and start with the volume low.
Used in
Loudspeaker AmplifierAM Radio

ULN2003 driver chip

ULN20031IN12IN23IN34IN45IN56IN67IN78GND9COM10OUT711OUT612OUT513OUT414OUT315OUT216OUT1
INOUT23
Schematic symbol
What it does
Seven strong switches: tiny signals switch motors, lights and buzzers.
How it works
Each channel is a Darlington pair. A small current into an input connects the matching output to −, so a load from + to that output turns on. Protection diodes inside go from each output to COM.
Watch out
Connect COM to + when driving motors. Each output keeps about 0.9 V for itself.
Used in
Robot Muscles

DRV8833 motor driver

DRV88331OUT12OUT23OUT34OUT45GND6VCC7IN48IN39IN210IN111ULT12EEP
INOUT23
Schematic symbol
What it does
Drives two motors forwards and backwards.
How it works
It has two H-bridges: four switches around each motor that can connect either lead to + or −. Two inputs per motor pick forwards, backwards or stop.
Watch out
It comes on a small board: wire it by the pin names printed on it. EEP must go to + or it sleeps.
Used in
Wired RC Car

MK484 AM radio chip

MK484 AM radio chip on a breadboard ++−−++−−aabbccddeeffgghhiijj115510101515202025253030 MK484OIG
On a breadboard
INOUT23
Schematic symbol
What it does
A whole AM radio receiver in a tiny 3-legged package.
How it works
It amplifies the station picked by the antenna coil and tuning capacitor, and pulls out the sound riding on it. It gets its power and gives out its sound on the same OUT leg.
Watch out
It needs only about 1.3 V: more and it squeals. Legs, flat side facing you: OUT, IN, GND. The TA7642 is the same chip.
Used in
AM Radio

CD4511 display decoder

CD45111B2C3LT4BL5LE6D7A8VSS9e10d11c12b13a14g15f16VDD
INOUT23
Schematic symbol
What it does
Turns a binary number into the right bars on a 7-segment display.
How it works
It reads a number 0–9 on inputs A, B, C and D, and switches on the outputs a–g that draw that digit. Its outputs are strong enough for a bright display.
Watch out
Each output needs a resistor (we use 330 Ω).
Used in
Two-Digit Counter