
The Parallax Electronic Magic Circuit Kit introduces the fundamentals of electronics by teaching students how to read engineering schematics and build five working circuits on a miniature breadboard. Explore how magnetism, infrared beam interruption, electrical conductivity through the human body, and energy stored in a supercapacitor can control an LED. Three scalable learning levels — Discover, Investigate, and Engineer — allow younger students, older learners, and aspiring engineers to successfully build the same circuits while exploring the science and mathematics at an appropriate level. No computer, programming, or previous electronics experience is required.
Before You Start
Kit Contents — Bill of Materials (Revision E)
These quantities support all five experiments when you build one circuit at a time and reuse the components. Extra resistors, jumper wires and a second red LED provide spares and flexibility for experimentation.

| Qty | Description | Parallax Part # |
|---|---|---|
| Breadboard and Power | ||
| 1 | Small white breadboard | 700-00012 |
| 1 | CR2032 3 V coin cell battery | 752-00004* |
| 1 | Protected CR2032 battery holder with leads | 753-00011* |
| 2 | 3-inch jumper wires (10 wires per bag) | 800-00016† |
| Resistors | ||
| 6 | 220 Ω resistor | 150-02210* |
| 6 | 470 Ω resistor | 150-04710* |
| 2 | 1 kΩ resistor | 150-01020* |
| 2 | 47 kΩ resistor | 150-04702* |
| 4 | 100 kΩ resistor | 150-01040* |
| 2 | 10 MΩ resistor | 150-01060* |
| LEDs and Optical Components | ||
| 2 | High-efficiency red LED | TBD |
| 1 | Infrared LED, 940 nm | TBD |
| 1 | Infrared phototransistor, 940 nm | TBD |
| Transistors | ||
| 1 | N-channel MOSFET, 2N7000TA | 153-00002* |
| 1 | NPN transistor, 2N3904 | 500-00001 |
| Capacitors | ||
| 1 | Supercapacitor, 0.1 F, 5.5 V, polarized | TBD |
| Magnetic Components | ||
| 1 | Normally open reed switch | TBD |
| 1 | Small permanent magnet | TBD |
| Packaging | ||
| 1 | Printed insert card with QR code, 3.75 × 4.75 in. | TBD |
| 1 | Clear top-seal poly bag | TBD |
* Part number pending verification. TBD = part number pending assignment or verification. † #800-00016 contains ten 3-inch jumper wires per bag; two bags provide 20 wires.
Identifying Your Resistors — Interactive Resistor Color Code Checker
Resistors limit electric current. The colored bands tell you how much resistance a resistor has, measured in ohms (Ω).
Hold your resistor with the separated tolerance band on the right (usually gold in this kit). Select its four colors from left to right to find its resistance and see whether it belongs in your kit.
The interactive checker requires JavaScript. If unavailable, use the color reference below.
| Resistance | Color bands (±5%) | Qty. |
|---|---|---|
| 220 Ω | Red · Red · Brown · Gold | 2 |
| 470 Ω | Yellow · Violet · Brown · Gold | 2 |
| 1 kΩ | Brown · Black · Red · Gold | 1 |
| 47 kΩ | Yellow · Violet · Orange · Gold | 1 |
| 100 kΩ | Brown · Black · Yellow · Gold | 2 |
| 10 MΩ | Brown · Black · Blue · Gold | 1 |
Important things to know
- Resistors have no polarity: insert either lead into either end of the circuit.
- 1 kΩ = 1,000 Ω; 1 MΩ = 1,000,000 Ω.
- A gold tolerance band means the actual resistance can be up to 5% above or below the marked value.
- In Section B, Invisible Messenger, connect two 100 kΩ resistors end to end (in series) to make 200 kΩ for R4. Do not connect anything else to their shared junction.
- These illustrations show four-band, ±5% resistors. Five-band resistors use a different color sequence. If the bands are difficult to distinguish, ask your teacher or use a multimeter with the resistor disconnected from power and isolated from other components.
How the Small Breadboard Works — Interactive Breadboard Explorer
Breadboard Explorer — Click any hole to see which other holes are electrically connected to it.
Try it yourself:
- Select C7. Notice that A7 through E7 are connected.
- Select F7. Notice that the center channel separates the two halves.
- Select C8. Notice that adjacent numbered rows are electrically isolated.
Master Engineering Schematic — Revision E

