Week 9 ยท Integration & Task C
Session 45: Task C: integrate
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.
Session plan
- 0:0010 minDiscuss
Integration goals
- 0:1090 minAssess
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.
- 1:4020 minWrap-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.