Ibnovate Course 2 · The Rising Builders
⏱ 75 minLive session · ages 12–15

Session 7 — Hello, Hardware!

Duration: 75 min · Format: live online · Ages: 12–15

Session goal: by the end, students can explain the Sense → Think → Act loop, build an LED circuit in a simulator, and write Arduino code that makes it blink.

Before class — prep (5 min)

Agenda

Time Segment
0:00 Hook — the automatic door (5 min)
0:05 Teach — Sense → Think → Act (12 min)
0:17 Teach — a circuit + code together (15 min)
0:32 Activity — blink an LED in Tinkercad (28 min)
1:00 Check for understanding (8 min)
1:08 Wrap-up + homework (7 min)

0:00 · Hook (5 min)

Ask the class (chat or unmute):

Let them guess, then reveal the pattern: it senses you, decides to open, and acts by moving. Tell them almost every smart device works this way — and today they build the smallest version: an Arduino that makes a light blink.


0:05 · Teach — Sense → Think → Act (12 min)

Explain: a tiny computer called an Arduino connects code to the physical world through a three-step loop.

Share this diagram:

Sense with a sensor, think with an Arduino, act with an output like an LED

Ask: "Take the automatic door — what's the Sense, the Think, and the Act?" (Take a couple of answers, then name one more everyday device.)


0:17 · Teach — A circuit + code, working together (15 min)

Explain: electricity needs a complete loop to flow. Show the classic first circuit — an LED with a resistor, which protects the LED.

Share this diagram:

An Arduino pin connected through a resistor to an LED and back to ground

Explain the code: an Arduino sketch has two parts — setup() runs once, loop() runs forever.

Build/type this together:

void setup() {
  pinMode(13, OUTPUT);      // pin 13 will power the LED
}

void loop() {
  digitalWrite(13, HIGH);   // LED ON
  delay(1000);              // wait 1000 ms = 1 second
  digitalWrite(13, LOW);    // LED OFF
  delay(1000);              // wait 1 second
}

⚠ Watch for the common bug: if the LED won't light, the circuit is usually not a complete loop, the resistor is missing, or the LED is backwards (LEDs only work one way). Check the loop first.

Ask: "Which line turns the LED off, and what would happen if we deleted both delay lines?" (Answer: digitalWrite(13, LOW); with no delays it blinks too fast to see.)


No hardware needed — everyone uses the free simulator. Demo the first build yourself, then have students build on their own devices. Circulate.

  1. Open Tinkercad CircuitsCreate new Circuit.
  2. Drag in an Arduino Uno, an LED, and a 220 Ω resistor. Wire: pin 13 → resistor → LED → GND.
  3. Click Code, switch to Text, paste the blink code above.
  4. Press Start Simulation. The LED blinks!

Circulate and ask: "Is your loop complete? Is the resistor in the line?"

Extension prompt (for anyone who finishes): change both delay(1000) to delay(200) — what happens? Then make it blink an SOS pattern (3 short, 3 long, 3 short).


1:00 · Check for understanding (8 min)

Ask these aloud or drop them in the chat. Answer key (for you):

  1. What are the three steps of physical computing?Sense → Think → Act. Input → Arduino → output.
  2. What does delay(1000) do? → Pauses for 1000 milliseconds = 1 second.
  3. Which part runs forever — setup() or loop()?loop() repeats endlessly; setup() runs once at the start.

1:08 · Wrap-up + homework (7 min)


Teaching notes

```cpp void setup() { pinMode(13, OUTPUT); Serial.begin(9600); // so we can see the numbers }

void loop() { int light = analogRead(A0); // read the sensor (0–1023) Serial.println(light); // print the value delay(200); } ```

Have them cover the sensor and watch the number change in the Serial Monitor. These values are the "Sense" step — next session they add the "Think" (an if) to make an automatic night-light. - Low-tech fallback: if devices are limited, screen-share Tinkercad yourself and build the blink circuit as a class, taking student directions for each wire and line of code.

Vocabulary

Term Meaning
Arduino A tiny programmable board
Circuit A complete loop for electricity
Sensor An input that senses the world
Output Something the board controls (LED…)
loop() Code that runs forever

Resources

Next session

Session 8 — Build a Smart Gadget: the Block 2 project — students combine a sensor, a decision, and an output into their own working invention.

Ibnovate · Build · Innovate
Type to search · Esc to close
Welcome back
Sign in to continue building.
Accounts are created by Ibnovate — ask your instructor for your login.
🔒