Daily tips and tricks from the experts at Adafruit!
View this email in your browser

View this email in your browser. Warning: Flashing Imagery

Welcome to the latest Python on Microcontrollers newsletter! A surprise announcement from Raspberry Pi – a baked-in solution to control an internet connected Raspberry Pi from anywhere makes it easier to deploy the boards. The Matter standard is becoming more mature for the Internet of Things but actual use of hardware + software still seems sparse. Python 3.13 gets a major step closer to release. Finally the crop of projects around the ‘net this week is superb, I couldn’t fit them all! And if you’re going to PyCon US, catch my colleague Jeff Epler giving a talk and more – 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:

Raspberry Pi Connect Now Available

Raspberry Pi Connect

Raspberry Pi announced the beta release of Raspberry Pi Connect: a secure and easy-to-use way to access your Raspberry Pi remotely, from anywhere on the planet, using just a web browser – Raspberry Pi News.

“It’s often extremely useful to be able to access your Raspberry Pi’s desktop remotely. There are a number of technologies which can be used to do this, including VNC, and of course the X protocol itself. But they can be hard to configure, particularly when you are attempting to access a machine on a different local network; and of course with the transition to Wayland in Raspberry Pi OS Bookworm, classic X remote desktop support is no longer available.

We wanted to be able to provide you with this functionality with our usual ‘it just works’ approach. Enter Raspberry Pi Connect.”

The Updated Matter 1.3 Internet of Things Standard Brings Energy Monitoring, Electric Vehicle Charging Support, and More

Updated Matter 1.3 Standard

The new Matter 1.3 standard provides energy monitoring, electric vehicle charging support, and more – hackster.io.

“The addition of these new device types and functionalities in Matter 1.3 enables product manufacturers and controllers to begin implementing and certifying these features into new and existing products.”

Coming up at PyCon US: Jeff Epler’s talk on “Connecting Old to New with CircuitPython: Retrocomputer input devices on modern PCs”

Connecting Old to New with CircuitPython

CircuitPython developer Jeff Epler will be giving the talk “Connecting Old to New with CircuitPython: Retrocomputer input devices on modern PCs” on Sunday May 19th, 2024 1:45 p.m.-2:15 p.m. in Hall C at PyCon US 2024 – PyCon US via Mastodon.

“No keyboards were harmed in the preparation of this talk. Preservation is important, and I only discuss “non-invasive”, alteration-free techniques here, using original wiring & connectors only. Sunday afternoon in Hall C has been arranged as a lovely hardware mini-track, with a presentation on robots before me and one on machine learning with FPGAs to follow. You can also find me in the hallway track & 2 days of sprints. Please don’t hesitate to introduce yourself!”

Python 3.13.0 Beta 1 is Out Now

Python 3.13.0b1 now available

Python 3.13.0 beta 1 has been released. The 3.13 branch has been created and features for 3.13 are now frozen. The main branch is now 3.14.0a0. Beta release previews are intended to give the wider community the opportunity to test new features and bug fixes and to prepare their projects to support the new feature release. The Python developers strongly encourage maintainers of third-party Python projects to test with 3.13 during the beta phase and report issues found to the Python bug tracker as soon as possible – Python Discussion Forums and Python Insider Blog.

Adafruit Reaches 750 OSHWA Certified Open Source Hardware Projects

Adafruit 750 OSHWA projects

Adafruit has certified 750 open source designs with the Open Source Hardware Association (OSHWA). The current total worldwide is 2,768 – OSHWA.

Is The New Orange Pi 5 Pro A Good Raspberry Pi 5 Alternative?

Is The New Orange Pi 5 Pro A Good Raspberry Pi 5 Alternative?

Is the new Orange Pi 5 Pro a good Raspberry Pi 5 alternative? – The DIY Life.

“The Orange Pi 5 Pro is a great board if there is a software package or OS image built for it or if you have a good understanding of software and programming, but for the average hobbyist or tinkerer, if you’re trying a project that hasn’t been tried before, or you’re running a project that utilises the GPIO pins then you’re probably better off with the Raspberry Pi 5.”

This Week’s Python Streams

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

Deep Dive

Last Friday, Tim streamed work on Library PR Testing + Some Circup Stuff.

You can see the latest video and past videos on the Adafruit YouTube channel under the Deep Dive playlist – YouTube.

CircuitPython Parsec

CircuitPython Parsec

John Park’s CircuitPython Parsec this week is on Touchwheel – Adafruit Blog and YouTube.

