Tufts CEEO has developed a custom firmware based on MicroPython for LEGO Education SPIKE Prime Hub and SPIKE Essential Hub that enables UART and I2C communication (as well as individual digital pin control) via the SPIKE ports. This allows SPIKE Hubs to communicate with a wide variety of external devices (breadboards, microprocessors, and other third-party electronic hardware). Note: this version of the firmware does NOT support any of the other LEGO functionality (provided by the LEGO Hub OS, like default program, program slots, LEGO Python API, etc).

Installation Instructions (via Hub's bootloader mode)

The LEGO® Hub supports the MicroPython firmware. To install MicroPython on the hub, you have can either upload a precompiled version or compile it yourself.

Precompiled

Compiling Yourself

If you want to compile the MicroPython firmware, follow the instructions on the MicroPython GitHub site.

Up Arrow
FEEDBACK