sheen.bot logo

← Insights

Can You Run Python on micro:bit V1, or Do You Have to Upgrade?

Nov 24, 2026·Sheen Robotics
Can You Run Python on micro:bit V1, or Do You Have to Upgrade?

You can flash MicroPython onto a micro:bit V1, but its 16 KB of RAM leaves barely 2 KB of free heap. Here is what breaks, what CAPS actually requires, and how to triage your lab.

Yes, you can run MicroPython on an original micro:bit V1. But if your learners are writing anything beyond basic counter loops and LED animations, the honest answer is that you will spend half your lesson troubleshooting MemoryError crashes. The micro:bit V1 has only 16 KB of physical RAM, and the MicroPython runtime consumes nearly all of it before a learner writes a single line of code.

Whether you need to upgrade immediately depends entirely on what your syllabus actually demands. If you are teaching text-based Python with external sensors or robotics expansion boards, the V1 is at the end of its useful life. If you are aligning strictly with South Africa’s national curriculum, however, your legacy stock can stay in service for years to come.

The Hardware Bottleneck: 16 KB vs 128 KB

To understand why Python struggles on the original board, the arithmetic is straightforward:

  • micro:bit V1 (released 2016): Nordic nRF51822 processor with 16 KB of RAM and 256 KB of flash memory.
  • micro:bit V2 (released 2020): Nordic nRF52833 processor with 128 KB of RAM and 512 KB of flash memory.

When you use Microsoft MakeCode to program a V1 using visual blocks, MakeCode compiles the visual blocks down to native C++ machine code before flashing. C++ has zero runtime overhead; it executes directly on the bare metal. As a result, MakeCode blocks run efficiently on 16 KB of RAM.

MicroPython is fundamentally different. It does not compile into native machine code on your laptop. Instead, it flashes an entire lightweight Python interpreter onto the micro:bit’s flash storage. When the board powers up, that interpreter boots inside the board’s 16 KB RAM. After reserving memory for the system stack, the display buffer, and basic peripheral control, the MicroPython heap on a V1 typically has around 1.5 to 2 kilobytes of memory left for learner variables, data structures, and script code.

The moment a Grade 8 learner writes a program that imports the radio module, creates an 8-item array to store temperature readings, and attempts string concatenation to format an output message, the board exhausts its remaining heap and throws an unhandled MemoryError. In a classroom of 30 learners, that manifests as inexplicable board freezes and incomplete code runs that waste valuable contact time.

What CAPS Actually Prescribes in Senior Phase

Before throwing budget at replacing every V1 board in your school, check what the South African curriculum actually requires. There is a common misconception that Senior Phase Coding and Robotics forces schools into Python.

South Africa’s Coding and Robotics curriculum was officially gazetted in June 2024 (Government Notice 4946, Government Gazette 50767) covering Grades R to 9. The curriculum is phased in grade by grade from 2026, starting in Foundation Phase for schools with capacity. In Senior Phase (Grades 7, 8, and 9), the gazetted curriculum explicitly remains block-based. The policy document specifies algorithmic thinking, block-based logic, and sensor integration, but it does not prescribe text-based Python or any other specific text language.

If your school is equipping a computer lab to deliver the standard CAPS curriculum in Grades 7 through 9, your legacy micro:bit V1 boards are entirely usable. In MakeCode, learners can read pins, drive servos, communicate over the built-in radio, and build automated systems without hitting memory ceilings. You do not need to replace working V1 kits merely to satisfy curriculum compliance.

Where V1 Fails: The Senior Phase Extension Trap

The problem arises when schools deliberately transition beyond CAPS block-based coding into real Python syntax in Grade 8 or 9—either to prepare learners for FET-phase Information Technology (IT) or to run competitive robotics clubs. That is where V1 hits an immovable hardware barrier.

Curriculum Taskmicro:bit V1 (MicroPython)micro:bit V2 (MicroPython)
Basic logic, loops, conditionals, built-in display iconsRuns cleanlyRuns cleanly
Reading built-in accelerometer or compassRuns, but tight heap limits additional codeRuns with full headroom
Radio networking (import radio)Risky; imports take ~1 KB, frequently throwing MemoryError on message parsingStable; ample RAM for packet buffering
External I2C sensor libraries (e.g. OLED screen, distance sensor)Fails; driver libraries will not fit in available heap memoryRuns cleanly; supports multiple imported drivers
Audio and voice synthesisRequires external buzzer or speaker; sound library consumes severe RAMBuilt-in speaker and mic; onboard hardware support
Data logging (storing 50+ sensor samples to memory)Fails; memory allocation errors on array operationsRuns cleanly; dedicated logging filesystem support

If your Grade 9 lesson plan involves reading an ultrasonic distance sensor over I2C, driving two continuous-rotation servos, and printing the distance on an external 0.96-inch OLED screen, it will not execute in MicroPython on a micro:bit V1. The code required just to initialise the I2C display driver will exceed the board’s available memory.

The Practical Triage Plan for School Labs

You do not need to choose between wasting limited budget on a total hardware refresh and keeping learners trapped in visual blocks. An effective hardware triage strategy keeps existing stock productive:

  1. Reassign V1 stock to Intermediate Phase (Grades 5–7): Move your older V1 boards down into younger grades where visual block programming in MakeCode is the primary tool. The V1 is sturdy, handles block-based logic effortlessly, and prevents younger learners from breaking newer kits.
  2. Procure V2 boards strictly for text-coding cohorts: Buy V2 boards specifically for the classes transitioning to text-based Python, Grade 9 electronics, or afternoon maker clubs. Because V2 provides 128 KB of RAM, learners can import external motor drivers, stream telemetry over radio, and write clean, multi-function Python without constant crashes.
  3. Audit existing boards before ordering: Look at the physical board edge between the pins. A V2 board has notched edge-connector cutouts and a gold antenna on the top-right corner; a V1 board has a straight edge and a silver antenna trace. Never buy accessories (such as chassis or add-on shields) without verifying which version your lab currently holds.

If your school needs help auditing legacy hardware, balancing grade sets, or planning phased upgrades that fit a South African budget, explore Sheen Robotics lab sourcing to match hardware strictly to your pedagogical needs rather than vendor marketing.

Do not discard functioning micro:bit V1 boards out of hand. Use them where MakeCode shines, and upgrade to V2 only where real-world Python libraries demand physical memory that 2016 hardware was never designed to give.

#microbit#python#stem education#caps curriculum#school labs

More Insights