Catch all the episodes in the YouTube playlist.

CircuitPython Weekly Meeting

CircuitPython Weekly Meeting for May 6, 2024 (notes) on YouTube.

Project of the Week: Reducing Raspberry Pi Pico W Power Consumption

Reducing Raspberry Pi Pico W power consumption

Reducing Raspberry Pi Pico W power consumption and a second attempt at using solar panels – STFN.

“I am convinced that with the current setup, the Pi Pico W can run indefinitely, or well, at least until late Autumn, when the days will be much shorter. But we’ll measure that bridge when we get there.”

Popular Last Week

What was the most popular, most clicked link, in last week’s newsletter? CircuitPython vs. Arduino’s C++ Language for ESP32: A Comparative Analysis.

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.

Stuff My Dog Said (via AdafruitIO)

Stuff My Dog Said via CircuitPython and Adafruit IO – Adafruit Playground.

Reading Pixels from the RA8875 Driver Board

Reading pixels from the RA8875 display driver board – Adafruit Playground.

NeoPixel Stick and Pi Pico

Do you need to add a simple diagnostic display to a Pico project? Or perhaps you want a quick and easy NeoPixel light show? This project with CircuitPython may help – Adafruit Playground.

News From Around the Web

Drawing robot kit programmed in CircuitPython

River Wang purchased a drawing robot kit and programmed it using CircuitPython. It processes gcode converted from images to draw images on paper – YouTube and GitHub, via X.

A Simple Air Quality Monitor

A simple air quality monitor with an Adafruit Matrix Portal and CircuitPython – Instructables.

Making a burglar alarm using Raspberry Pi Pico and MicroPython – Instructables and YouTube.

CircuitPython Neopixel BMP Animation

CircuitPython NeoPixel BMP animation with Xiao and CircuitPython – hackster.io.

micro-repl

micro-repl is an easy, SerialPort based, MicroPython REPL for microcontrollers. – GitHub.

Matrix

A Matrix like dripping display with CircuitPython – X.

CircuitPython Online IDE 2

The CircuitPython Online IDE 2 will be shown at Maker Faire Long Island 2024 – X.

Outdoor sensor reading

“I wanted to do an experiment outdoors with a device equipped with a large battery, so while I was asleep, I created a program that reads sensor values ​​with the M5 Cardputer TVOC Unit configuration and continues to send them via MQTT. Since I was getting used to CircuitPython, I was able to get it up and running in 30 minutes” – X (Japanese).

Electronic beer pouring game

A beer “pouring” game with a Pimoroni display and MicroPython – X (Japanese).

Hackbat

Hackbat is an open-source hacking hardware platform based on the RP2040 with RF, NFC, USB, and SD card ready, for pen testing research and programmable in Python – hackster.io via Tom’s Hardware.

Fonts and Font Writer for the MicroPython framebuffer

100 fonts and a font writer for the MicroPython framebuffer – GitHub via Mastodon.

A beer fermentation controller

Building an ESP32 beer fermentation controller with MicroPython – Mastodon.

Circuitpython Tiled Marquee

A Circuitpython tiled NeoPixel marquee with Xiao – hackster.io.

Robots

“Year 8’s with their Pico Microprocessors programmed to output to a motor controller. Prototyping and experimenting with PWM, MicroPython and Physics” – X.

Wee Noise Maker PGB1

Wee Noise Maker PGB1 opens an audio synth gateway for musicians and hackers alike and it can be programmed in CircuitPython – hackster.io.

Linnux on Android

Run Linux (and Python) on your Android device – GitHub and Wiki.

ISPLab

ISPLab is an open-source and platform-free ISP pipeline converting 10-bit RAW data to 8-bit RGB/YUV image without any 3rd party libraries – GitHub.

New

KittenBot FutureBoard Lite

The KittenBot FutureBoard Lite is an ESP32-S3 AIOT educational controller running CircuitPython – KittenBot via X.

HDMI and audio input to Raspberry Pi

C790 HDMI to MIPI CSI adapter adds HDMI and audio input to Raspberry Pi SBCs (Raspberry Pi Zero, 3B, 3B+, 4B, CM3, CM4 with MIPI CSI-2 input port) – CNX Software.

NVME+LTE/5G Hats

NVME+LTE/5G Hats for Raspberry Pi 5 – HackerGadgets.

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.

There were no new boards added this week but there are some in the works.

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:

