ICYMI Python on Microcontrollers Newsletter: CircuitPython 8 beta 5 Released, More Raspberry Pis are Coming & More! #CircuitPython #ICYMI @micropython @Raspberry_Pi

If you missed Tuesday’s Python on Microcontrollers Newsletter, here is the ICYMI (in case you missed it) version.

To never miss another issue, subscribe now! – You’ll get one terrific newsletter each Tuesday (which is out before this post). 10,115 subscribers worldwide (we made it over 10k with your help!)

The next newsletter goes out in a week and being subscribed the best way to keep up with all things Python for hardware. No spam, no selling lists, leave any time.


Welcome to the latest Python on Microcontrollers newsletter! A great deal is happening in the community this week! The CircuitPython team is eager to get version 8.0.0 released and has resolved many issues. Another beta is likely later this week. Espressif also has a major update to their software for ESP processors which has breaking changes. The supply of Raspberry Pi single board computers is going to get better, first with some to be released immediately with supplies getting better in 2023. Some fabulous projects and happenings in the community to browse and so much more this week – 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 8.0.0 Beta 5 Released

CircuitPython 8.0.0 Beta 5 Released

CircuitPython 8.0.0-beta.5 has been released. It is relatively stable, but there will be further additions, fixes, and changes before final release – Adafruit Blog and GitHub.

WARNING: The flash partitioning for 2MB and 4MB flash ESP32 and ESP32-C3 boards has changed since 8.0.0-beta.2. When you load 8.0.0-beta.3 or later over beta.2 (or vice versa), on these boards, CIRCUITPY will be erased and reformatted.

WARNING: The flash partitioning for the Raspberry Pi Pico W has changed since 8.0.0-beta.1. When you load 8.0.0-beta.2 or later over beta.1 (or vice versa), on the Pico W, CIRCUITPY will be erased and reformatted.

Notable changes to 8.0.0 since 7.3.0

  • Added WiFi workflow with browser-based device discovery, filesystem browsing, upload, download, file editing, serial/REPL connection (available on Espressif and, as of 8.0.0-beta.5, Pi Pico W).
  • Added a one-line status bar, which displays connection status, last exception, and version on a terminal window title or on the top line of an attached display. Mu 1.2.0 and Thonny 4.0.x and later are able to suppress status bar information in the REPL output.
  • .env file in CIRCUITPY specifies WiFI connection parameters, BLE name, and other startup values.
  • dotenv support: os.getenv() values are set by values in .env file. Values can be fetched from other dotenv-format files.
  • WiFi functionality implemented on the Raspberry Pi Pico W.
  • Revised Espressif camera support, now available on ESP32, ESP32-S2, and ESP32-S3.
  • Bulk analog input: analogbufio (available only on RP2040 for now).
  • Pin state can be preserved during deep sleep (available only on Espressif for now).
  • Allow setting USB VID, PID, manufacturer, and product ids at runtime.
  • Enabled collections.deque on most builds.
  • MP3Decoder and WaveFile can now take a filename instead of an open file.
  • AnalogIn values are full range from 0 to 65535, instead of having zeros on low-order bits.
  • In-place firmware update (dualbank) capability may be disabled in favor of a larger CIRCUITPY drive.
  • Added TileGrid.contains().
  • Added os.utime().
  • Added coproc module, for running programs on an on-chip co-processor. Currently available for the RISC-V core on the ESP32-S2 and ESP32-S3.
  • A serial “break” on the USB or UART REPL serial connection will cause a KeyboardInterrupt, like ctrl-C. The advantage over ctrl-C is that the break interrupts even if the input buffer is full.
  • Add hidden property to vectorio shapes.
  • Add native _pixelmap.PixelMap support, for speed.
  • Chained exceptions are now implemented.

Raspberry Pi Supply Chain Update – it’s good news!

Raspberry Pi Supply Chain Update

For the first time in a couple of years of semiconductor supply chain hell, Raspberry Pi has got some good news. There are some supplies being released to retail channels and availability will improve in the first half of the year. The second half of 2023 will bring back significant stock – Raspberry Pi.

Video Interview – Guido van Rossum: Python and the Future of Programming

Guido van Rossum: Python and the Future of Programming

A recent interview by Lex Fridman: “Guido van Rossum: Python and the Future of Programming” – YouTube.

Korg Synthesizer Uses Raspberry Pi

Korg Synthesizer Uses Raspberry Pi

