Week 9 ยท Integration & Task C

Session 45: Task C: integrate

Assessment120 minNo new lesson

Learning outcomes

  • Merge subsystems into one non-blocking sketch
  • Implement the AUTO and MANUAL modes as a state machine
  • Test each success criterion as it is met

Kit and components

  • Task C circuit from S44
  • Multimeter and oscilloscope

Pre-reading about 15 min

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

  1. Lesson 08: Make loop() read like a plan
  2. Theory Reference: State machines

Session plan

  1. 0:0010 min
    Discuss

    Integration goals

  2. 0:1090 min
    Assess

    Integrate and test

    Learners merge subsystems one at a time, testing after each addition and logging faults. Ask each learner to show the button responding while the servo moves.

  3. 1:4020 min
    Wrap-up

    Readiness check

    Each learner states which criteria are met and which remain for S46.

Checkpoint: ready to move on?

Every learner has a merged sketch running at least the sensors, LCD and servo together, with faults logged.

Extension for fast finishers

Start the end-to-end test table and the failure-injection test.

Catch-up path

Merge the DHT11, LCD and servo first; add the LDR and mode button in S46.

Homework and practice

Finish integration and start the test table.

Facilitator notes

  • Do not fix integration faults for learners. Ask what the log says changed last.