Classroom Practice · Published November 2026

A Practical Guide to MicroPython in Primary and Secondary STEM Classrooms

Transitioning students from Block coding to text-based MicroPython smoothly: sensor abstraction, real-time debugging, and competition readiness.

From blocks to text

The move from block coding to MicroPython works when the hardware stays the same and only the language changes. Students keep the sensors they already know, and write the same behaviours in text.

Sensors
Sensor abstraction so a line sensor or motor call looks the same after the language change.
Debug
Real-time debugging on the kit in front of the student, instead of a simulated board.
Competition
Competition readiness for line following, Robo Soccer, and autonomous tracks once the text code is stable.

Kits and the SN-bound AI path are on Hardware Kits. Workshop dates are on Events.

All insights