packageDevices

Bases of the peripherals (electrical link and behaviour)

Extends from Modelica.Icons.BasesPackage (Icon for packages containing base classes).

Contents

NameDescription
PartialSupplyPinSupply of a peripheral: optional GND and VCC pins, internal supply rail - GND shown and ideal internal supply VOH by default
PartialUartPinsElectrical side of a serial device: TX output and RX input on two pins, common ground, optional VCC pin - shared by the serial devices and the radio modems
PartialUartDeviceBase of the external serial devices: electrical link, decoding, two transmission modes, quantities exchanged with the model
PartialI2cDeviceBase of the I2C slave peripherals: open-drain electrical link, bus decoding, behaviour described by a Python script
PartialRadioModemBase of the transparent radio modems: serial link with the microcontroller, radio frames on air, buffers, fixed delays, drawn modulated signal
PartialTextDisplayBehaviour of the large text screens: each message received through displayLink is written under the last written line, the screen scrolls up once full
OnBoardRadioModemThe on-board 2.4 GHz radio of the micro:bit as a transparent modem: the same engine as Peripherals.Radio.RadioModem, mounted inside MicroBit_v2 on two internal pins of the core (34 = TX of the core, 35 = RX) - the packet protocol of microbit.radio (framing, channel/group/address filtering, receive queue) lives in the Python shim, see requirements.md decision "Radios micro:bit"