With the Wavestate Synthesizer, Korg has a spiritual successor to the legendary Wavestation Synthesizer from 1990. According to information from Sonicstate.com, the WT hardware is based on a Raspberry Pi. A video shows it more precisely – Synth Anatomy.

Tutorial Pages by Joey Castillo on Adafruit User Pages

Adafruit Learn User Pages are the new way to add your own content for making, using the same technology as the Adafruit Learning System, for free. Joey Castillo has written two tutorial pages this week – Mastodon.

Tutorial Pages

Build a NeoPixel-powered Christmas tree with an Adafruit LCD FeatherWing, and implement a one-button UI for scheduling it to turn on and off. Also use CircuitPython’s deep sleep feature to save as much power as possible when the tree is in its off state – Adafruit User Pages.

Tutorial Pages

Using a Nordic Power Profiler to measure current consumption in different phases of operation in the above project – Adafruit User Pages.

Espressif’s ESP-IDF 5.0 Is a “Major Update,” Brings Breaking Changes for Those Migrating

Espressif's ESP-IDF 5.0

Espressif’s ESP-IDF 5.0, a “Major Update,” is out and it brings breaking changes for those migrating from earlier versions. It brings a range of bug-fixes and new chip support, but deprecations and deletions mean caution is required before upgrading – hackster.io.

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

This week, Tim streamed work on Blinka_Displayio API Updates.

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 Timing with Ticks – Adafruit Blog and YouTube.

Catch all the episodes in the YouTube playlist.

The CircuitPython Show

The CircuitPython Show

The CircuitPython Show is an independent podcast hosted by Paul Cutler, focusing on the people doing awesome things with CircuitPython. Each episode features Paul in conversation with a guest for a short interview – CircuitPythonShow and Twitter.

In the latest episode, Alec Delaney joines the show and shares how CircuitPython uses continuous integration for development and its benefits – Show List.

Project of the Week: A Rainbow Weather Station

Pico Weather Station

Porting a weather rainbow project from ESP8266/Arduino to Raspberry Pi Pico with CircuitPython. “It’s so nice to be able to store WiFi and OpenWeatherMap info/credentials in an editable text file rather than messing around with the Arduino WiFi manager libraries. Also much easier to parse the weather data in Python” – Mastodon.

News from around the web!

Guitar Hero

Making a Guitar Hero game using a Pimoroni Galactic Unicorn and some MicroPython, powered by Raspberry Pi Pico W – Twitter.

20 Best Raspberry Pi Alternatives: The Best Single-Board Computer To Try – Ubuntu Pit.

Brake light and turn signals for backpacks

Brake light and turn signals for backpacks with an Adafruit Circuit Playground Express, NeoPixels and CircuitPython – Adafruit Blog and hackaday.io.

Mechanical Keyboard

Learn how to create your own personalized mechanical keyboard with Raspberry Pi Pico and CircuitPython – Instructables.

Unicode input device

The ultimate Unicode input device – Adafruit Blog via Hackaday.

Cat & CircuitPython

“Tabitha inspects Dani’s working CircuitPython Family Feud prototype. She thinks this gets full credit, but it could use more catnip.” – Twitter.

kianRisc-V

“This weekend, I added to my rv32im kianRISC-V SOC a UART receiver and also changed the transmit UART to an unblocking version. I took it to a MicroPython icebreaker version with some tweeks and now it runs on my board” – Twitter.

Custom remote

A custom remote control in MicroPython for controlling a Tuya IR heater. It uses an ESP8266 with 3 buttons, making GET requests. It can select between two room heaters with “select” – Twitter.

Why RISC-V Architecture Is the Future of Embedded Design

Why the RISC-V Architecture is the future of Embedded Design – DesignNews.

Web page to graphic

I just created a web page to help me set up the pattern of LEDs to display and animate using a Pimoroni Plasma2040. It looks really awesome!! The idea is to embed that page as web interface onto the Pi Pico W by drawing on the webmatrix – Twitter.

Holiday NeoPixel Display

A Holiday NeoPixel Display using a NeoPixel (WS2812B) matrix, Raspberry Pi RP2040 board and CircuitPython to display festive holiday animations – hackster.io via Mastodon.

Santa light show

A Lego Santa Claus, trapped in a plastic bubble and being forced to D I S C O as if his life depends on it. There is a CircuitPython programmed Circuit Playground Express controlling the light show – Mastodon.

Barcode Clock

A barcode clock using a Pimoroni Badger 2040 and MicroPython – Twitter thread.

Raspberry Pi Pico Project - Thermometer & Clock ST7735 & DS3231

