Session 25: Task A: build, test and demonstrate
Learning outcomes
- Build and test the fan speed selector against the test table on the brief
- Measure the PWM output and record it as evidence
- Demonstrate and explain debounce and the state logic
Kit and components
- Task A circuit from S24
- Oscilloscope and multimeter
- Printed Task A criteria grids
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:005 minDiscuss
Start-of-session check
Approve any plans finished as homework before those learners continue.
- 0:0570 minAssess
Build and test
Learners finish the sketch and run their test table, including 10 quick presses and a held button, and measure D6 at LOW on the scope.
- 1:1535 minAssess
Demonstrations
Each learner demonstrates for 3-4 minutes: run the 10-press test yourself, hold the button, check the Serial log and ask two questions.
- 1:5010 minWrap-up
Results
Mark each criterion; learners marked NYC receive feedback and the S35 reassessment date.
Checkpoint: ready to move on?
Every learner has a marked Task A grid, with feedback and a reassessment date where needed.
Extension for fast finishers
Not assessed: add Button B on D3 that stops the fan from any speed (Code Along extra practice: Button B stops the fan).
Catch-up path
Learners marked NYC revisit the buttons and timing chapters for the criteria they missed before S35.
Homework and practice
Pre-reading for S26.
Facilitator notes
- Call learners to demonstrate as they finish testing so nobody waits idle.