Magic Circuit Projects
Discover (Grades 3–5): Predict, observe and explain. Investigate (Grades 6–8): Measure, compare and record evidence. Engineer (Grades 9+): Apply equations, evaluate component behavior and compare calculations with measurements.
1. Touch Switch (Section A)
The mystery: Can your fingers turn on an LED without a mechanical switch?
Components
Q1 2N7000TA N-channel MOSFET; R1 220 Ω; R2 10 MΩ; LED1 red LED; two separate exposed touch wires; 3 V CR2032 and holder.
Engineering schematic

Mini breadboard layout
Reserved for a photograph or drawing of the verified physical build.
Build and test
Disconnect the battery while building. Connect +3 V to R1, then LED1 anode; connect LED1 cathode to Q1 drain. Connect Q1 source to Vss. Connect R2 between the gate and Vss. Connect Touch Pad B to the gate and Touch Pad A separately to +3 V. Do not wire the pads together. Reconnect the battery and touch both exposed ends with your fingers, then release them.
How it works
Your skin provides a resistive connection from +3 V to the gate. Skin resistance and R2 form a voltage divider. The resulting gate voltage can turn on Q1, allowing a larger current to flow through the LED. When you release the pads, R2 pulls the gate low and the LED goes out. The circuit is a resistive touch switch, not a proximity sensor. Response depends on skin resistance, battery voltage and the individual MOSFET.
Choose your learning path
Discover — Grades 3–5
Predict what happens when you touch just one pad, both pads, and neither pad. Try different fingers and compare results.
Key concepts: Conductors, insulators and electronic switching.
Your body conducts electricity!
Your body contains water and dissolved minerals that allow a tiny electrical current to pass through it. When both touch pads are connected through your fingers, the circuit can detect that connection and switch on the LED. The battery, not your body, supplies the energy that lights the LED.
Try it!
- Touch neither pad, one pad, then both pads. Predict what will happen before each test.
- Release the pads and observe the light. Does it go out?
- Use a metal paper clip, paper, plastic, aluminum foil and a rubber eraser to bridge only the two touch pads. Test one material at a time and record your results. Use only this kit's 3 V battery; never connect touch pads to household electricity.
| Material | Prediction | LED response |
|---|---|---|
| Your fingers | ||
| Metal paper clip | ||
| Paper | ||
| Plastic | ||
| Aluminum foil | ||
| Rubber eraser |
A conductor allows electrical current to pass through it. An insulator strongly resists the flow of current. The response also depends on the resistance of the material and the contact.
Think about it
Why are electrical wires made of metal but covered with plastic? Is a material that fails to light the LED necessarily a perfect insulator?
Invention challenge
Imagine a secret treasure box that responds when someone touches two metal decorations. How would you use this circuit to indicate a touch?
Investigate — Grades 6–8
Measure the gate voltage with and without touch if suitable equipment is available. A meter with 10 MΩ input resistance loads this circuit; account for that when comparing results.
Key concepts: Resistance, contact area, controlled experiments and electronic switches.
Not all conductors conduct equally well
Metal usually has low resistance. Human skin has much higher resistance, which varies with moisture, pressure and the area in contact with the pads. Develop a hypothesis: Will increasing contact area or pressure change how reliably the LED responds?
Collect evidence
Keep the battery and circuit unchanged. Repeat each test three times, changing one variable at a time. Record whether the light is off, dim or bright.
| Test condition | Trial 1 | Trial 2 | Trial 3 |
|---|---|---|---|
| Light fingertip contact | |||
| Firm fingertip contact | |||
| Larger skin contact area | |||
| Metal conductor |
Explain your results
A MOSFET is an electronically controlled switch. The skin provides a resistive connection to its gate, and the gate voltage determines how well the MOSFET conducts. The battery provides the larger current through the LED. If a multimeter is available, compare gate voltage with and without touch. A 10 MΩ meter changes the effective resistance of R2 and may change the response.
Why might this switch respond differently to two people? Explain your evidence. Do not wet the circuit or your hands.
Real-world applications
Touch lamps, control panels and musical instruments detect human interaction. Some use conductivity; many modern touchscreens instead use capacitance.
Engineer — Grades 9+
Use Vg = 3 × 10 MΩ / (Rskin + 10 MΩ) to calculate gate voltage for skin resistances of 100 kΩ, 1 MΩ and 10 MΩ. Explain why MOSFET threshold voltage does not guarantee full enhancement. Compare estimated LED current with measured current.
Key concepts: Voltage dividers, gate-to-source voltage, MOSFET threshold and Ohm's law.
MOSFETs as electronic switches
The 2N7000TA is an N-channel enhancement-mode MOSFET. Its three terminals are the gate (G), drain (D) and source (S). The insulated gate requires very little steady-state current. The gate-to-source voltage controls conduction from drain to source. Gate threshold is specified at a small test current; it is not a guarantee of low on-resistance at 3 V.
Analyze the touch network
With the source grounded, skin resistance and the 10 MΩ pull-down resistor form a divider: VGS = 3 V × 10 MΩ / (Rskin + 10 MΩ). Calculate VGS at 100 kΩ, 1 MΩ and 10 MΩ. Check your answers against approximately 2.97 V, 2.73 V and 1.50 V. Explain why the LED response may change dramatically across these conditions.
Calculate LED current
Assume VBAT = 3.0 V, LED forward voltage = 1.8 V, R1 = 220 Ω and negligible MOSFET voltage drop. I = (3.0 − 1.8)/220 = 0.00545 A = 5.45 mA. This is an idealized estimate, not a measured current. A CR2032's internal resistance, actual LED characteristics and MOSFET conduction affect it.
If suitable instruments are available, measure the battery voltage under load and the voltage across R1. Determine LED current from I = VR1/R1. A standard 10 MΩ meter connected to the gate is in parallel with R2, so it changes the divider. Explain how that affects your result.
Engineering challenge
Propose a way to improve repeatability and reliable turn-off. Explain the trade-off between a smaller pull-down resistor and sensitivity to skin resistance; test only teacher-approved changes.
2. Invisible Messenger (Section B)
The mystery: Can you interrupt a beam of invisible light to turn on a visible LED?
Components
D2 940 nm infrared LED; PT1 940 nm phototransistor; Q2 2N3904 NPN transistor; R3 1 kΩ; R4 200 kΩ (two 100 kΩ resistors in series); R5 47 kΩ; R6 220 Ω; LED2 red LED; 3 V CR2032 and holder.
Engineering schematic

