Week 9 · Integration & Task C

Session 43: Environment monitor capstone

Teach & buildFlex120 minLesson 27: Capstone 1: Environmental Monitor

Learning outcomes

  • Plan an integrated system with an IPO diagram and pin map
  • Integrate the DHT11, LDR, LCD and buzzer one subsystem at a time
  • Keep a staged integration log
  • Validate readings before acting on them

Kit and components

  • Uno, DHT11, LDR and 10 kΩ resistor, I2C LCD, passive buzzer, breadboard

Pre-reading about 20 min

Students read these on their phones before class. They are listed on the student Before class page.

  1. Lesson 27: Design before you solder
  2. Lesson 27: Integrate one subsystem at a time
  3. Lesson 27: Validate before you alarm

Session plan

  1. 0:0010 min
    Recap

    Quiz: RTC and formatting

  2. 0:1020 min
    Demo

    Staged integration

    Show a staged integration log and the order: LCD, DHT11, LDR, buzzer, then merge.

  3. 0:3070 min
    Build

    Build the environment monitor

    Students follow the lesson's pin map, proving and logging each subsystem before adding the next, then merge into the worked sketch.

  4. 1:4020 min
    Discuss

    What broke when you merged?

    Each student shares one integration fault and how the log helped find it.

Checkpoint: ready to move on?

Each student has a staged integration log with four proven subsystems and a working merged monitor.

Extension for fast finishers

Add a light-level alarm with hysteresis alongside the temperature alarm.

Catch-up path

Merge the LCD and DHT11 only; add the LDR and buzzer at the start of S44 as practice.

Homework and practice

Complete the Task C plan.

Facilitator notes

  • Flex session: in a shorter course, students read this lesson as the Task C model and go straight to S44.
  • The log format used here is the evidence Task C's critical staged-integration criterion requires.