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

NameDescription
ExamplesDemonstration circuits and verification scenarios (see requirements.md, section "Vérification")
MCUSimulated programmable microcontroller, driven by a MicroPython-compatible Python script
MicroBit_v2BBC 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
RPi_PicoRaspberry 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
PeripheralsComponents that can be connected to MCU: LED, educational display, serial (UART) devices, I2C peripherals, weighing chain
InterfacesReference logic voltage levels (RP2040 approximation, 3.3 V) used by the electrical bridge of MCU
InternalImplementation details (external objects, shared icons, base classes) - not meant for direct use
SandboxBricolage / expérimentation libre, hors périmètre de la bibliothèque (non couvert par les scénarios de vérification de requirements.md)