Updated Learn Guides

Raspberry Pi Wearable Time Lapse Camera

Raspberry Pi Wearable Time Lapse Camera

CircuitPython Libraries

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 483!

New Libraries

Here’s this week’s new CircuitPython libraries:

Updated Libraries

Here’s this week’s updated CircuitPython libraries:

Library PyPI Weekly Download Stats

Total Library Stats

  • 106564 PyPI downloads over 326 libraries

Top 10 Libraries by PyPI Downloads

  • Adafruit CircuitPython Requests (adafruit-circuitpython-requests): 7996
  • Adafruit CircuitPython BusDevice (adafruit-circuitpython-busdevice): 7736
  • Adafruit CircuitPython ConnectionManager (adafruit-circuitpython-connectionmanager): 6897
  • Adafruit CircuitPython Register (adafruit-circuitpython-register): 2465
  • Adafruit CircuitPython ESP32SPI (adafruit-circuitpython-esp32spi): 1291
  • Adafruit CircuitPython Wiznet5k (adafruit-circuitpython-wiznet5k): 973
  • Adafruit CircuitPython Motor (adafruit-circuitpython-motor): 947
  • Adafruit CircuitPython NeoPixel (adafruit-circuitpython-neopixel): 930
  • Adafruit CircuitPython MiniMQTT (adafruit-circuitpython-minimqtt): 832
  • Adafruit CircuitPython Pixelbuf (adafruit-circuitpython-pixelbuf): 822

What’s the CircuitPython team up to this week?

What is the team up to this week? Let’s check in:

Dan

I’m working on an out-of-memory error that occurs when using SSL network sockets. I refactored some existing code to prevent it doing some initialization more than once, which it was doing previously, but that did not help. I’m still debugging the problem.

Melissa

This past week I’ve been working on the CircuitPython Code Editor and fixing up some bugs. I have a Pull Request in and I am currently working on improving the experience for managing files with USB file transfer. This should make using USB connected boards much easier to program using the editor.

Tim

I ran scripts to create ‘good first issues’ on driver libraries looking for displayio examples to be contributed. I’ve also been reviewing may networking related PRs. This week I also completed several changes requested in a prior review on an old PR to the AVRProg library in order to get it into a good state for merging.

Jeff

Jeff

I performed several releases of the circuitpython-fonts bundle to fix a compatibility problem with circup. Now the libraries in this bundle should be installable with the latest circup again.

I’ll also be at PyCon US 2024. Find me Sunday May 19th, 2024 1:45 p.m.-2:15 p.m. in Hall C for my talk “Connecting Old to New with CircuitPython: Retrocomputer input devices on modern PCs”, as well as in the hallway track & the first two days of sprints. I’d love to meet any and all community members, so don’t hesitate to introduce yourself to me.

Liz

This week I’ve been working on a guide for the QT Py CH552. This QT Py has a CH552 chip on it, which is an 8051 processor. It requires a C compiler, so you can’t use Arduino libraries with it but there is an Arduino IDE BSP that lets you compile and upload code to it over USB. It’s been fun getting to learn how to use this board and experiment with the example.

Upcoming Events

PyCon US 2024 launches May 15-23, 2024 in Pittsburgh, Pennsylvania US – PyCon US.

MicroPython Meetup

The next MicroPython Meetup in Melbourne will be on May 22 – Meetup. You can see recordings of previous meetings on YouTube.

Open Sauce

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 – EuroPython 2024.

PyOhio 24

PyOhio is being held July 27-28, 2024 in Cleveland, Ohio – PyOhio.

Espressif DevCon24

Espressif DevCon24 will be held Sep 3-5, 13:00-18:00 CEST. Call for presentations now – Espressif.

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.4 and its unstable release is 9.1.0-beta.1. New to CircuitPython? Start with our Welcome to CircuitPython Guide.

20240510 is the latest Adafruit CircuitPython library bundle.

20240502 is the latest CircuitPython Community library bundle.

v1.22.2 is the latest MicroPython release. Documentation for it is here.

3.12.3 is the latest Python release. The latest pre-release version is 3.13.0b1.

3,911 Stars Like CircuitPython? Star it on GitHub!

Call for Help – Translating CircuitPython is now easier than ever

CircuitPython translation statistics on weblate

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,204 Thanks

39,204R THANKS

Adafruit Discord

The Adafruit Discord community, where we do all our CircuitPython development in the open, reached over 39,204 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

ICYMI

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.