Adafruit has today announced the availability of CircuitPython 6.1.0-rc.1, the second release candidate of CircuitPython 6.1.0. CircuitPython has a number of “ports” that are the core implementation for a variety of microcontroller families. Stability varies on a per-port basis. As of this release, atmel-samd, nrf, and stm for the F4 family are stable. cxd56, esp32s2, and stm for other chip families are being actively improved but may be missing functionality and have bugs. litex and mimxrt10xx are in an alpha state and will have bugs and missing functionality.
What is CircuitPython?
CircuitPython is a beginner-friendly programming language designed to simplify experimenting and learning to code on low-cost microcontroller boards. It is an open-source derivative of the MicroPython programming language, which is itself a reimplementation of Python 3 optimized to run on microcontrollers. CircuitPython makes it easy to get started with hardware programming by eliminating the need for complex toolchains and providing a straightforward, interactive coding experience.
With CircuitPython, there are no upfront desktop downloads needed. Once you get your board set up, open any text editor, and start editing code. It’s that simple. This ease of use makes it an excellent choice for educators, students, and hobbyists who want to dive into the world of electronics and coding without a steep learning curve.
Supported Microcontroller Families
CircuitPython supports a wide range of microcontroller families, each with varying levels of stability and functionality. Here’s a closer look at the current state of support for different microcontroller families:
– Stable Ports: The atmel-samd, nrf, and stm for the F4 family are considered stable. These ports have been thoroughly tested and are reliable for most applications.
– Actively Improved Ports: The cxd56, esp32s2, and stm for other chip families are being actively improved. While these ports are functional, they may still have some bugs and missing features.
– Alpha State Ports: The litex and mimxrt10xx ports are in an alpha state. These ports are in the early stages of development and are expected to have significant bugs and missing functionality.
The diversity of supported microcontroller families allows users to choose the best hardware for their specific needs, whether it’s for a simple DIY project or a more complex application.
“Downloads are available from circuitpython.org. The site makes it easy to select the correct file and language for your board. The downloads page is here. Downloads are no longer available from the GitHub release pages because of the large number of files for each release. If you find any issues with this release, please file an issue. If no significant issues are found within a few days, we’ll release this version as stable.”
Getting Started with CircuitPython
To get started with CircuitPython, follow these simple steps:
1. Choose Your Board: Select a compatible microcontroller board from the list of supported hardware on the CircuitPython website.
2. Download CircuitPython: Visit the downloads page on circuitpython.org to find the appropriate firmware for your board. The site provides an easy-to-navigate interface to help you select the correct file and language.
3. Install CircuitPython: Follow the installation instructions provided on the website to flash the firmware onto your board.
4. Start Coding: Once the firmware is installed, connect your board to your computer via USB. Open any text editor, such as Mu or Thonny, and start writing your Python code. Save your code directly to the board, and it will run automatically.
CircuitPython’s simplicity and ease of use make it an ideal platform for rapid prototyping and experimentation. Whether you’re building a simple sensor project or a more complex interactive device, CircuitPython provides the tools and resources you need to bring your ideas to life.
Source: Adafruit
Latest Geeky Gadgets Deals
Disclosure: Some of our articles include affiliate links. If you buy something through one of these links, Geeky Gadgets may earn an affiliate commission. Learn about our Disclosure Policy.