PTIR — Daily Briefing — November 14, 2026
by
One Read Today
Coding by Doing: Learn Python for Free
TCEA TechNotes presents a free, browser-based Python activity and a short review of hands-on learning options. It is a practical fit for instructors and self-learners who want to move from explanation to working code without spending the session on environment setup.
- Publication: TCEA TechNotes
- Estimated reading time: About 7 minutes
- Why it is worth the time: The article combines an immediately usable beginner exercise with classroom prompts, privacy considerations, and a clear next step.
- Reading prompt: Set aside 20–30 minutes to read, try the activity, and capture one adaptation.
- Reading desk: Some reads
Executive Summary
Today’s worthwhile discovery is a compact bridge between Python arrays and physical computing: use NumPy to transform a 5×5 matrix, then display the result on a micro:bit’s 5×5 LED grid. It turns reflection, coordinates, brightness values, and clipping into something students can predict and immediately observe.
Action Queue
Test the micro:bit matrix-reflection lab
The activity runs Python and NumPy on a computer while David Whale’s open-source bitio library uses a USB-connected micro:bit as the physical display. Students predict a matrix image, apply a horizontal reflection with np.fliplr, and compare the result with the LEDs. The official micro:bit Python reference confirms that its 25 LEDs form a 5×5 grid and that brightness values run from 0 to 9.
Recommended action: Save the canonical teaching lab and test it on one micro:bit before assigning it. Prepare the bitio firmware and Python environment yourself; let beginning students focus on the matrix prediction and explanation rather than firmware troubleshooting.
- Urgency: This week
- Importance: ★★★★☆
- Verified active: November 14, 2026
- Deadline: No deadline
- Cost: The lesson software and bitio are free and open source; a micro:bit and data-capable USB cable are required for the physical version
- Requirements: Computer with Python, NumPy, Git/pip access, a compatible micro:bit, a data USB cable, and the matching bitio firmware and Python package; flashing firmware replaces the board’s current program
- Canonical lab: Reflect a Matrix on a micro:bit
- Official hardware reference: micro:bit LED display
- Source and compatibility notes: whaleygeek/bitio
Teaching Corner
The lab deliberately separates prediction from execution. Students first shade a paper grid, then predict the reflected matrix, and only then run the code. Repeating the reflection exposes an invariant—two horizontal reflections restore the original—while brightness clipping creates a short discussion about information loss.
The full classroom-ready activity, deliverable, and firmware cautions live at idtprof.net.
Open Source
bitio lets a Python program running on a PC, Mac, Linux machine, or Raspberry Pi interact with a connected micro:bit. Its maintainer describes the newarch branch used for newer micro:bit revisions as experimental, so instructors should test the exact firmware/package pair before class and retain the source for any program currently stored on the board.
Newsletter Highlights
A CSTA community post by Oleg Gornov surfaced the NumPy-to-micro:bit workflow and its classroom progression. The hardware behavior and brightness model were checked against the official micro:bit reference, and bitio requirements were checked against the maintainer’s repository.
tags: teaching - python - numpy - microbit - open-source