CircuitPython Microcontroller Programming¶
We use a variety of microcontrollers which use CircuitPython as their operating system and programming language. There are hundreds of different boards available which use CircuitPython. The CircuitPython language is compatible across these devices, but individual code samples involving hardware input or output are typically written for a specific platform. However, the samples can generally be ported to a different device with modest changes.
Please see the CKS CircuitPython guide for the following:
many Pi Pico code samples
The pages below contain detail on additional hardware platforms.
Raspberry Pi Pico 2W¶
The “2W” version of the Raspberry Pi Pico 2 includes a faster CPU, more memory, and a WiFi transceiver.
Adafruit Circuit Playground Bluefruit¶
The Circuit Playground Bluefruit (CPB) is a microcontroller board sold by Adafruit which includes several useful sensors, color NeoPixel LEDs, and accessible electrical contacts.
- Adafruit Circuit Playground Bluefruit
- Introductory Examples - Adafruit Circuit Playground Bluefruit
- Quick Reference Guide - Adafruit Circuit Playground Bluefruit
- Soft Sensing Examples - Adafruit Circuit Playground Bluefruit
- Hobby Servo Examples - Adafruit Circuit Playground Bluefruit
- Audio Examples - Adafruit Circuit Playground Bluefruit
- Motor Pump Examples - Adafruit Circuit Playground Bluefruit
- Ticklish Device Example - Adafruit Circuit Playground Bluefruit
- Bluetooth Sensor Capture - Adafruit Circuit Playground Bluefruit
- Bluetooth Remote Control - Adafruit Circuit Playground Bluefruit
Adafruit Crickit with Circuit Playground Bluefruit¶
The Adafruit Cricket is a baseboard which accepts an Circuit Playground Bluefruit (CPB) on top and adds motor drivers, servo output connectors, motor power input, and more.
Cytron Maker Pi RP2040¶
The Cytron Maker Pi RP2040 board integrates a RP2040 microcontroller with hardware suitable for a small robot: two DC motor drivers, four servo connectors, battery input, LED indicators, switches, and seven Grove connectors.
Cytron Maker Pi with Pi Pico¶
The Cytron Maker Pi Pico is a carrier board for a Raspberry Pi Pico which includes buttons, LEDS, speaker, audio jack, SD card slot, and Grove connectors. It doesn’t include the Pi Pico itself.