Adafruit is open and shipping! Let's build back better, together!
0

CircuitPython 6.0.0 released! @adafruit @circuitpython

This is CircuitPython 6.0.0, the latest major revision of CircuitPython, and is a new stable release.

Download from circuitpython.org

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 see the unstable release 6.0.0-rc.2 when you browse circuitpython.org, that release is older. Use this one.)

Installation

To install follow the instructions in our new Welcome to CircuitPython! guide. To install the latest libraries, see this page in that guide.

Try the latest version of the Mu editor for creating and editing your CircuitPython programs and for easy access to the CircuitPython serial connection (the REPL).

Port status

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.

Major new features and improvements since 5.x

  • New port to ESP32-S2 chip.
  • RGBMatrix display support.
  • countio module to count pulses.
  • watchdog controls hardware watchdog timer. Only on certain ports.
  • vectorio provides native displayio shapes.
  • canio provides support for CAN bus operations.
  • _bleio adds support for HCI-based BLE co-processors, such as AirLift boards.
  • aesio provides support for AES computations.
  • async/await made available by default in many builds; support improved.
  • Network modules are revamped, adding wifi, socketpool, ssl, and other modules. Disabled socket, wiznet5k and network modules. They will be removed in 7.x in favor of networking libraries.
  • Updated stage and pew libraries.
  • _pixelbuf improvements.
  • Improved USB serial detection.
  • json can now read from stream objects.
  • pulseio.PWMOut is split out into pwmio.PWMOut. It is still available in pulseio, but that is deprecated and will be removed in 7.x.
  • Added memorymonitor for memory debugging. It is not enabled by default.
  • Reduced power consumption (light sleep) during time.sleep() when possible.

Breaking changes since 5.x

  • i2cslave is now i2cperipheral and the class in it is changed as well.
  • The stop kwarg has been removed from I2C.writeto(). If no stop is desired, then use writeto_then_readfrom.
  • The default speed of busio.I2C and board.I2C() is now 100khz, not 400khz as before. Use busio.I2C to set the speed explicitly.
  • _bleio.ConnectionError has been removed. Code will now raise the native ConnectionError instead.

New boards since 5.3.1 (38 boards)

  • Adafruit BLM Badge
  • Adafruit Feather M4 CAN
  • Adafruit Matrix Portal M4
  • Adafruit Metro ESP32S2
  • Adafruit Metro M7 1011
  • Adafruit QT Py
  • Adafruit QT Py Haxpress
  • AloriumTech Evo M51
  • Atmel SAME54 Xplained
  • BDMicro Vina D51
  • BH Dynamics DynOSSAT-EDU-EPS
  • BH Dynamics DynOSSAT-EDU-OBC
  • BLE-SS Dev Board Multi Sensor
  • Electronic Cats Bastwifi
  • Espressif Saola 1 w/WROOM
  • Espressif Saola 1 w/WROVER
  • Fluff M0
  • HiiBot BlueFi
  • Ikigaisense Vita nRF52840
  • Loc Ber M4
  • MakerDiary M60 Keyboard
  • MakerDiary nRF52840 M.2 devkit
  • Makerdairy Pitaya Go
  • Muselab nano ESP32-S2
  • Nice Nano
  • Nordic PCA10100
  • OpenMV H7
  • Picoplanet
  • PyCubed MRAM
  • Raytac MDBT50Q-DB-40
  • STM32F746 Discovery
  • STM32F746 Nucleo
  • Seeeduino Wio Terminal
  • Simmel
  • Teensy 4.1
  • TinkeringTech ScountMakes
  • UnexpectedMaker FeatherS2
  • microDev microS2 (ESP32-S2)

Known issues

  • We are not aware of any show-stopper issues.
  • See https://github.com/adafruit/circuitpython/issues for other issues.

Thanks

Thank you to all who used, tested, and contributed since 5.3.1. See the 5.4.0 and 6.0.0 alpha, beta and RC releases for all who contributed. Join us on the Discord chat to collaborate.

Documentation

Documentation is available in readthedocs.io.

This release is based on MicroPython 1.9.4 @25ae98f. Support upstream MicroPython by purchasing a PyBoard (from Adafruit here) or sponsoring MicroPython on GitHub.

Translations

One important feature of CircuitPython is translated control and error messages. With the help of fellow open source project Weblate, we’re making it even easier to add or improve translations. Sign in with an existing account such as Github, Google or Facebook and start contributing through a simple web interface. No forks or pull requests needed!

Troubleshooting

Check out this guide for info on common problems with CircuitPython. If you are still having issues, then post to the Adafruit Support Forums and join Discord.

Assets

Builds are no longer stored as assets on this release page, because there are too many of them. Please see the Download from circuitpython.org section above.


Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.

Join 25,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7pm ET! To join, head over to YouTube and check out the show’s live chat – we’ll post the link there.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Follow Adafruit on Instagram for top secret new products, behinds the scenes and more https://www.instagram.com/adafruit/

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


Maker Business — To make it through a tough business cycle, layoffs should be a last resort

Wearables — Old iThings

Electronics — Too much noise?

Python for Microcontrollers — Python on Microcontrollers Newsletter: CircuitPython 6 released and projects galore! #Python #Adafruit #CircuitPython @micropython @ThePSF

Adafruit IoT Monthly — CO2 Cuckoo Clock, Wippersnapper, and more!

Microsoft MakeCode — Making a Smart LEGO Ferris Wheel!

EYE on NPI — Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — New Products 11/18/2020 Featuring Ultra Flexible White LED Strip – 320 LED per meter -1m long~3000K!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



No Comments

No comments yet.


Leave a comment

Adafruit has a "be excellent to each other" comment policy. Help us keep the community here positive and helpful. Stick to the topic, be respectful of makers of all ages and skill levels. Be kind, and don't spam - Thank you!

Prove you are human by reading this resistor:

0Ω+/- 5%

0
0
1
2
3
4
5
6
7
8
9

0
0
1
2
3
4
5
6
7
8
9

0
0
1
2
3
4
5
6
7
8
9

5
5
10

Prove you are human by reading this resistor:


Click/tap drag the number in the circle of each slider on the left to the matching color band on the resistor.

Can't view resistor colors? Don't worry! Just type your comment and hit submit without moving the sliders. Our moderators will review and approve in a jiffy.

Click Here for a new resistor image.

New to electronics? Click here to learn how to read resistor values.

Or learn to read resistors by playing Mho's Resistance!