# CircuitPython

> A Python implementation for teaching coding with microcontrollers

Source: https://talira.ai/catalog/circuitpython-vzvv6wwp
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Firmware
- Categories: [engineering / embedded / runtimes](https://talira.ai/categories/engineering/embedded/runtimes), [languages / python](https://talira.ai/categories/languages/python)
- Licence: MIT[^2]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Runs on: Microchip SAM D, SAM C and SAM E5x, Nordic nRF52, RP2040, RP2350, ESP32, STM32, NXP i.MX RT, Silicon Labs EFR32, Analog Devices MAX32, Sony CXD56 (Spresense)[^3][^4]
- Flashed with: UF2 drag and drop, web flasher in the browser, USB serial[^1][^5]
- Configured with: Source code, config files[^1]
- Devices: [Supported devices](https://circuitpython.org/downloads)[^3]
- Implements: [Python](https://talira.ai/catalog/python-tgjs08pq.md)
- Supports: [Bluetooth](https://talira.ai/standards/bluetooth.md)[^1]
- Backed by: [Adafruit](https://talira.ai/orgs/adafruit.md)
- Forked from [MicroPython](https://talira.ai/catalog/micropython-brxwnp98.md) in 2016.

CircuitPython is Adafruit's beginner friendly, open source version of Python for microcontrollers, based on [MicroPython](https://talira.ai/catalog/micropython-brxwnp98.md). Most boards install it by drag and drop and then show up as a USB drive called CIRCUITPY: edit `code.py` there and the board reloads it, with no other software than a text editor. Boards without native USB connect over Bluetooth Low Energy, and code.circuitpython.org edits code in the browser. Compared with MicroPython it has unified hardware APIs instead of the `machine` module, CPython-compatible `os`, `time` and `random`, a safe mode after crashes, translated error messages and over 300 device libraries and drivers, which also run on single board computers through Adafruit Blinka; interrupts and threading are disabled. It runs on SAMD, nRF52, RP2040, RP2350, ESP32, STM32, i.MX RT, Silicon Labs EFR32, Analog Devices MAX32 and Sony Spresense boards, with more through its Zephyr port.

## Links

- Website: https://circuitpython.org/
- GitHub: https://github.com/adafruit/circuitpython
- Docs: https://docs.circuitpython.org/

## Problems it solves

- learn to code by making LEDs, sensors and buttons do things on a cheap board
- program a microcontroller in Python without installing a toolchain or IDE
- edit my board's code like a file on a USB drive and see it run right away
- teach a classroom of beginners electronics and programming with the same boards
- use ready-made Python drivers for hundreds of sensors and displays
- run the same Python sensor code on a microcontroller and a Raspberry Pi
- program a board that only has Bluetooth from my phone or the browser
- make a USB keyboard, mouse or MIDI device from a microcontroller in Python
- recover a board after my code crashed it, without reflashing

## Features

- CIRCUITPY USB drive: edit code.py and it reloads automatically
- file and serial access over Bluetooth Low Energy on boards without USB
- browser editor at code.circuitpython.org
- unified hardware APIs across boards
- CPython-compatible os, time and random modules
- safe mode after a hard crash or brown out
- error messages translated into 10+ languages
- 300+ device libraries and drivers, also usable on single board computers via Adafruit Blinka
- USB HID, MIDI and mass storage from Python
- settings.toml for Wi-Fi and other settings

## Limitations

- No interrupts or threading in Python: async/await for cooperative multitasking on some boards[^1]

## Trust

Overall: 0.27 out of 1.
Signals: backing 0.30, extensibility 0.00.

- backed by Adafruit

Warnings:

- GitHub activity not fetched yet

## Related

- Implements [Python](https://talira.ai/catalog/python-tgjs08pq.md)

## Alternatives

- [MicroPython](https://talira.ai/catalog/micropython-brxwnp98.md): Python for microcontrollers
- [Espruino](https://talira.ai/catalog/espruino-gqnqqmy5.md): JavaScript for microcontrollers

## Sources

[^1]: https://github.com/adafruit/circuitpython (checked 23 Nov 2026)
[^2]: https://github.com/adafruit/circuitpython/blob/main/LICENSE (checked 23 Nov 2026)
[^3]: https://circuitpython.org/downloads (checked 23 Nov 2026)
[^4]: https://github.com/adafruit/circuitpython/tree/main/ports (checked 23 Nov 2026)
[^5]: https://circuitpython.org/board/adafruit_feather_esp32s3_4mbflash_2mbpsram/ (checked 23 Nov 2026)