Raspberry Pi Pico Project: a thermometer & clock (ST7735 & DS3231) with CircuitPython – YouTube.

Show and Tell with Attie Grande

Attie Grande interviews Andy Piper about making, online presence, MicroPython, and community – YouTube.

Build Your Computer Science Skills With NASA

Build Your Computer Science Skills With NASA – Adafruit Blog.

Digital Picture Frame

A battery-powered digital picture frame using Pimoroni Inky Frame and MicroPython – Instructables.

CircuitPython Song

Les Pounder used ChatGPT to compose a CircuitPython song – Twitter.

Measure Temperature

When the heat breaks in your apartment and you must use an Arduino Nano RP2040, an MCP9808 Temperature Sensor and CircuitPython to see how cold it is – Twitter.

Chatgpt Made This

Experimenting with outsourcing a project to ChatGPT to make a nice festive animated Christmas Tree on a Unicorn HAT and do the write up too – Electromaker.

Modem noises straight from a Raspberry Pi Pico GPIO pin via CircuitPython

Making modem noises straight from a Raspberry Pi Pico GPIO pin via CircuitPython – Twitter.

VHS-Decode

VHS-Decode is a software defined videotape player – GitHub Project and Python Source.

Space Science with Python

Space Science with Python – Episode #393 of the TalkPython Podcast – TalkPython.

Getters and Setters: Manage Attributes in Python

Getters and Setters: Manage Attributes in Python – Real Python.

Top 6 awesome text editors for Linux and Unix command-line users/developers

Top 6 awesome text editors for Linux and Unix command-line users/developers – nixCraft.

Lisp Star

The Lisp Star is a star-shaped pendant that you can program in Lisp to make its six coloured LEDs twinkle in different patterns – Technoblogy.

Cirque simulates complex network topologies based upon docker nodes – GitHub.

PyDev of the Week: Iqbal Abdullah on Mouse vs Python.

CircuitPython Weekly Meeting for December 12, 2022 (notes) on YouTube.

#ICYDNCI What was the most popular, most clicked link, in last week’s newsletter? RISC-V Assembly Language Programming.

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 no new boards added, but there are some in the pipeline.

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!

New Learn Guides

NeXT Computer Keyboard to USB HID with CircuitPython from Jeff Epler

Introduction to the Mastodon API using CircuitPython from Kattni

Bluetooth TV Zapper from John Park

CircuitPython Libraries!

CircuitPython Libraries

CircuitPython support for hardware continues to grow. We are adding support for new sensors and breakouts all the time, as well as improving on the drivers we already have. As we add more libraries and update current ones, you can keep up with all the changes right here!

For the latest libraries, download the Adafruit CircuitPython Library Bundle. For the latest community contributed libraries, download the CircuitPython Community Bundle.

If you’d like to contribute, CircuitPython libraries are a great place to start. Have an idea for a new driver? File an issue on CircuitPython! Have you written a library you’d like to make available? Submit it to the CircuitPython Community Bundle. Interested in helping with current libraries? Check out the CircuitPython.org Contributing page. We’ve included open pull requests and issues from the libraries, and details about repo-level issues that need to be addressed. We have a guide on contributing to CircuitPython with Git and GitHub if you need help getting started. You can also find us in the #circuitpython 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 394!

Updated Libraries!

Here’s this week’s updated CircuitPython libraries:

What’s the team up to this week?

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

Dan

I released CircuitPython 8.0.0-beta.5 on Wednesday, December 7. It includes changes from about 80 pull requests. I’ll probably do another beta soon with the API and environment setting changes being done by Scott and Jeff.

I’ve fixed several minor 8.0.0 issues, and also investigated and closed some issues that no longer seem to be a problem. I also moved a few issues to a longer timeline. As of this writing, we have only 11 issues left for 8.0.0: we are seeing the light at the end of the tunnel!

Kattni

The Intro to the Mastodon API guide has been published! There’s info on how to obtain your Mastodon API access token, and two CircuitPython examples that show you how to read from and write to Mastodon. If you’re interested in using CircuitPython to interact with Mastodon, check out this guide!

Next up is the product guide for the EYESPI breakout. If you picked up one of these boards, and you want to know more details and help getting started, keep an eye out for that!

Tim

I started working on updating Blinka_Displayio API to match the new core APIs but ran into trouble in my development environment that I wanted to get sorted before I got into the Blinka_Displayio code, that’s resolved now and I’ve started to dive in, but still have more work to do. I also did library PR reviews and testing, the main one was for typing in the wiznet Ethernet library.

