packageMicroPythonMCU
Simulation library of a programmable microcontroller (Raspberry Pi Pico / RP2040 target) driven by a MicroPython-compatible Python script
Uses Modelica 4.1.0.
Extends from Modelica.Icons.Package (Icon for standard packages).
Information
User guide: https://bdelaup.gitlab.io/modelica_micropython/en/ (French version: https://bdelaup.gitlab.io/modelica_micropython/fr/).
See requirements.md at the root of the repository (in French) for the need, the architecture choices and the current limitations.
Contents
| Name | Description |
|---|---|
| Demonstration circuits and verification scenarios (see requirements.md, section "Vérification") | |
| Simulated programmable microcontroller, driven by a MicroPython-compatible Python script | |
| BBC micro:bit v2 board: nRF52833 programmable in MicroPython, real pinout and dimensions, multiplexed 5x5 LED matrix, buttons A/B, integrated sensors and USB power supply | |
| Raspberry Pi Pico board: RP2040 programmable in MicroPython, real pinout and dimensions, power supply through USB, VBUS or VSYS and the on-board 3.3 V regulator | |
| Components that can be connected to MCU: LED, educational display, serial (UART) devices, I2C peripherals, weighing chain | |
| Reference logic voltage levels (RP2040 approximation, 3.3 V) used by the electrical bridge of MCU | |
| Implementation details (external objects, shared icons, base classes) - not meant for direct use | |
| Bricolage / expérimentation libre, hors périmètre de la bibliothèque (non couvert par les scénarios de vérification de requirements.md) |