Level 1 · Light · project 5 of 24 · 10 min · ●○○○○
Night Pin
One 10 kΩ, one red LED, one slide — the simplest dimmer. A single big resistor runs the LED at 0.27 mA: invisible in daylight, perfect for a dark room.
new here? Start with First Light — one battery, one resistor, one LED. It teaches the loop, LED direction, and why the 220 Ω resistor matters.
What you need
- 1× 3×AA battery pack (4.5 V)
- 1× Solderless breadboard
- 4× Jumper wires
- 1× Slide switch
- 1× 10 kΩ resistor brown-black-ORANGE — ten times bigger than the 220 Ω in First Light; the biggest resistor in your Level-1 bag
- 1× Red LED (5 mm) long leg toward +, flat side toward −
you'll learn: Circuits are loops · Ohm's law · Switches · LED polarity
Circuit map
The circuit you'll build, running on the Workbench right now — shown with a resistor swapped.
simulating…
If it doesn't work
The boring ways this circuit actually breaks — check these first before you unwire everything.
- LED looks completely off in a lit room. Expected. Night Pin runs at 0.27 mA — below the eye's daylight-contrast threshold. Switch off the room lights or cup your hand around the LED; the glow should emerge. Only treat this as a fault if the LED is still dark in full darkness.
- LED is bright — comfortably visible in daylight. Wrong resistor. 10 kΩ should give 0.27 mA (pinprick). If it looks like a candle (clearly visible), you grabbed a 1 kΩ (brown-black-RED instead of brown-black-ORANGE). If it looks like First Light (fully bright), you grabbed a 220 Ω (red-red-brown). Replace with the actual 10 kΩ.
- LED pops or looks painfully bright, then dies. You wired the LED directly across the battery with no resistor, or grabbed a 100 Ω (brown-black-brown) which gives 25 mA — over the 20 mA pop threshold. Pull power, confirm the 10 kΩ is actually in the loop (not just lying nearby), and read the bands: brown-black-ORANGE. Replace the LED with a fresh one.
- LED is dark even in total darkness. Flipped LED, open slide, or disconnected rail. First, flip the LED long-leg-up and re-insert. If still dark, verify the slide is on (shouldn't matter but worth checking). If still dark, bridge the 10 kΩ with a jumper temporarily and look for ~11 mA First-Light brightness — if that lights, the fault is in the resistor; if not, the fault is elsewhere (LED, rail, or battery).
- LED flickers or fades over the course of an hour. Not expected at 0.27 mA — battery life should be months. If it's happening, your battery pack is already dying before you started, or you have an intermittent connection (loose resistor lead, slide not fully engaging). Replace batteries or re-seat the resistor.
What you're building
The smallest sensible nightstand lamp. One battery, one slide, one resistor, one LED. Flip it on and the red LED glows just enough to find a glass of water in a pitch-dark bedroom — but in daylight it looks completely off. In a dim room you can see it from several feet away; in a fully-dark room it's bright enough to read a watch face by if you lean in.
Same four parts as First Light, with one change: a 10 kΩ resistor instead of the usual 220 Ω. Fifty times bigger. The result is a current roughly fifty times smaller — a tenth of a tenth of First Light. That current is plenty for a visible glow, and nothing more.
The big idea: a single resistor can dim an LED to any brightness
In Step Up you learned that three identical resistors in parallel multiply brightness up. In Longer Loop you learned that three identical resistors in series divide it down. This project is the simplest case of either: one resistor, one lane, one LED. The size of that single resistor sets the brightness completely.
The pattern is Ohm's law — the same law from First Light, same equation, bigger R:
I = (V_battery − V_LED) ÷ R
- First Light (R = 220 Ω): I = 2.5 ÷ 220 ≈ 11 mA → fully lit, "lamp"
- Signal Pair per lane (R = 220 Ω): same, 11 mA → fully lit
- Step Up single slide (R = 1 kΩ): I = 2.5 ÷ 1 000 = 2.5 mA → "candle"
- Night Pin (R = 10 kΩ): I = 2.7 ÷ 10 000 ≈ 0.27 mA → "pinprick"
Each row of that table is the same circuit with a different R. The LED's brightness follows R. One resistor can be a torch, a candle, or a pinprick — it's all the same math.
Do the math
- Battery push: 4.5 V
- LED eats: ~1.77 V (red LEDs drop noticeably less than their 2.0 V book value at these low currents — the Shockley equation says Vf drops by ~60 mV every time current goes down 10×)
- Leftover for the 10 kΩ: 4.5 − 1.77 = 2.73 V
- Current: I = V ÷ R = 2.73 ÷ 10 000 ≈ 0.00027 A = 0.27 mA
A quarter of a milliamp. That's forty times below the LED's 20 mA pop limit — safe-with-huge-margin. It's also roughly 3× below the LED's "clearly visible in a lit room" threshold (~1 mA), which is exactly why Night Pin looks "off" by day and "on" by night: the glow is below daylight contrast but above full darkness. The eye adapts; the LED stays steady.
Why 10 kΩ in particular
Three reasons:
- It's already in your bag. You own 220 Ω, 1 kΩ, and 10 kΩ at Level 1 — the three decades of resistance that Level 1 covers. 10 kΩ is the biggest. For an LED on 4.5 V, 10 kΩ is also near the practical dimming floor — much bigger and the current drops below where even dark-adapted eyes see it. (For comparison, a 100 kΩ would give 27 µA — invisible to anyone.)
- The math is dead simple. With a 10 kΩ at 4.5 V, I ≈ V ÷ R to within 10 % without even knowing the LED's exact Vf — because the 10 kΩ eats so much more voltage than the LED does. First Light is more sensitive to exactly what Vf is; Night Pin barely cares.
- Power consumption is approximately zero. 0.27 mA × 4.5 V = 1.2 mW total. A 3×AA pack has roughly 1 500 mAh × 4.5 V = 6.7 Wh of energy. Night Pin runs 5 500 hours — seven and a half months — on one battery pack. First Light at 11 mA runs about 140 hours. The dimmer you go, the longer the batteries last.
Where you'll see this pattern
- "Power is on" LEDs on appliances. The red LED on your TV, the green one on your charger, the blue one on your wireless speaker — nearly all run at 0.5–3 mA through resistors in the 1–10 kΩ range. The LED is visible when the room is dim; otherwise it fades into the background.
- Soft bedside night lights. A tiny LED behind a frosted plastic cover, running at a milliamp or less, lasts for years on a coin cell. The resistor sets the brightness; the plastic diffuses it.
- Dim backlights for a wall clock. The faintly-glowing hands of a battery-powered wall clock use the same trick — one LED or two, a big resistor, a long-life battery.
- Decorative "fire" or "flicker" LEDs. Some novelty candles use an LED driven at a very low current from a coin cell, with a tiny chip that modulates it; the base current is in the same Night-Pin range.
The pattern is universal: when you want a glow and not a lamp, make the resistor big.
Build it
- Power column. Battery + at the top of column 1, − at the bottom. A jumper from column 1 bottom to the breadboard − rail.
- Master slide (top row). Slide switch horizontally with its left lead on the + rail (column 1) and its right lead in column 2.
- The 10 kΩ. From the slide's output in column 2, a 10 kΩ (brown-black-orange) across to column 4. Note the orange band — this is the giveaway. 220 Ω has a brown third band; 10 kΩ has orange.
- The LED. In column 5, a jumper from the resistor's right lead (column 4) to the LED's long leg at column 5. Then the red LED vertical: long leg (anode) at the top, short leg (cathode) two rows down.
- Bottom rail. A jumper from the LED's cathode row back to the breadboard − rail, and from there to the battery − terminal.
- Flip the slide on. In a lit room: squint. You might see a hint of red. Cup your hand around the LED or turn off the lights — the glow becomes clear. In full darkness it looks almost comfortable.
- Compare side by side. If you still have First Light built on another breadboard, run them next to each other. Same LED, same battery, same slide. Only the resistor is different: 220 Ω burns 25 mW and lamps at 11 mA, 10 kΩ burns 1.2 mW and glows at 0.27 mA. Visibly, First Light wins in daylight; Night Pin wins at bedtime.
Troubleshoot by trusting the dimness
Night Pin is designed to look "off" in daylight. Don't rush to replace parts just because the LED isn't bright. Confirm first:
- Switch the room lights off (or go into a closet) before deciding Night Pin is broken.
- Cup your hand around the LED to shield it from ambient light.
- Lean in — the glow is small but real.
Only if those three tests show no light at all should you suspect a fault.
🧠 Your challenge
No single right answer. That's the point.
- Swap in a 1 kΩ. You just rebuilt the single-slide version of Step Up — current jumps 10× to 2.5 mA, the "candle" brightness. The LED is now clearly visible in a lit room.
- Swap in a 220 Ω. First Light. 50× brighter than Night Pin. Three builds, one battery, three brightnesses — all driven by one resistor choice.
- Two Night Pins side by side. Build a second Night Pin with the same 10 kΩ and a yellow LED, both on the same + and − rails but with their own switches. What's the total battery current with both lit? (2 × 0.27 ≈ 0.55 mA. The pack would run roughly 1 500 mAh ÷ 0.55 mA ≈ 2 700 hours — about four months of 24/7 light from two LEDs. "Low current" scales ridiculously well.)
- Add a 10 kΩ in parallel with the existing one. R_parallel = 5 kΩ. Current doubles to ~0.54 mA. Still dim, now twice as dim. Parallel resistors drop the throttle; here they drop it by exactly half.
- Add a 10 kΩ in series. R_total = 20 kΩ. Current halves to ~0.14 mA — right on the edge of darkness-visible. Series stacks the throttle. (This is a tiny version of Longer Loop.)
- Calculate the current for a 100 kΩ. (I = 2.73 ÷ 100 000 = 0.027 mA = 27 µA. Below the visible-glow threshold even in total darkness — effectively off. 100 kΩ is Level 3's territory; 10 kΩ is the practical dim-but-still-see-it floor on 4.5 V.)
- Figure out the resistor for a 5 mA "soft lamp". (Set up Ohm's law: 2.5 ÷ 0.005 = 500 Ω. Closest standard values: 470 Ω or 560 Ω. You don't own 470 Ω or 560 Ω at Level 1 — but you own two 220 Ωs you can stack in series for 440 Ω → 5.8 mA, or three 1 kΩs in parallel for 333 Ω → 7.5 mA. The step from "I need a specific R" to "I have these in my bag" is design engineering in miniature.)
For grown-ups: safety notes
- Battery-safe with enormous margin. 0.27 mA is 74 times below the LED's 20 mA pop threshold and 185 times below the battery pack's cool-running limit. Nothing in this build gets warm. If any resistor feels warm, you've grabbed a 100 Ω (brown-black-brown) instead of a 10 kΩ (brown-black-orange) and the LED would show it — bright, not dim.
- The LED looking "off" in daylight is NOT a fault. This is the whole point of the design. New builders will replace the LED, the resistor, the switch, the battery, swearing something's broken. First try: switch off the room lights. If the LED glows in the dark, it's working as designed.
- Red LED polarity. Long leg (anode) toward the 10 kΩ, flat side (cathode) toward −. A flipped LED in Night Pin is invisible — not just dark, but you can't easily tell by brightness since it was already dim. If you can't see any glow even in total darkness with your hand cupped, flip the LED first.
- 10 kΩ is brown-black-ORANGE. It's easy to confuse with 1 kΩ (brown-black-RED) or 100 Ω (brown-black-BROWN). The third band is the giveaway: orange = 10 kΩ. A 1 kΩ in Night Pin gives 2.5 mA (Step-Up candle) — brighter than designed but still safe. A 100 Ω gives 25 mA — pops the LED immediately. Read the orange band carefully.
- Switch orientation doesn't matter, but it should sit before the resistor so you can arm/disarm without touching the LED's leg. Any slide switch works; polarity is a diode-only concept.
- Small parts stay away from pets and toddlers. Resistor leads and LED legs are the same swallow-hazard shape as every other breadboard piece. Never wire this to mains.
Checked against
Keep building
You might also like
shares ideas with this one