Day 1: Getting Set Up with HERO Board

Welcome to Cogsworth City

The brass gears of Cogsworth City tick in perfect synchrony, their mechanical heartbeat echoing through copper-lined streets. Steam hisses from ornate pipes that snake between Victorian buildings, while clockwork automatons patrol cobblestone pathways with measured precision. You stand before the Academy of Electrical Arts, its towering spires crowned with spinning weather vanes and crackling Tesla coils.

Professor Voltaire adjusts his brass goggles and gestures toward the mahogany workbench before you. "Young inventor," his voice carries the weight of a thousand experiments, "today you begin your journey into the realm of electrical mastery. But first, you must learn to speak the language of the machines."

He places a small, rectangular board on the workbench. Its surface gleams with metallic traces and mysterious components, like a miniature city waiting to come alive. "This is your HERO Board," he continues, his weathered fingers tracing the edges reverently. "Within its circuits lies the power to command light, motion, sound—all the elements that bring our mechanical world to life."

The workshop around you hums with potential energy. Glass tubes filled with colored liquids bubble mysteriously, and mechanical contraptions whir softly in the shadows. Today, you will awaken your first creation: a simple light that obeys your commands. It seems modest, but Professor Voltaire's knowing smile suggests this small victory will unlock doors to greater wonders.

The city's great clock tower chimes, marking the beginning of your electrical education. Your hands steady, your mind focused, you prepare to write your first lines of code and breathe life into silent circuits.

What You'll Learn

When you finish this lesson, you'll be able to:

  • Connect your HERO Board to your computer and establish communication
  • Understand what a microcontroller is and how it controls electrical devices
  • Write your first program to make the built-in LED blink on and off
  • Recognize the basic structure of every microcontroller program
  • Control timing in your circuits using delays
  • Upload code to your board and watch it come to life

This might seem simple, but you're about to learn the fundamental building blocks that power everything from smart phones to space stations. Every electrical engineer started exactly where you are right now.

Understanding Your HERO Board

Think of your HERO Board as the brain of any electrical project you'll build. Just like your brain controls your body by sending signals to your muscles, the HERO Board controls electrical components by sending signals through its pins.

A microcontroller is essentially a tiny computer designed for one job: controlling things in the physical world. While your laptop handles complex tasks like web browsing and video editing, a microcontroller focuses on simpler but crucial work—turning lights on and off, reading sensor data, controlling motors, or managing temperature systems.

The beauty of microcontrollers lies in their reliability and focus. Your smartphone might freeze or need updates, but a microcontroller in your car's engine runs the same program millions of times without fail. They're the invisible workers that keep our modern world running smoothly.

Your HERO Board comes with a built-in LED—a tiny light connected directly to the board. This LED becomes your first student, ready to follow your commands. When you tell it to turn on, it obeys instantly. When you tell it to blink, it blinks with mechanical precision.

Programming a microcontroller means writing instructions in a language it understands. These instructions get stored in the board's memory, like a recipe written down for a chef. Every time you power on the board, it reads this recipe and follows the steps exactly, over and over, until you give it new instructions.

Getting Your Code Onto the Board

Right now your program only exists in your head. To make the HERO Board actually do something, you need a way to write that code on your computer and send it down the USB cable to the board. There are two ways to do that, and you only need to pick one.

Not sure which one to choose?

If you are on a school Chromebook, a locked-down computer, or you just want to see the LED blink in the next two minutes, start with Option 1. If you want the full toolkit that most makers use — and eventually you will — go with Option 2. Nothing stops you from doing both.

Option 1: Upload From Your Browser (nothing to install)

Your lessons can program the board straight from this page. There is nothing to download, nothing to install, and no account to set up.

How To Use It

  1. Open this lesson in Chrome or Edge