30 Days Lost in Space → Help Center

Components

Resistor

Without resistors, your LEDs would fry and your circuits would short. Learn how to read their color bands and pick the right value.

What is a Resistor?

A resistor is a component that limits the flow of electrical current: the plumbing valve of electronics. It's the most common part in any circuit, and in this kit it plays two roles: protecting components (LEDs) and shaping signals (pull-downs and voltage dividers).

Ohm's Law

The one equation behind everything you'll build:

V = I × R (voltage = current × resistance)

Rearranged: I = V / R and R = V / I

Two worked examples straight from your kit:

  • LED circuit (Day 2): 5V supply − 2V LED drop = 3V across a 220Ω resistor → I = 3 / 220 ≈ 14mA. Bright and safe.
  • Pull-down (Day 3): switch ON puts 5V across a 10kΩ resistor → I = 5 / 10,000 = 0.5mA. Practically free.

Your Kit's Four Values

Your kit's 30 resistors come taped to paper strips labelled 220, 1K, 10K and 100K. Keep each one on its strip until a mission asks for it, and you never have to read a band.

| Value | Bands (five) | Where you'll use it | |-------|--------------|---------------------| | 220Ω | Red-Red-Black-Black-Brown | Current limiting for single LEDs (Days 2 to 4) and for each leg of the RGB LED (Day 8) | | 1kΩ | Brown-Black-Black-Brown-Brown | Your own experiments: an LED at about 3mA, visibly dimmer | | 10kΩ | Brown-Black-Black-Red-Brown | Pull-downs for the DIP switch (Days 3 and 4) and the photoresistor's voltage divider (Days 6 and 7) | | 100kΩ | Brown-Black-Black-Orange-Brown | Your own experiments with very small currents |

Reading the Color Bands

The kit's resistors are blue with five bands: three digits, then a multiplier, then the tolerance.

| Color | Digit | Multiplier | Tolerance | |-------|-------|-----------|-----------| | Black | 0 | ×1 | | | Brown | 1 | ×10 | ±1% | | Red | 2 | ×100 | ±2% | | Orange | 3 | ×1,000 | | | Yellow | 4 | ×10,000 | | | Green | 5 | ×100,000 | ±0.5% | | Blue | 6 | ×1,000,000 | ±0.25% | | Violet | 7 | | ±0.1% | | Gray | 8 | | | | White | 9 | | | | Gold | | ×0.1 | ±5% |

The last band on yours is brown (±1%) and usually sits a little apart from the others. Hold the resistor with that band on the right, then read left to right: Red-Red-Black-Black is 2, 2, 0, ×1 = 220Ω. Brown-Black-Black-Red is 1, 0, 0, ×100 = 10,000Ω, written 10kΩ.

Read from the wrong end, a 220Ω comes out Brown-Black-Black-Red-Red: 10kΩ, another value in the same kit. That's why the labelled strips are worth keeping.

Many other resistors, and the ones the simulator draws, have four bands: two digits, a multiplier and a gold ±5% band. In that code a 220Ω reads Red-Red-Brown-Gold and a 10kΩ Brown-Black-Orange-Gold.

What's a Pull-Down?

A digital input pin that isn't connected to anything doesn't read LOW: it floats, picking up electrical noise like a tiny antenna and reading random HIGH/LOW garbage. A pull-down resistor (10kΩ from the pin to GND) drains that noise away so the pin reads a solid LOW until the switch actually connects it to 5V. Every DIP switch in the missions is wired this way, which is why ON reads HIGH reliably.

Why 10kΩ and not a plain wire? A wire to GND would short 5V straight to ground the moment you flip the switch. 10kΩ is small enough to hold the pin LOW but big enough that switch-ON only wastes half a milliamp.

Power Rating

Your kit's resistors are rated ¼ watt (0.25W). Power dissipated = I² × R. The hottest-running resistor in any mission is the LED's 220Ω at about 0.014² × 220 ≈ 0.04W, barely a sixth of the rating. Nothing in this course will ever cook a resistor.

Combining Resistors

  • In series, values add: 220Ω + 1kΩ = 1,220Ω
  • In parallel, resistance drops: two 220Ω side by side = 110Ω

You won't need this for the missions, but it's how you improvise a value you don't have.

Tips

  • Resistors are not polarized: either direction works
  • When in doubt, go bigger: a too-large resistor means a dim LED; a too-small one means a dead LED
  • Colors hard to read? Measure with a multimeter set to Ω
  • The exact value isn't sacred for an LED: 220Ω gives about 14mA and 1kΩ about 3mA, and both light it