Jeff

I’ve continued working on issues and bugs we’d like to see resolved before version 8.0 comes out. The biggest item is the replacement of “.env” with “settings.toml”. This means that in the next beta you’ll need to change where your WiFi Workflow settings are. We’ll have updated documentation to reflect this change.

I also wrote another keyboard guide; check out the link elsewhere in the newsletter.

Scott

I’ve refined the audiobufio API and it is in beta.5. I also fixed a bug with the web workflow on ESP32s where it didn’t respond very quickly. Now it is snappy and a pleasure to use.

From there, I’ve been working on refining the coproc module that was added to support the ultra-low-power processor on the ESP32-S2 and S3. I’ve tweaked it to have an espulp module and a generic memorymap module. It all compiles and I’m working to get it tested with a few examples. My goal is to make it easy to share programs to run on the coprocessor.

Liz

I wrote up a guide on the QT 5V to 3V Shifter Breakout. It’s an easy way to shift down to 3V logic from 5V logic boards. I also worked on the Introduction to the Mastodon API using CircuitPython guide with Kattni. I wrote the code examples and code explanations. I hope it will be a helpful resource for folks if they want to experiment with the Mastodon API.

Upcoming events!

RISC-V Summit

RISC-V Global Summit, December 12-15, 2022 San Jose, California US – Linux Foundation, YouTube via Twitter.

MicroPython Meetup

The next MicroPython Meetup in Melbourne will be on January 25th – Meetup. Slides from the October meeting are here.

FOSDEM 2023

FOSDEM is a free event for software developers to meet, share ideas and collaborate. Every year, thousands of developers of free and open source software from all over the world gather at the event in Brussels. February 4-5, 2023 in Brussels, Belgium – Fosdem.

PyCon US 2023

PyCon US 2023 will be April 19-17, 2023, again in Salt Lake City, Utah USA – PyCon US 2023.

Send Your Events In

As for other events, with the COVID pandemic, most in-person events are postponed or held online. If you know of virtual events or upcoming events, please let us know on Twitter with hashtag #CircuitPython or email to cpnews(at)adafruit(dot)com.

Latest releases

CircuitPython’s stable release is 7.3.3 and its unstable release is 8.0.0-beta.5. New to CircuitPython? Start with our Welcome to CircuitPython Guide.

20221212 is the latest CircuitPython library bundle.

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

3.11.1 is the latest Python release. The latest pre-release version is 3.12.0a3.

3,307 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.

jobs.adafruit.com – Find a dream job, find great candidates!

jobs.adafruit.com

jobs.adafruit.com has returned and folks are posting their skills (including CircuitPython) and companies are looking for talented makers to join their companies – from Digi-Key, to Hackaday, Micro Center, Raspberry Pi and more.

36,132 thanks!

36,132 THANKS

Adafruit Discord

The Adafruit Discord community, where we do all our CircuitPython development in the open, reached over 36,132 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, IGTV (Instagram TV), 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.

Codecademy “Learn Hardware Programming with CircuitPython”

Codecademy CircuitPython

Codecademy, an online interactive learning platform used by more than 45 million people, has teamed up with Adafruit to create a coding course, “Learn Hardware Programming with CircuitPython”. The course is now available in the Codecademy catalog.

Contribute!

The CircuitPython Weekly Newsletter is a CircuitPython community-run newsletter emailed every Tuesday. 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.


Halloween season is here!
Halloween season is here! Check out all the posts, gift guides, and more!

Adafruit publishes a wide range of writing and video content, including interviews and reporting on the maker market and the wider technology world. Our standards page is intended as a guide to best practices that Adafruit uses, as well as an outline of the ethical standards Adafruit aspires to. While Adafruit is not an independent journalistic institution, Adafruit strives to be a fair, informative, and positive voice within the community – check it out here: adafruit.com/editorialstandards

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.

Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!

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

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

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


New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — NewProducts Featuring Adafruit RP2350 22-pin FPC HSTX to DVI Adapter for HDMI Displays!

Python for Microcontrollers – Adafruit Daily — Python on Microcontrollers Newsletter: Adafruit Grand Opening, Profile MicroPython Memory and More! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi — Classic editor

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

Adafruit IoT Monthly — Garden Lights, Bluetooth 6.0, and more!

Maker Business – Adafruit Daily — A look at Boeing’s supply chain and manufacturing process

Electronics – Adafruit Daily — When do I use X10?

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.

Sorry, the comment form is closed at this time.