This cube is powered by CircuitPython! If you're new to CircuitPython, follow this quick guide to get your board up and running:
Once you've got the board setup with CircuitPython, you'll need a few libraries to get the code to work.
When on the next page, click the "Download Project Bundle" button in the code window to get the code and latest library files.
Copy over the following files and folders into your lib folder in the CIRCUITPY drive:
- adafruit_dotstar.mpy
- adafruit_framebuf.mpy
- adafruit_io
- adafruit_led_animation
- adafruit_lis3dh.mpy
- adafruit_minimqtt
- adafruit_connection_manager.mpy
- adafruit_ticks.mpy
- adafruit_pixelbuf.mpy
- adafruit_pixel_framebuf
Your CIRCUITPY drive should look like this:
Additional files
You'll also need two more files: the font file to display text and a settings.toml file to store your WiFi SSID and password plus your AdafruitIO API key.
Click the button below to download the font file, and unzip it into your CIRCUITPY drive:
Finally, create a new file called settings.toml following the template below (replace the your_ and my_ values with your own details) and save it in the CIRCUITPY root folder as well:
CIRCUITPY_WIFI_SSID="your-wifi-ssid" CIRCUITPY_WIFI_PASSWORD="your-wifi-password" ADAFRUIT_AIO_USERNAME="my_username" ADAFRUIT_AIO_KEY="my_key"
Page last edited April 16, 2025
Text editor powered by tinymce.