Week 3 · November 16–20

Teaching week November 16–20

Check the plan for your class before you move on. These dates show planned lessons, not what anyone finished. Times and dates follow the school’s Asia/Shanghai calendar. Existing homework and deadlines are unchanged.

Previous teaching week: November 9–13

MYP Design

Grade 8

Serial input and LED control

Use the checked LED and Serial Monitor: send 1 and 0, then check repeated commands, invalid input and line endings. Record the LED you actually see. Physical buttons are unavailable, so button and reaction-time tests stay deferred. Use the two Serial lesson sheets in the weekly handout, not the later timer sheets.

  1. Control the LED from Serial Monitor
  2. Test repeated and invalid commands

Grade 9

Connect to your ESP32: Wi-Fi first

Start with the ESP32’s own Wi-Fi and the dashboard’s labelled sample data. Predict the automatic alert and compare it with the real LED only if the teacher has checked the circuit. Sensor readings and calibration come later, after the sensors arrive and the teacher checks the unpowered circuit.

  1. Wi-Fi first: open the sample dashboard
  2. Wi-Fi first: predict the alert and check what the board shows

Grade 10

Connect directly to your ESP32

First check your saved state code and have the teacher check the circuit. If the teacher also approves using the ESP32’s own Wi-Fi without a router, trace a browser request and compare the reply with the LED. Otherwise continue Serial checks and leave the Wi-Fi connection test for later.

  1. If the code, circuit and local Wi-Fi are ready: connect to the ESP32
  2. After connecting: make the browser and LED agree

DP Computer Science

Start with signed binary, including two’s complement. Then use truth tables to practise AND, OR and NOT. This is the planned order, not a record that the lesson has been taught.

The existing packet is due at the start of CS class on November 23. It reviews signed numbers and gates plus search, sort, Big O and recursion. Trace by hand before using Python.