Chapter 1: Darkness to Light

Day 02: It's really dark in here...

Video lesson · 25 min

Emergency lighting has failed and your cabin is pitch black. Wire up an LED circuit to light your workspace. Learn how to connect LEDs with resistors on a breadboard, understand circuits, and bring light back to your crippled spacecraft.

Day 2: It's Really Dark in Here

The cruel march of time ushers in another day aboard your crippled spacecraft, and the oxygen clock continues its relentless countdown. You wake to the harsh reality of your situation — stranded in the depths of space with failing life support systems and a cabin plunged into absolute darkness.

The emergency lighting failed during yesterday's crash, leaving you fumbling through your repair kit by the faint glow of your HERO Board's status LEDs. Every shadow could hide a critical system failure, every dark corner might conceal the very component you need to survive. Your ship's AI, with its usual blend of encouragement and biting sarcasm, reminds you that time is not on your side.

But today marks a turning point. Today, you don't just survive — you fight back against the darkness. Armed with LEDs, resistors, and your trusty breadboard, you'll illuminate your cabin and take the first crucial step toward restoring your ship's systems. The difference between life and death might just come down to whether you can make a simple light blink. No pressure, Explorer.

As you suit up and prepare to dive headfirst into the world of programming, remember — knowledge is power. In this case, it's electric power, and currently, you lack both. But that's about to change. Your mission: create a prototype lighting system that will serve as the foundation for restoring your ship's cabin lights. Success means seeing the light at the end of the tunnel. Failure means... well, let's not dwell on that possibility.

What You'll Learn

When you finish this mission, you'll be able to control an LED light using your HERO Board. You'll learn how to build a simple circuit on a breadboard, write code to make lights blink in patterns, and understand the basics of how electrical signals flow through components.

This isn't just about making a light blink — you're learning the fundamental skills needed to repair your ship's lighting systems, communicate with rescue teams using light signals, and control any electrical device aboard your spacecraft. Every line of code you write brings you one step closer to restoring full power to your vessel.

Understanding LEDs and Circuits

Before we dive into building circuits, let's understand what an LED actually is. LED stands for Light Emitting Diode — think of it as a tiny, efficient light bulb that only needs a small amount of electricity to shine brightly. Unlike the old incandescent bulbs on Earth, LEDs are incredibly durable and can last for decades, making them perfect for spacecraft where replacement parts are... well, impossible to get.

A circuit is like a highway for electricity. Just as cars need a complete road to travel from point A to point B, electricity needs a complete path to flow from the power source (your HERO Board) through components (like LEDs) and back to the source. If there's a break anywhere in this path — like a drawbridge being up — electricity can't flow, and your LED won't light up.

Here's the crucial part: LEDs are picky about electricity. Too much power, and they burn out like a light bulb in a power surge. Too little, and they won't shine at all. That's where resistors come in — they're like speed bumps for electricity, slowing down the electrical flow to just the right amount. Think of a resistor as a traffic controller, ensuring the perfect amount of electricity reaches your LED to make it glow without destroying it.

The beauty of this system is control. Your HERO Board can turn this electrical flow on and off thousands of times per second, creating blinking patterns, morse code signals, or even simulating the flicker of a candle flame. In your current predicament, this simple concept becomes the foundation for communicating with rescue ships, illuminating dark corridors, and eventually restoring full power to your vessel's systems.

Meet Your Breadboard

Your breadboard is the unsung hero of spacecraft repair — a rectangular board covered in tiny holes that might look random but are actually highly organized. Think of it as a sandbox for electronics, where you can experiment with circuits without any soldering. Perfect for testing designs when your craft is precariously balanced between life and the vacuum of space.

The breadboard has two main sections: the terminal strips in the middle and the bus strips along the edges. The terminal strips are where you'll place your components — each column of holes is connected internally, so anything you plug into the same column will be electrically connected. There's a valley running down the middle that separates the left and right sides, ensuring components don't accidentally connect across this divide.

This is lesson 3 of 31 in 30 Days Lost in Space — a professionally produced Arduino course taught by Dr. Greg Lyzenga (NASA JPL scientist, Harvey Mudd professor). Each lesson features cinematic-quality video produced with a 20-30 person professional crew.

All video lessons are free to watch. Get the kit at craftingtable.com — $100 with a 30-day money-back guarantee.