Week 2 · Lesson 2 · 55 minutes

Check and explain the two-LED circuit

I can make a safe check and explain the evidence from my circuit.

Planned lesson. Follow your teacher’s teaching order.

Revised weekly handout pages: 2.

Materials

ESP32, USB data cable, breadboard, two LEDs, separate series resistors and wires checked by the teacher; your saved class work and individual weekly record.

Vocabulary

breadboard
a board with connected contact groups for temporary circuits
series resistor
a resistor in the same current path as an LED to limit its current

Original classroom model

Two LEDs on a breadboard

Sensor input and threshold work is deferred until parts are available and the teacher confirms readiness. No sensor, simulation or threshold evidence is required for this week’s task. Keep earlier design work for later.

Use the buttons to step through. With scripts off, every frame remains readable.

Trace each LED path

Trace each LED pathChecked output GPIOOwn series resistorLEDGND
  1. Checked output GPIO
  2. Own series resistor
  3. LED
  4. GND

Conceptual path only: repeat it for each LED with its own resistor. This is not a physical pin map. Use the actual board and breadboard connections checked in class.

Read the diagram
  1. Checked output GPIO
  2. Own series resistor
  3. LED
  4. GND

Keep evidence honest

Keep evidence honestExpected behaviorActual observationNOT TESTED
  1. Expected behavior
  2. Actual observation
  3. NOT TESTED

Write expectations before a check and observations after it. If a check did not run, mark NOT TESTED and explain the next safe step.

Read the diagram
  1. Expected behavior
  2. Actual observation
  3. NOT TESTED

One LED does not light. What is a safe first step before moving a wire?

Discuss before revealing

Disconnect USB. Compare the recorded GPIO, resistor path, LED polarity and breadboard contacts with the teacher-checked setup. Change one thing only after the check, then record any actual retest.

See it

Which breadboard holes are joinedJoined along the railJoined: five holesin one columnNot joinedacross the gapA separate group
In the middle of the board, the five holes in one column are joined, and the gap separates the two halves. A rail is joined along its length. Check which holes are joined before you say a part is connected.

Watch

Watch the parts on which holes are connected and on common mistakes: the wrong row, loose wires and LED polarity.

How to Use a BreadboardScience Buddies

Open on YouTube

The video is on YouTube, which needs a VPN on most networks in mainland China. It is extra: the lesson works without it.

Continue from your own evidence · 5 minutes

Next lesson: reopen the same record and any saved class code. Check what is working now; do not assume both LEDs worked last time. Continue unfinished setup before adding changes.

One individual weekly record covers both lessons. Hardware may be shared with a partner; swap practical roles and record your own contribution. Keep completed answers and continue unfinished work in the same record.

Agree a safe check · 10 minutes

Disconnect USB before changing wires. Give each external LED its own teacher-checked series resistor. Check LED polarity, breadboard contact groups and any split power rails. The teacher must verify the actual board and output-capable GPIO labels before power. Never connect 5 V to a GPIO. Stop and disconnect power if a part becomes hot.

Use the pins, resistor values and program checked in your class. Record them from your own setup; do not guess a pin number or copy an unverified LED sequence. If you cannot recover a detail, write unknown and ask for a check.

One LED does not light. What is a safe first step before moving a wire?

Reveal reasoning

Disconnect USB. Compare the recorded GPIO, resistor path, LED polarity and breadboard contacts with the teacher-checked setup. Change one thing only after the check, then record any actual retest.

Compare expected and actual behavior · 25 minutes

With the teacher, choose a check appropriate to your current circuit and class program. Write the expected behavior of each LED before running it. Record the actual result, or NOT TESTED if it did not run. No particular flashing pattern or timing is required here.

If a correction is needed, disconnect power first and check one change at a time. Record the reason and any retest. If the circuit already works, explain a connection or repeat an agreed check rather than inventing a fault.

Explain your contribution · 10 minutes

Explain one breadboard connection, one useful safety check and what you contributed. Keep predictions separate from observations and identify any remaining uncertainty.

Finish the same weekly task · 5 minutes

Homework: finish only the unfinished written record of your two-LED breadboard work. Include the actual connections, available saved code or evidence, observations and one next safe check. Mark tests you did not run NOT TESTED. Hardware stays at school.

Sensor input and threshold work is deferred until parts are available and the teacher confirms readiness. No sensor, simulation or threshold evidence is required for this week’s task. Keep earlier design work for later.

Week 2 Two LEDs on a breadboard

Do only the parts you did not finish in class. Write what really happened; if you did not test something, write NOT TESTED. This is one task for the week, and nothing else is due.

  1. Write the real connections: the pins and resistor values from your own setup.
  2. Add your saved code or other evidence, and what you observed.
  3. Write one next safe check.

You are finished when: Your record shows your real two-LED circuit, what happened and what to check next.

Why this matters: Safe, checked wiring is the base for the sensor alert you build next.

  • Record details from your own setup. If you cannot find a detail, write unknown and ask for a check. Do not guess a pin number.
  • You may share hardware. Swap practical roles and record your own contribution.
  • Sensor and threshold work waits until parts are available. No sensor, simulation or threshold evidence is needed this week.
  • Hardware stays at school.

Revised weekly handout pages: 1, 2.

Weekly homework (Word)

Two-LED weekly feedback guide

Task-specific feedback, not an official IB criterion grade.

Safe connections
Actual pins, separate resistors and LED polarity are recorded or honestly marked unknown; changes wait for a power-off check.
Clear evidence
Expected behavior and actual observations are separate. Missing tests are marked NOT TESTED.
Individual evidence
Each student explains one connection, their own contribution and a useful next safe check.
BandObservable evidence
0No usable individual record is available yet.
1–2Some components or actions are named, but connections and results are unclear.
3–4The record identifies some actual connections and results or blockers. The explanation or next check needs more detail.
5–6The record clearly separates intended behavior from observations, identifies checked connections or unknowns, and explains a contribution and safe next check.
7–8The record uses precise evidence to explain connections and a useful check or improvement. Any remaining fault or untested step is identified without overstating success.