Mini breadboard layout
Reserved for a photograph or drawing of the verified physical build.
Build and test
With power disconnected, wire the emitter and receiver exactly as shown. Use a 1 kΩ resistor for R3 and connect two 100 kΩ resistors in series to make R4 (200 kΩ); the junction between these two resistors has no other connection. Point D2 directly at PT1 across a short gap. Reconnect power. Block and unblock the beam with opaque card. Adjust the spacing and shield the receiver from ambient light if necessary. Verify actual transistor pinouts before building.
How it works
IR illumination causes PT1 to conduct, pulling node B1 toward Vss and reducing Q2 base drive. When the beam is blocked, R4 pulls B1 upward and R5 supplies base current to Q2. Q2 can then conduct and illuminate LED2. Actual switching contrast depends on component sensitivity and available current.
Choose your learning path
Discover — Grades 3–5
Try blocking the beam with paper, cardboard and fabric. Which materials stop the signal?
Key concepts: Infrared light, optical sensing and communication.
Invisible light is all around us
Our eyes detect many colors of light, but some wavelengths are invisible to humans. Infrared light is one example. In this circuit an infrared LED sends a beam and a phototransistor detects it. When the beam is blocked, the visible red LED should light.
Try it!
- Point the emitter and detector toward one another across a short gap. Observe the red LED with nothing between them.
- Insert your finger or a piece of cardboard in the gap, then remove it.
- Predict and test which materials block the beam. Record the red LED response. Never stare directly into the infrared emitter.
| Material | Prediction | Red LED response |
|---|---|---|
| Paper | ||
| Cardboard | ||
| Fabric | ||
| Clear plastic | ||
| Your finger |
Try viewing the infrared emitter through a smartphone camera. Some cameras display infrared as a faint white or purple glow, while others filter it out.
Think about it
Can a material look clear to your eyes but block infrared light? Can a dark-looking material transmit infrared?
Invention challenge
Imagine an invisible beam across a doorway. What could it detect? Draw your invention.
Investigate — Grades 6–8
Compare reliable beam-break distance under different lighting conditions. Record when LED2 is bright, dim or off.
Key concepts: Wavelength, distance, optical alignment, ambient light and data collection.
How far can an invisible message travel?
Develop a hypothesis about how the separation of the emitter and detector affects detection. Keep both components aligned; disconnect the battery before moving their leads. At each distance, block and unblock the beam three times. Describe the visible LED as off, dim or bright.
| Separation | Unblocked LED | Blocked LED | Reliable? |
|---|---|---|---|
| 5 mm | |||
| 10 mm | |||
| 20 mm | |||
| 30 mm | |||
| Maximum working distance |
Investigate the environment
Repeat at one working separation under normal room lighting, in a darkened room and near a bright window. Does background light affect your results? Shade the detector with paper, without blocking the beam, and repeat.
The electromagnetic spectrum
Visible light covers approximately 400–700 nanometers. The kit's emitter produces near-infrared light at about 940 nm. A nanometer is one billionth of a meter. Infrared has a longer wavelength than visible red light. A phototransistor converts incident light into an electrical response.
Analyze your results
Identify the greatest separation that produces a clear contrast between blocked and unblocked conditions. How does alignment affect the result? Explain why a detector can respond to ambient infrared as well as the emitter.
Real-world applications
Remote controls, object counters, automatic doors and industrial optical sensors all use light to communicate or detect information.
Engineer — Grades 9+
Estimate emitter current using (3 V − IR LED forward voltage)/1 kΩ. Analyze base current through R4 (200 kΩ) and R5 (47 kΩ) when PT1 is dark, and discuss why Q2 may not saturate. Measure and compare actual performance.
Key concepts: Phototransistors, base drive, optical frequency and power consumption.
Trace the signal through the circuit
Infrared illumination causes PT1 to conduct, pulling B1 toward Vss and reducing Q2 base drive. Blocking the beam decreases PT1 current; R4 pulls B1 upward and R5 supplies base current to Q2. The visible LED can then light. Follow the current paths in the schematic: D2 and R3, PT1 and the R4–R5 network, and LED2 and R6.
Calculate infrared frequency
Use f = c/λ, with c ≈ 3.0 × 108 m/s and λ = 940 × 10−9 m. The frequency is approximately 3.19 × 1014 Hz.
Estimate circuit currents
For the current Revision E schematic, R3 = 1 kΩ, R4 = 200 kΩ, R5 = 47 kΩ and R6 = 220 Ω. If D2 has a forward voltage of 1.2 V, its ideal current is (3 − 1.2)/1,000 = 1.8 mA. With PT1 dark, assume VBE ≈ 0.7 V and neglect PT1 leakage. Base current is approximately (3 − 0.7)/(200,000 + 47,000) = 9.3 µA. Explain why the resulting collector current may not be sufficient for saturation. The ideal LED branch current assuming a 1.8 V LED and negligible collector-emitter voltage is 5.45 mA; it is not necessarily achievable.
Estimate battery current when the visible LED is off. The IR emitter remains powered, and the sensing network also draws current. If a multimeter is available, measure the voltage across R3 and R6 to estimate their branch currents, and compare with your predictions.
Engineering challenge
Commercial IR systems often transmit modulated pulses rather than continuous light. Explain how a receiver designed for a particular modulation frequency could reject steady sunlight and background illumination.
3. Magnetic Trigger (Section C)
The mystery: Can a magnet turn on a light through a closed book?
Components
SW1 normally open reed switch; R7 1 kΩ; LED3 red LED; small magnet; 3 V CR2032 and holder.
Engineering schematic

