jimmo/microbit-simulated-dal — explained in plain English
Analysis updated 2026-08-10 · repo last pushed 2023-03-13
Run student micro:bit MicroPython code in a browser-based learning environment without physical hardware.
Automatically grade student micro:bit programs by capturing simulated LED and sensor output as JSON data.
Test micro:bit programs locally on Linux during development before deploying to real hardware.
Build a custom web frontend that sends virtual button presses and pin events to the simulator.
| jimmo/microbit-simulated-dal | 0xallam/posthog | 0xallam/search-engine | |
|---|---|---|---|
| Stars | 1 | 1 | 1 |
| Language | — | Python | C++ |
| Last pushed | 2023-03-13 | 2026-03-26 | 2023-08-23 |
| Maintenance | Dormant | Maintained | Dormant |
| Setup difficulty | hard | moderate | hard |
| Complexity | 4/5 | 3/5 | 3/5 |
| Audience | developer | pm founder | developer |
Figures from each repo's GitHub metadata at analysis time.
Linux-only with specific build tools required, needs compilation of MicroPython firmware for x86 and integration with a custom web frontend for full functionality.
The microbit-simulated-dal project lets you run micro:bit MicroPython programs on a regular Linux computer instead of needing the actual physical hardware. It was built by Grok Learning so students can write and test code in a browser, and so an automated system can grade their work. The simulator handles the micro:bit's LED display, buttons, pins, music, radio, compass, accelerometer, and temperature sensing. Normally, MicroPython for the micro:bit is compiled to run on the device's ARM chip. This project recompiles the same firmware for a standard Intel x86 processor instead. When the code tries to talk to hardware, this library intercepts those calls and simulates the behavior in software. Because it runs the actual firmware, the simulation is very close to the real thing. The serial console behaves like a terminal, while other interactions are handled via files or network pipes. The primary users are educational platforms like Grok Learning. For example, when a student writes code to scroll a message across the LED grid, the simulator outputs the LED state as JSON data. A web frontend reads that data and draws the result on screen. When the student clicks a virtual button, the frontend sends an event back, and the simulator feeds it into the running program. The project currently only works on Linux and requires some specific build tools. The README notes that Mac and Windows support is on the to-do list. A rough text-based interface is included for testing locally, but the main goal is connecting the simulator to a custom web frontend. The README doesn't go into detail on the educational features used for the auto-marker, but mentions they exist alongside the core simulator.
A simulator that lets micro:bit MicroPython programs run on a regular Linux computer without needing the physical hardware, built for education and automated grading.
Dormant — no commits in 2+ years (last push 2023-03-13).
The explanation does not mention any license, so the licensing terms are unknown.
Setup difficulty is rated hard, with roughly 1h+ to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Don't trust strangers blindly. Verify against the repo.