View this email in your browser. Warning: Flashing Imagery
Welcome to the latest Python on Microcontrollers newsletter! We’re in the thick of the warm weather Python and Maker events. Which will you be attending? They are great chances to meet your fellow creatives. There is a solid lineup of content in this issue, I hope you find it interesting – Anne Barela, Ed.
We’re on Discord, Twitter, and for past newsletters – view them all here. If you’re reading this on the web, subscribe here. Here’s the news this week:
CircuitPython 9.0.3 Released
CircuitPython 9.0.3 is the latest bugfix release of CircuitPython, and is a new stable release. The only changes to 9.0.3 from 9.0.2 are a fix for AnalogIn
on Nordic nRF boards, and the addition of the Waveshare RP2040-GEEK board – Adafruit Blog and release notes.
Espressif Chip News
Back in our January 10, 2023 issue, we discussed the new ESP32-C6 and ESP32-P4. Now the C6 is on the market and Espressif has more P4 news.
Adafruit has announced the Adafruit ESP32-C6 Feather, a C6 development board in the ubiquitous Feather form factor. It integrates 2.4 GHz WiFi 6, Bluetooth 5 (LE) and the 802.15.4 protocol. It brings the goodness you know from the low-cost C3 series and improves it with Zigbee/802.15.4 at 2.4Ghz. It could make for great Matter development hardware! There is also a BME280 temperature and humidity sensor onboard to make an integrated sensor node – Adafruit.
A new video just released by Espressif: “Unveiling ESP32-P4: High-performing SoC with extensive IO connectivity, HMI, and security features” – YouTube and Product Page.
WiFi Power Management for the Raspberry Pi Pico W
On Adafruit Playground, user blakebr discusses the CircuitPython cyw43 library, used with the WiFi module on the Raspberry Pi Pico. Code samples show adjusting various power options – Adafruit Playground.
Comparing the Three Main Zero Form Factor SBC’s in the Market Right Now
Comparing the three main Raspberry Pi Zero form factor single board computers (SBC) in the market right now: Raspberry Pi Zero 2W, Orange Pi Zero 2W, and Radxa Zero 3W – YouTube.
Python Software Foundation News in Brief
PSF joins the new Open Initiative for Cybersecurity Standards – PSF.
April 2024 Newsletter including PyCon 2024 information and more – PSF News.
Reporting PyPI Malware – PyPI Blog.
The Ultimate Raspberry Pi 5 NAS (Perhaps)
Hooking a Raspberry Pi 5 to Radxa’s latest iteration of its Penta SATA HAT. Is the Pi 5 noticeably faster than the Pi 4 for NAS applications? Yes – Jeff Geerling and YouTube.
This Week’s Python Streams
Python on Hardware is all about building a cooperative ecosphere which allows contributions to be valued and to grow knowledge. Below are the streams within the last week focusing on the community.
CircuitPython Deep Dive Stream
Last Friday, Scott streamed work on USB Host Featherwing + PyCascades practice.
You can see the latest video and past videos on the Adafruit YouTube channel under the Deep Dive playlist – YouTube.
CircuitPython Parsec
John Park’s CircuitPython Parsec was off last week. Catch all the episodes in the YouTube playlist.
CircuitPython Weekly Meeting
CircuitPython Weekly Meeting for April 1 (notes) on YouTube.
Project of the Week: The bitmapfilter
Library
There’s a neat new core library in CircuitPython by Tod Kurt: bitmapfilter
. Originally designed for the PyCamera project, it’s got many useful operations for generative art. A demonstration: random circles bluring away. Note: it does require a fast processor like the ESP32-S3 – Mastodon.
Popular Last Week
What was the most popular, most clicked link, in last week’s newsletter? BeagleBoard.Org Delivers the BeagleY-AI.
New Notes from Adafruit Playground
Adafruit Playground is a new place for the community to post their projects and other making tips/tricks/techniques. Ad-free, it’s an easy way to publish your work in a safe space for free.
Running Pi-HATs with a Raspberry Pi Pico – Adafruit Playground.
Github Desktop CRLF to LF PowerShell Fix – Adafruit Playground.
A Hiking Masterpiece with Feather and CircuitPython – Adafruit Playground.
News From Around the Web
Circuit Playground Express: For Education, Pros Too? – Embedded Computing.
PhotonPower Zero lets you power a Pi Zero board from a solar cell, with a LiIon backup. It has a microcontroller for power management – Hackaday, GitHub and YouTube.
Setting A Dockerized Python Environment — The Elegant Way – Medium.
How uv
saves Home Assistant 215 compute hours per month over pip
– Home Assistant Developers.
Give your Pi Pico captouch inputs for all your music needs – Hackaday.
A customizable GUI in Python for ODrive V3.6 and other compatible boards – YouTube.
Build Your Own Web Server on Raspberry Pi Pico W with MicroPython – hackster.io.
BPI-PicoW-S3 OLED real-time animation display of dual-axis joystick position using CircuitPython – X.
Flashing MicroPython firmware on a Seeed Studio Xiao ESP32-C3 – hackster.io.
HATs and bonnets to give your Raspberry Pi 400 a cyberdeck feel – Raspberry Pi News.
CSV Data Logger: Read and Write CSV Files with Pi Pico W and MicroPython – Hackster.io.
MagiClick S3, a single button keyboard using CircuitPython – Hackaday.io.
The best Python programming books to read in 2024 – Marktechpost.
ESP32 In MicroPython: Interrupts – I Programmer.
The top ten Python libraries for Machine Learning and Deep Learning in 2024 – Marktechpost.
New
Make posts about a new C6 board – X.
“We got our hands on Seeed Studio’s new Xiao ESP32-C6 just in time for a weekend full of SmartHome maker projects! For just over $5 you get dual 32-bit RISC-V, WiFi 6, BLE, and IEEE 802.15.4 (Thread/Zigbee), plus Matter compliance and a BLE/WiFi range of up to 80m!”
Radxa releases Rock 5C and Rock 5C Lite to take on Raspberry Pi 5 – NotebookCheck.
New Boards Supported by CircuitPython
The number of supported microcontrollers and Single Board Computers (SBC) grows every week. This section outlines which boards have been included in CircuitPython or added to CircuitPython.org.
This week there were two new boards added:
Note: For non-Adafruit boards, please use the support forums of the board manufacturer for assistance, as Adafruit does not have the hardware to assist in troubleshooting.
Looking to add a new board to CircuitPython? It’s highly encouraged! Adafruit has four guides to help you do so:
New Learn Guides
IoT Battery Monitor from Ruiz Brothers
Updated Learn Guides
Which CircuitPython Board is Right for You? from Kattni Rembor and Anne Barela
CircuitPython Libraries
The CircuitPython library numbers are continually increasing, while existing ones continue to be updated. Here we provide library numbers and updates!
To get the latest Adafruit libraries, download the Adafruit CircuitPython Library Bundle. To get the latest community contributed libraries, download the CircuitPython Community Bundle.
If you’d like to contribute to the CircuitPython project on the Python side of things, the libraries are a great place to start. Check out the CircuitPython.org Contributing page. If you’re interested in reviewing, check out Open Pull Requests. If you’d like to contribute code or documentation, check out Open Issues. We have a guide on contributing to CircuitPython with Git and GitHub, and you can find us in the #help-with-circuitpython and #circuitpython-dev channels on the Adafruit Discord.
You can check out this list of all the Adafruit CircuitPython libraries and drivers available.
The current number of CircuitPython libraries is 480!
Updated Libraries
Here’s this week’s updated CircuitPython library:
Library PyPI Weekly Download Stats
Total Library Stats
- 136852 PyPI downloads over 325 libraries
Top 10 Libraries by PyPI Downloads
- Adafruit CircuitPython Requests (adafruit-circuitpython-requests): 8193
- Adafruit CircuitPython BusDevice (adafruit-circuitpython-busdevice): 7664
- Adafruit CircuitPython ConnectionManager (adafruit-circuitpython-connectionmanager): 6272
- Adafruit CircuitPython Register (adafruit-circuitpython-register): 2347
- Adafruit CircuitPython Motor (adafruit-circuitpython-motor): 1288
- Adafruit CircuitPython MiniMQTT (adafruit-circuitpython-minimqtt): 1223
- Adafruit CircuitPython Display Text (adafruit-circuitpython-display-text): 1146
- Adafruit CircuitPython ServoKit (adafruit-circuitpython-servokit): 1106
- Adafruit CircuitPython ADS1x15 (adafruit-circuitpython-ads1x15): 1042
- Adafruit CircuitPython NeoPixel (adafruit-circuitpython-neopixel): 1027
What’s the CircuitPython team up to this week?
What is the team up to this week? Let’s check in:
Dan
I released CircuitPython 9.0.3 this past week to fix a problem with AnalogIn
on Nordic nRF boards. I’m continuing to work on issues on the 9.x.x issue list.
Melissa
This past week, I’ve been working on updating Learn guides and their associated code. Some that I’ve updated include the Magic Storybook with ChatGPT guide, the Adafruit DPI Display Kippah guide, and the Adding a Real Time Clock to Raspberry Pi guide.
Jeff
I made enhancements to floppyio
and adafruit_floppy
to make it work better with the upcoming “floppsy” board. These changes are incompatible, so you’ll need different code for 9.0.x and older vs the unstable version of CircuitPython.
Scott
This week I put together my talk about wirelessly programming CircuitPython for PyCascades 2024. Once done with that, I switched back to working on USB host FeatherWing support. I have it working on nRF and ESP currently. Hopefully I can get SAMD and RP2040 working with it as well.
Liz
This past week I worked on a guide for the new SHT4x Trinkey. This Trinkey form factor board has an SHT41 or SHT45 temperature and humidity sensor onboard. I had a lot of fun with the demos for this one. I wrote up two CPython examples. One logs data from the Trinkey to a .CSV file and the other one logs data to Adafruit IO. I had never used the desktop Python Adafruit IO API but it was really easy to get up and running.
Upcoming Events
The next MicroPython Meetup in Melbourne will be on April 24th – Meetup. You can see recordings of previous meetings on YouTube.
The 2024 Open Hardware Summit will be taking place May 3 & 4, 2024 at Concordia University and lespacemaker in Montreal, Canada – oshwa.org.
PyCon US 2024 launches May 15-23, 2024 in Pittsburgh, Pennsylvania US – PyCon US.
Open Sauce, the Maker extravaganza, is returning to San Francisco, California June 15-16 – Open Sauce.
EuroPython is the oldest and longest running volunteer-led Python programming conference on the planet. This year it will be held July 8-14 in Prague. Call for Proposals, the Mentorship Programme, and the Financial Aid Programme will be starting this month – EuroPython 2024.
PyOhio is being held July 27-28, 2024 in Cleveland, Ohio. The organizing team welcomes you to submit your proposals to the CfP by May 21st – PyOhio.
Send Your Events In
If you know of virtual events or upcoming events, please let us know via email to cpnews(at)adafruit(dot)com.
Latest Releases
CircuitPython’s stable release is 9.0.3 and its unstable release is 9.1.0-beta.0. New to CircuitPython? Start with our Welcome to CircuitPython Guide.
20240402 is the latest Adafruit CircuitPython library bundle.
20240326 is the latest CircuitPython Community library bundle.
v1.22.2 is the latest MicroPython release. Documentation for it is here.
3.12.2 is the latest Python release. The latest pre-release version is 3.13.0a5.
3,871 Stars Like CircuitPython? Star it on GitHub!
Call for Help – Translating CircuitPython is now easier than ever
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! As always, if you run into trouble join us on Discord, we’re here to help.
39,021 Thanks
The Adafruit Discord community, where we do all our CircuitPython development in the open, reached over 39,021 humans – thank you! Adafruit believes Discord offers a unique way for Python on hardware folks to connect. Join today at https://adafru.it/discord.
ICYMI – In case you missed it
Python on hardware is the Adafruit Python video-newsletter-podcast! The news comes from the Python community, Discord, Adafruit communities and more and is broadcast on ASK an ENGINEER Wednesdays. The complete Python on Hardware weekly videocast playlist is here. The video podcast is on iTunes, YouTube, Instagram), and XML.
The weekly community chat on Adafruit Discord server CircuitPython channel – Audio / Podcast edition – Audio from the Discord chat space for CircuitPython, meetings are usually Mondays at 2pm ET, this is the audio version on iTunes, Pocket Casts, Spotify, and XML feed.
Contribute
The CircuitPython Weekly Newsletter is a CircuitPython community-run newsletter emailed every Monday. The complete archives are here. It highlights the latest CircuitPython related news from around the web including Python and MicroPython developments. To contribute, edit next week’s draft on GitHub and submit a pull request with the changes. You may also tag your information on Twitter with #CircuitPython.
Join the Adafruit Discord or post to the forum if you have questions.