Mini breadboard layout
Reserved for a photograph or drawing of the verified physical build.
Build and test
With the battery disconnected, connect +3 V to SW1, then R7, then LED3 anode. Connect the LED cathode to Vss. Reconnect power. Move a magnet toward and away from the switch. Support the reed-switch leads when bending them; do not stress the glass body.
How it works
The magnetic field draws the reed-switch contacts together, closing the circuit and allowing LED current to flow. Removing the magnet lets the contacts reopen. The field can pass through ordinary paper and cardboard.
Choose your learning path
Discover — Grades 3–5
Try activating the switch through different numbers of pages in a book. Predict the result before testing.
Key concepts: Magnetism, magnetic fields and electrical contacts.
A switch you do not have to touch
Inside the glass reed switch are two thin metal contacts. A nearby magnet's field magnetizes the reeds and can draw the contacts together. The closed contacts complete the electrical circuit.
Try it!
- Move the magnet toward the reed switch without touching the glass. Stop when the LED lights, then slowly move the magnet away.
- Hold a piece of paper, cardboard, plastic or thin wood between the magnet and the reed switch. Predict and test whether the LED lights.
- Try different numbers of pages of a book, noting when the distance becomes too great. Handle the magnet and fragile glass switch with adult supervision.
| Material | Prediction | Does the switch work? |
|---|---|---|
| Paper | ||
| Cardboard | ||
| Plastic | ||
| Thin wood |
Think about it
How can the magnet operate the switch through cardboard? Does the switch require the magnet to touch it?
Invention challenge
Design a model cabinet with a light that indicates whether its door is closed. Draw where you would mount the magnet and switch.
Investigate — Grades 6–8
Measure activation and release distances for different magnet orientations. Record the results.
Key concepts: Magnetic field orientation, measurement, averages and hysteresis.
Investigate an invisible magnetic field
Magnetic fields surround magnets and change in strength and direction with position. Use a ruler to measure the distance at which the reed switch closes while the magnet approaches, and the distance at which it opens as the magnet moves away. Keep the same reed-switch position and approach path.
| Magnet orientation | Mean closing distance (mm) | Mean opening distance (mm) |
|---|---|---|
| North pole facing switch | ||
| South pole facing switch | ||
| Side of magnet facing switch | ||
| Magnet rotated 90° |
Repeat each closing and opening measurement three times. Record individual results in your notebook, then calculate each average. Use the LED as your indicator.
Analyze the results
Does orientation influence the operating distance? Is the closing distance always the same as the opening distance? A difference in operate and release thresholds is called hysteresis. It can help prevent rapid switching near a threshold.
Use a paper spacer to test the effect of an added gap. Explain why an ordinary nonmagnetic spacer may prevent activation simply by increasing distance, rather than by blocking the field.
Real-world applications
Reed switches are used in security sensors, bicycle speedometers, door-position detectors and industrial equipment.
Engineer — Grades 9+
Estimate LED current using (3 V − LED forward voltage)/1 kΩ. Explain how magnetic field orientation and the switch's operate/release thresholds influence the results.
Key concepts: Switch models, current, power dissipation and contact bounce.
Analyze a normally open switch
Unlike the MOSFET in Section A, a reed switch uses moving physical contacts. An ideal open switch has infinite resistance; an ideal closed switch has zero resistance. Real closed contacts have finite resistance and manufacturer-specified current and voltage limits. Explain why field orientation and separate operate/release thresholds influence the measured switching distances.
Calculate circuit current and power
Using the current schematic's R7 = 1 kΩ, a 3.0 V battery, an assumed 1.8 V LED forward voltage and negligible switch resistance, I = (3.0 − 1.8)/1,000 = 1.2 mA. Resistor power P = I²R = (0.0012)² × 1,000 = 0.00144 W = 1.44 mW. The approximate battery power is 3 V × 1.2 mA = 3.6 mW while closed. An ideal open switch draws no circuit current.
Measure voltage across R7 if a multimeter is available. Calculate the actual current, and compare with your ideal estimate. What changes when the battery voltage declines?
Contact bounce
Mechanical contacts can bounce during closure, producing several brief transitions. Explain why this may not matter to a simple LED indicator but could matter if the switch drives a digital event counter. Describe how software or hardware debouncing might help.
Engineering challenge
Design a mailbox or door-position indicator. Consider magnet placement, operating distance, alignment, expected battery consumption and the possibility of accidental activation.
4. The Light That Won't Die (Section D)
The mystery: Can a light keep glowing after its battery is disconnected?
Components
R8 470 Ω; R9 470 Ω; C1 0.1 F, 5.5 V polarized supercapacitor; LED4 red LED; 3 V CR2032 and holder.
Engineering schematic

