📘 CodingMarble Learn

Build a Dimmable Desk Lamp

A dimmer is a variable resistor in series with a lamp. Sliding a contact along a graphite rod changes how much rod the current must pass. A longer path means more resistance, less current and a dimmer lamp. A thicker rod has less resistance. A separate switch is needed to turn the lamp fully off.

🎬 Step-by-step story

  1. A plain circuit: a battery and a lamp. The lamp shines at full brightness.
  2. Now a rod is in the circuit. We slide the contact right, so current must pass through more rod. The lamp dims.
  3. We slide even further. A longer path means more resistance and less current. The lamp is dimmer still.
  4. We fit a thicker rod. Thick means less resistance, so at the same spot the lamp is brighter.
  5. Even with the whole rod used, the lamp does not go off. We need a switch. Open it and the current stops.
  6. Free play: slide the contact, swap the rod and press the switch. Watch the brightness percent.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Why is the lamp so bright with no rod?

All of the battery push goes through the lamp, so the current is as big as it can be.

Why does the lamp dim when I slide the contact?

The current has to travel through more rod. A longer path is more resistance, so less current flows.

Why does the lamp not go completely off?

The rod has only a limited resistance, so a small current still flows. A switch is needed to stop it.

Why is a thick rod brighter?

A thicker rod gives charges more room, so it has less resistance and lets more current through.

Is the dimmer wasting energy?

Yes. The energy the lamp does not use becomes heat in the rod.

What a dimmer does

A lamp is brighter when more current flows through it. A dimmer controls the current. It is a variable resistor (also called a rheostat) joined in series with the lamp. The current flows through both, one after the other.

The current is I = V ÷ (Rlamp + Rrod). If Rrod grows, I falls, and the lamp gets dimmer.

The build (use batteries only)

You need: 2 AA batteries in a holder (3 V) or 4 AA (6 V), a small torch bulb with holder, a long soft pencil lead (2B or darker) or a pencil cut in half, crocodile clip leads, and a switch (or just a loose wire).

  1. Join the battery, the bulb and one end of the pencil lead in a loop.
  2. Use a second clip as the sliding contact. Clip it on the lead and join it back to the battery.
  3. Move the clip along the lead. Watch the bulb change.
  4. Add a switch in the loop so you can turn the bulb off.

Safety: use only batteries. Never use a wall socket for a project like this.

Why length and thickness matter

Graphite is a poor conductor compared with copper. The longer the path, the more the charges are slowed. R = ρ × L ÷ A: resistance grows with length L and falls with area A (thickness).

Choose the rod to suit the lamp. If the rod is too short or thick, the dimming is tiny. If it is very long, the lamp may be very dim even at the start.

Design choices and honest limits

With a series rod, the lamp never goes completely off, because the rod always has a limited resistance. A switch is needed for that. Also, a series dimmer wastes energy: the electrical energy not used by the lamp turns into heat in the rod. The rod can get warm. Real home dimmers use electronic parts that switch the current on and off very fast instead, so they waste far less.

Draw your design, test it, then improve it: Is the dimming smooth? Is the rod warm? Does the lamp reach full brightness?

Try it

Predict, then check. (1) Mark the lead every 2 cm. Predict the brightness at each mark, then check by eye. (2) Replace the lead with a thicker one. (3) Use only two batteries instead of four. (4) Feel the rod after a minute: warm or cold? Why? Write one sentence for each.

Key formulas and definitions

Worked examples

1. A 6 V battery, a 6 Ω lamp and a 6 Ω rod are in series. Find the current.

Total R = 6 + 6 = 12 Ω. I = 6 ÷ 12 = 0.5 A.

2. For the same circuit, find the power in the lamp.

P = I² × R = 0.5² × 6 = 1.5 W. With no rod it would be 1 A and 6 W, so the lamp is at 25%.

3. A 12 cm length of pencil lead has 4 Ω. What is the resistance of 30 cm of the same lead?

R is proportional to length. 30 ÷ 12 = 2.5, so R = 2.5 × 4 = 10 Ω.

4. A rod of 18 Ω is fully used with a 6 Ω lamp on 6 V. Find the lamp power.

I = 6 ÷ 24 = 0.25 A. P = 0.25² × 6 = 0.375 W. That is about 6% of full power.

5. A thick rod has half the resistance of a thin rod of the same length. A thin rod of 12 Ω is replaced by the thick one. What is the new R?

Doubling the area halves R: 12 ÷ 2 = 6 Ω.

6. In example 2, how much power does the whole circuit take, and how much heats the rod?

Total P = V × I = 6 × 0.5 = 3 W. Lamp 1.5 W, rod = 0.5² × 6 = 1.5 W as heat. Half is wasted as heat.

Common mistakes

Practice quiz

1. A dimmer is connected to the lamp in:
2. Sliding the contact further along the rod makes the lamp:
3. A thicker rod of the same length has:
4. 6 V is across a 6 Ω lamp and a 6 Ω rod in series. The current is:
5. Which of these is NOT a good reason a series dimmer is not perfect?

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

How does a dimmer work?

It adds a variable resistance in series with the lamp. More resistance means less current, so the lamp is dimmer.

Why use pencil lead for a dimmer project?

Pencil lead is graphite. It conducts, but not very well, so a few centimetres give a useful resistance. It is cheap and safe at battery voltage.

Do home dimmers work this way?

No. They use electronic switches that cut the mains current on and off very fast. They waste much less energy than a resistor.

Where this is taught

China九年级(初三)Ch.16 Voltage and resistance

Learn first

Learn next

Related lessons

All Physics lessons