Week 8 ยท Sensors & Task B

Session 40: Review: sensors and displays

Review & mini-projectFlex120 minNo new lesson

Learning outcomes

  • Combine sensing, display and timing in one program
  • Complete outstanding Code Along core work
  • Check final project parts before the project weeks

Kit and components

  • LCD, LDR and thermistor circuits

Pre-reading about 15 min

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

  1. Theory Reference: map() and constrain()
  2. Theory Reference: State machines

Session plan

  1. 0:0015 min
    Quiz

    Weeks 7-8 quiz

  2. 0:1550 min
    Build

    Mini-project: light and temperature logger

    LCD row 1 shows temperature and light level; a button cycles row 2 between the minimum, maximum and average since reset - all non-blocking.

  3. 1:0540 min
  4. 1:4515 min
    Discuss

    Project check-ins

    A quick one-to-one check on each final project's parts list.

Checkpoint: ready to move on?

Every learner has completed the core exercises in Code Along chapters 10-14.

Homework and practice

Pre-reading for S41.

Facilitator notes

  • Flex session: in a shorter course do the project check-ins during the S41 wrap-up.