Mini breadboard layout
Reserved for a photograph or drawing of the verified physical build.
Build and test
Connect +3 V through R8 to the positive terminal of C1. Connect C1 negative to Vss. From C1 positive, connect R9 to LED4 anode, then LED4 cathode to Vss. Check capacitor polarity. Apply power and allow the capacitor to charge. Disconnect the battery without disturbing the LED or capacitor wiring. Observe the light fade.
How it works
C1 stores energy in its electric field while connected to the battery. After battery removal, C1 supplies current through R9 and LED4. As its voltage falls, the LED becomes dimmer. R8 limits charging current, and R9 limits LED current. The connected LED also loads the capacitor during charging.
Choose your learning path
Discover — Grades 3–5
Predict what happens when the battery is removed after a short charge and after a longer charge. Compare the fading times.
Key concepts: Stored electrical energy, charging, discharging and energy conversion.
An electronic energy reservoir
A capacitor stores electrical energy. A supercapacitor can store much more energy than many ordinary capacitors. Think of it like a water tank: after filling the tank, you can disconnect the water supply and still use the water. The analogy is helpful, but the supercapacitor stores electrical energy, not water.
Try it!
- With the capacitor correctly oriented, connect the battery and allow the circuit to charge.
- Disconnect the battery without removing the capacitor or LED. Observe whether the LED turns off immediately or slowly fades.
- Compare a short charge and a longer charge. Use a timer to record how long the light remains visible.
Never reverse the capacitor or short its terminals. Allow it to discharge through the circuit. Ask a teacher before changing connections.
Think about it
Where does the LED get its energy after the battery is disconnected? Why does the light eventually go out?
Invention challenge
Imagine a small emergency light that keeps glowing after its main power supply fails. What would you want the light to do?
Investigate — Grades 6–8
Record how long the LED remains visible after different charging times. Measure capacitor voltage if equipment is available.
Key concepts: Hypotheses, controlled variables, energy conversion and graphing.
Does charging longer make the LED glow longer?
Develop a hypothesis. Begin each trial with the capacitor at approximately the same low voltage; allow it to discharge through the circuit, or ask a teacher to reset it using a suitable resistor. Do not short it. Use the same lighting conditions and define a consistent end point for visible glow.
| Charging time | Glow duration (s) | Initial brightness |
|---|---|---|
| 5 s | ||
| 15 s | ||
| 30 s | ||
| 60 s | ||
| 120 s |
Repeat each trial three times and record the average. Use a stopwatch and consistent observation distance. Draw a graph with charging time on the horizontal axis and glow duration on the vertical axis. If a multimeter is available, also record the capacitor voltage just before battery removal.
Explain the energy conversion
The battery supplies electrical energy. Some energy is stored in the capacitor; resistors and the LED also dissipate energy while it charges. After battery removal, stored energy is converted to light and heat. It has changed form, not disappeared.
Analyze your evidence
Does doubling charge time double the visible glow time? What could cause a trial to vary? How would changing ambient lighting affect the measured end point?
Real-world applications
Supercapacitors are used in backup power, regenerative braking, energy harvesting and short-burst power applications.
Engineer — Grades 9+
Use E = ½CV² to calculate stored energy at the measured capacitor voltage. A 0.1 F capacitor at 3 V stores 0.45 J; actual voltage may be lower because the LED branch draws current. Explain why an LED discharge is not a simple ideal RC decay.
Key concepts: Capacitance, charge, stored energy, RC time constants and nonlinear LED behavior.
The mathematics of energy storage
Capacitance is measured in farads (F). Charge Q = CV. For C = 0.1 F at 3 V, Q = 0.3 coulombs. Stored energy E = ½CV²; at 3 V, E = ½ × 0.1 × 3² = 0.45 J. This is a theoretical upper bound at the nominal supply voltage; the actual capacitor voltage may be lower because the LED branch loads the charging circuit. Calculate stored energy from your measured capacitor voltage.
The ideal RC model
For a single resistor and capacitor, τ = RC. For a 470 Ω resistor and 0.1 F capacitor, τ = 47 s. Ideal charging from zero: VC(t) = VS(1 − e−t/RC). Ideal discharge: VC(t) = V0e−t/RC. At five time constants an ideal capacitor is about 99.3% charged or retains about 0.7% of its starting voltage.
Interactive RC Circuit Explorer
Explore an ideal 3 V resistor-capacitor circuit without an LED load. Choose a resistance and capacitance; the graph and calculated times update. These are model values, not predicted LED glow times.
Time constant: 47 s 5 time constants: 235 s
— Charging — Discharging
Without JavaScript: calculate τ = RC by hand and use the graph at its default values. After one time constant, the charging capacitor has reached 63.2% of its final voltage and the discharging capacitor retains 36.8% of its starting voltage.
Compare the model with the physical circuit
R8 limits charging current and R9 limits LED current. The LED is nonlinear and also draws current during charging. When the battery is disconnected, C1 discharges through R9 and LED4, not through an ideal resistor alone. LED brightness falls with current, and the LED ceases to be visibly lit before the capacitor voltage reaches zero. Battery internal resistance and capacitor leakage also affect results.
With a meter, record capacitor voltage at regular intervals during charging and discharging. Plot your data and compare against the ideal RC model. Explain the difference.
Engineering challenge
Predict whether increasing R9 could increase useful glow duration at the expense of initial brightness. Explain why this is not guaranteed. Test only approved resistor substitutions, keeping all other conditions unchanged.
5. The Light That Won't Die with Magnetic Trigger (Section E)
The mystery: Can a magnet turn on a light that continues glowing after the magnet is removed?
Components
SW2 normally open reed switch; R10 470 Ω; R11 470 Ω; C2 0.1 F, 5.5 V polarized supercapacitor; LED5 red LED; small magnet; 3 V CR2032 and holder.
Engineering schematic

