Feb 2025

Circuit Cubes Python Interface

Image of simple Circuit Cubes robot with superimposed Python logo.

Circuit Cubes are Lego-compatible electronic building blocks. They are small and modular, but unfortunately require a smartphone app which is slow and clunky.

I wanted to be able to control the Circuit Cubes Bluetooth Battery Cube without using the default smartphone app. In order to do this, I developed a Python interface that communicates with the Circuit Cube via Bluetooth Low Energy (BLE).

This Python interface allows for controlling two motors using keyboard arrow keys, as well as low-level access to the Circuit Cube’s Bluetooth information.

Screenshot of the Circuit Cubes Python interface when controlling two motors.

Previous
Previous

CircuitCubes PyPI Package

Next
Next

Complex Expression Calculator