Mini breadboard layout
Reserved for a photograph or drawing of the verified physical build.
Build and test
Connect +3 V to SW2, then R10 and C2 positive. Connect C2 negative to Vss. Connect R11 from C2 positive to LED5 anode; connect LED5 cathode to Vss. Check polarity. Apply power and hold a magnet near SW2 long enough to charge C2. Remove the magnet and observe the LED. Allow the capacitor to discharge before repeating the experiment.
How it works
This combines Sections C and D. The magnet closes SW2, allowing C2 to charge through R10 while LED5 is connected through R11. Removing the magnet opens the charging path but leaves the capacitor connected to the LED. Stored energy keeps the LED glowing until the capacitor voltage falls too low.
Choose your learning path
Discover — Grades 3–5
Compare what happens when the magnet is removed in Sections C and E. How does the capacitor change the result?
Key concepts: Magnetic event detection, energy storage and combining inventions.
Combine two discoveries
Section C showed that a magnet can operate a switch. Section D showed that a capacitor can store electrical energy. Combining these two ideas creates an indicator of a recent event.
Try it!
- Bring the magnet near the reed switch and hold it there long enough for the capacitor to charge.
- Remove the magnet. Watch the LED. Does it keep glowing after the switch opens?
- Try a short activation and a longer activation. Let the capacitor discharge safely through the circuit between tests. Compare the results with Section C.
Think about it
Does the light seem to remember that the magnet was there? What would happen if the capacitor were removed? Explain where the energy for the afterglow comes from.
Invention challenge
Make a model treasure chest with an indicator that shows someone recently moved a magnet past a hidden switch. Draw your design.
Investigate — Grades 6–8
Hold the magnet in place for several different times and record the duration of the visible afterglow. Keep the other conditions the same.
Key concepts: Systems, event duration, repeated measurements and analog state.
Investigate a system that remembers a recent event
This circuit detects a magnetic event, stores energy and provides a visible output. Investigate how activation time affects afterglow. Begin with the same discharged state, maintain consistent magnet placement and define a consistent visible-light end point.
| Magnet activation time | Trial 1 glow (s) | Trial 2 glow (s) | Trial 3 glow (s) | Mean glow (s) |
|---|---|---|---|---|
| 2 s | ||||
| 5 s | ||||
| 15 s | ||||
| 30 s | ||||
| 60 s |
Plot magnet activation time versus mean glow duration. Some brief activations may produce no visible light; record these as zero rather than omitting them.
Investigate repeated events
Activate the reed switch several times before the capacitor fully discharges. Compare this with one activation of similar total duration. Explain how repeated events can add energy to the capacitor, and why the time between events may matter.
Design a useful system
Sketch a door, cabinet or mailbox indicator. Mark the magnet, reed switch, capacitor and LED. Explain where each part belongs and how long the indicator should remain visible. This is temporary analog state, not permanent electronic memory.
Engineer — Grades 9+
Compare charging and discharging paths. Estimate the maximum initial charging current of an empty capacitor as 3 V/470 Ω (ignoring battery and switch resistance). Explain the limitations of this estimate and why charge time affects the afterglow.
Key concepts: System integration, Kirchhoff's current law, RC modeling and design specifications.
Analyze functional subsystems
Input: SW2 detects the magnet. State: C2 stores charge and its voltage represents the recent activation history. Output: LED5 and R11 produce a visible indication. The 3 V battery supplies energy through R10 when SW2 closes.
Analyze current and timing
With an initially discharged capacitor, the maximum ideal charging current is 3 V/470 Ω ≈ 6.38 mA, neglecting source and switch resistance. While the switch is closed, Kirchhoff's Current Law gives IIN = IC + ILED, ignoring leakage. With the passive sign convention IC = C dVC/dt. When the switch opens, IIN = 0 and IC = −ILED. The capacitor voltage therefore decreases.
For either 470 Ω resistor and C2 = 0.1 F, the nominal single-resistor RC time scale is 47 s. Actual charging and afterglow differ because the LED branch is connected during charging and the LED is nonlinear. Do not equate the 47 s time constant with visible glow duration.
Predict and compare modifications
| Modification | Expected effect |
|---|---|
| Larger capacitor | More stored energy at the same voltage; longer charging and potentially longer glow. |
| Larger charging resistor | Less initial charging current and slower charging; potentially lower loaded voltage. |
| Larger LED resistor | Lower LED current and brightness; may extend discharge. |
| Higher-efficiency LED | Better visibility at low current. |
| Remove capacitor | No stored-energy afterglow. |
Final engineering challenge
Set a design goal: a light that remains visibly active for at least 30 seconds after magnet removal. Choose a repeatable charging duration and viewing condition. Predict behavior, test the existing circuit, record results, and propose improvements. The target is a challenge, not a guarantee that the supplied components meet it. If extra components are needed, document them and seek teacher approval before testing.
Compare your measured and predicted results. Explain the compromises among charging time, visible brightness, energy storage and battery current. This is the iterative engineering design process.

