Arduino Turns to Zephyr, Initiatives Galore and Extra! #CircuitPython #Python #micropython #ICYMI @Raspberry_Pi « Adafruit Industries – Makers, hackers, artists, designers and engineers!

Arduino Turns to Zephyr, Initiatives Galore and Extra! #CircuitPython #Python #micropython #ICYMI @Raspberry_Pi « Adafruit Industries – Makers, hackers, artists, designers and engineers!


For those who missed this week’s Python on Microcontrollers E-newsletter, right here is the ICYMI (in case you missed it) model.

To by no means miss one other difficulty, subscribe now! – You’ll get one terrific publication every Tuesday (which is out earlier than this put up). 11,197 subscribers worldwide.

The following publication goes out in every week and subscribing is one of the simplest ways to maintain up with all issues Python for {hardware}. No spam, no promoting lists, go away any time.


Welcome to the newest Python on Microcontrollers publication! Midsummer is a time when Individuals bake within the solar and Finns bask at a cottage by the lake. Irrespective of how you might be dealing with the season, you may leisurely browse this difficulty. We reported not way back that Mbed OS was finish of life and that left Arduino in a lurch. No extra, as Arduino simply introduced their embrace of Zephyr OS, a sensible choice. A brand new upkeep launch of CircuitPython is out now. And this difficulty focuses on cool initiatives in the summertime warmth. – Anne Barela, Editor

We’re on Discord, Twitter, and for previous newsletters – view all of them right here. For those who’re studying this on the internet, subscribe right here. Right here’s the information this week:

Arduino to Change From Arm Mbed to Zephyr Actual-Time Working System (RTOS)

Arduino to Switch

Following Arm’s determination to cease supporting Mbed from July 2026 onwards, Arduino has now determined to make use of Zephyr RTOS as an alternative of Arm Mbed for Arduino boards that depend on the latter together with Arduino GIGA, Arduino Nano 33 BLE, Arduino Nano RP2040 Join, in addition to Arduino PRO boards/options such because the Portenta, Nicla, and Opta households. Arduino plans to launch the primary beta of their options by the tip of 2024, with a rollout for numerous boards beginning in 2025 – CNX Software program and Arduino.

CircuitPython 9.1.1 Launched

CircuitPython 9.1.1 Released

CircuitPython 9.1.1 is the newest bugfix revision of CircuitPython and is a brand new secure launch – Adafruit Weblog and GitHub Launch Notes.

FIXES AND ENHANCEMENTS

nordic
Repair BLE MTU negotiation.

RP2040
Examine that each one busio.UART pins are legitimate earlier than claiming any.

SAMx
SAMD51: repair PWMOut by reverting #9343: signs included no backlight on boards with shows.

MicroPython Simulation With Proteus

MicroPython Simulation With Proteus

Proteus VSM for MicroPython supplies system degree simulation of an embedded design centered round a processor operating MicroPython code. Customers design the {hardware} straight on a schematic, selecting from 1000’s of embedded peripherals and inserting and wiring them to the microcontroller board – Proteus by way of X.

Teardown 2024 – Prototype to Product with MicroPython: Sooner and Happier Embedded Techniques Improvement – Ned Konz

Teardown 2024

Ned Konz’ speak at Teardown 2024 “Prototype to product with MicroPython: quicker and happier embedded programs growth” is now accessible on-line – YouTube.

Fixed Present Circuits for Versatile Filament LEDs

Constant Current Circuits for Flexible Filament LEDs

Kevin J. Walters exhibits tips on how to energy versatile “filament” LEDs and differ their brightness utilizing a microcontroller and CircuitPython. A easy transistor-based circuit is used to offer a continuing present to drive every LED with a microcontroller offering pulse-width modulated management to differ the brightness – Instructables.

Checkout Problem

Checkout Challenge

Checkout Problem is a procuring trolley racing sport made for the Adafruit PyBadge with CircuitPython, impressed by well-liked racing video games – hackster.io and GitHub.

“With an Adafruit PyBadge I had saved away for a number of years, and with the arrival of AI accelerating code growth and producing spectacular art work, I noticed it was the proper time to start out engaged on this sport.”

Saxophone Modifications Coloration on Each Word

Saxophone changes colour on every note

This Pi Zero 2 W construct makes use of an Adafruit NeoPixel ring and Python to point out the colours of notes as they’re performed – Raspberry Pi Information.

PSF: Python’s Supportive and Welcoming Atmosphere is Tightly Coupled to Its Progress

Python’s Supportive and Welcoming Environment is Tightly Coupled to Its Progress

Python is as well-liked as it’s as we speak as a result of people have gone above and past to make this a welcoming group. We imagine to be “welcoming” means to do our greatest to offer all members with a secure, civil, and respectful surroundings when they’re participating with our group – on our boards, at PyCon occasions, and different areas which have dedicated to following our Code of Conduct. We have now an ethical crucial – as one of many best locations to deliver new individuals into tech and into open supply – to maintain being good at welcoming new individuals – Python Weblog.

This Week’s Python Streams

Python Streams

Python on {Hardware} is all about constructing a cooperative ecosphere which permits contributions to be valued and to develop information. Beneath are the streams throughout the final week specializing in the group.

CircuitPython Deep Dive Stream

Deep Dive

Final Friday, Scott streamed work on CircuitMatter cryptography.

You’ll be able to see the newest video and previous movies on the Adafruit YouTube channel below the Deep Dive playlist – YouTube.

CircuitPython Parsec

CircuitPython Parsec

John Park’s CircuitPython Parsec this week is on touchio proximity – Adafruit Weblog and YouTube.

Catch all of the episodes within the YouTube playlist.

CircuitPython Weekly Assembly

CircuitPython Weekly Assembly for July twenty second, 2024 (notes) on YouTube.

Undertaking of the Week: Implementing DDP in MicroPython

Implementing DDP in MicroPython

scy on Mastodon was taking a look at utilizing both Artwork-Web or Distributed Show Protocol (DDP) for a undertaking. After trying on the specs, he selected DDP – Mastodon.

DDP is so easy that I wrote a hacky, rudimentary server for it in about 50 traces of MicroPython, from scratch, in about an hour. Uploaded it to an ESP32, pointed a WLED controller at it and every little thing labored on the primary try.

Popular Last Week

What was the preferred, most clicked hyperlink, in final week’s publication? Methods to write code to your Raspberry Pi Pico in your internet browser with ViperIDE.

New Notes from Adafruit Playground

Adafruit Playground is a brand new place for group members to put up their initiatives and different making suggestions/tips/strategies. Advert-free, it’s a simple strategy to publish your work in a secure house at no cost.

BLE Gamepad with QT Py ESP32-S3

A BLE Gamepad with QT Py ESP32-S3 – Adafruit Playground.

Using multiple WiFi network credentials in Adafruit IO WipperSnapper firmware

Utilizing a number of WiFi community credentials in Adafruit IO WipperSnapper firmware – Adafruit Playground.

Heat Flow Visualiser

Warmth Move Visualiser: Visualise the Invisible with NeoPixels and the RP2040 Scorpio – Adafruit Playground.

Information From Across the Internet

I built a custom Lite Brite using the Matrix Portal, and now it plays Tetris

I constructed a customized Lite Brite utilizing the Adafruit Matrix Portal and CircuitPython, and now it performs Tetris – Reddit.

You're Electric Capacitive Touch CircuitPython School

You’re Electrical: Capacitive Contact with Circuit Playground Bluefruit and CircuitPython – YouTube.

Greenhouse IoT cloud project

Greenhouse IoT cloud undertaking bears outcomes by way of MicroPython – BlueSky.

MatrixPortal M4 scrolls text sent over Telegram

An Adafruit MatrixPortal M4 undertaking to show scrolling textual content on an LED matrix with messages fetched from a Telegram bot, written in CircuitPython – GitHub by way of X.

ESP-Box MSFS2020 flight data (Circuitpython script)

ESP-Field MSFS2020 flight knowledge (Circuitpython script) whereas plane passing over UTC longitude within the UK – X.

ViperIDE now highlights warnings and errors

To have fun 300 ⭐️ on GitHub, ViperIDE now highlights warnings and errors in code, due to Ruff – an modern Python linter, analyzer, and formatter – X.

The Engineer’s Guide to RF Cable Assembly Selection and Use

The Engineer’s Information to RF Cable Meeting Choice and Use – DigiKey.

Raspberry Pi Pico Traffic Light Simulation

Raspberry Pi Pico Visitors Gentle Simulation – YouTube.

This Raspberry Pi DinkyDash family dashboard helps track chores, birthdays, and more

This Raspberry Pi DinkyDash household dashboard helps monitor chores, birthdays, and extra – Tom’s {Hardware} and GitHub.

How to auto-generate Python type hints with Monkeytype

Methods to auto-generate Python kind hints with Monkeytype – InfoWorld.

How To Navigate the Filesystem with Python’s Pathlib

How To navigate a filesystem with Python’s Pathlib – KDnuggets.

10 tips for speeding up Python programs

10 suggestions for dashing up CPython packages – InfoWorld.

Full Guide to Building a Professional Portfolio with Python, Markdown, Git, and GitHub Pages

Full Information to Constructing a Skilled Portfolio with Python, Markdown, Git, and GitHub Pages – Medium.

Logging in Python

Logging in Python – Actual Python.

New

FutureBoard

FutureBoard is a essential management board designed for STEM schooling sooner or later. It has many built-in sensors similar to the micro:bit, however in contrast to the micro:bit, FutureBoard incorporates a TFT display able to displaying full colours. It helps MicroPython coding, permitting for extra superior studying – hackster.io.

Flipper Zero hacking tool gets CAN bus add-on board for vehicle diagnostics and security research

Flipper Zero hacking instrument will get CAN bus add-on board for automobile diagnostics and safety analysis – CNX Software program.

New Boards Supported by CircuitPython

The variety of supported microcontrollers and Single Board Computer systems (SBC) grows each week. This part outlines which boards have been included in CircuitPython or added to CircuitPython.org.

This week, there have been 7 microcontrollers and 12 new single board computer systems added!

Blinka (SBCs)

Word: For non-Adafruit boards, please use the help boards of the board producer for help, as Adafruit doesn’t have the {hardware} to help in troubleshooting.

Trying so as to add a brand new board to CircuitPython? It’s extremely inspired! Adafruit has 4 guides that will help you accomplish that:

New Be taught Guides

New Learn Guides

ESP32-S3 BLE iOS Media Controller from Liz Clark

CircuitPython Libraries

CircuitPython Libraries

The CircuitPython library numbers are regularly rising, whereas current ones proceed to be up to date. Right here we offer library numbers and updates!

To get the newest Adafruit libraries, obtain the Adafruit CircuitPython Library Bundle. To get the newest group contributed libraries, obtain the CircuitPython Neighborhood Bundle.

For those who’d prefer to contribute to the CircuitPython undertaking on the Python aspect of issues, the libraries are an ideal place to start out. Take a look at the CircuitPython.org Contributing web page. For those who’re fascinated by reviewing, try Open Pull Requests. For those who’d prefer to contribute code or documentation, try Open Points. We have now a information on contributing to CircuitPython with Git and GitHub, and you could find us within the #help-with-circuitpython and #circuitpython-dev channels on the Adafruit Discord.

You’ll be able to try this checklist of all of the Adafruit CircuitPython libraries and drivers accessible.

The present variety of CircuitPython libraries is 489!

Up to date Libraries

Right here’s this week’s up to date CircuitPython libraries:

Library PyPI Weekly Obtain Stats

Whole Library Stats

  • 242516 PyPI downloads over 331 libraries

Prime 10 Libraries by PyPI Downloads

  • Adafruit CircuitPython Requests (adafruit-circuitpython-requests): 21618
  • Adafruit CircuitPython BusDevice (adafruit-circuitpython-busdevice): 21587
  • Adafruit CircuitPython ConnectionManager (adafruit-circuitpython-connectionmanager): 19779
  • Adafruit CircuitPython Register (adafruit-circuitpython-register): 2655
  • Adafruit CircuitPython MiniMQTT (adafruit-circuitpython-minimqtt): 2213
  • Adafruit CircuitPython Wiznet5k (adafruit-circuitpython-wiznet5k): 2134
  • Adafruit CircuitPython DHT (adafruit-circuitpython-dht): 1802
  • Adafruit CircuitPython ADS1x15 (adafruit-circuitpython-ads1x15): 1737
  • Adafruit CircuitPython ESP32SPI (adafruit-circuitpython-esp32spi): 1718
  • Adafruit CircuitPython Motor (adafruit-circuitpython-motor): 1687

What’s the CircuitPython workforce as much as this week?

What’s the workforce as much as this week? Let’s verify in:

Dan

I launched CircuitPython 9.1.1 final week to repair an issue with the show backlight not illuminating on SAMD51 boards just like the PyPortal. The discharge additionally features a few different fixes.

I’m persevering with to repair bugs within the 9.1.x milestone and I’m additionally persevering with the merge from MicroPython v1.22.

Melissa

This previous week I arrange a beta web site for code.circuitpython.org. The URL for the brand new website is https://code-beta.circuitpython.org if you want to provide it a strive. At the moment although, it incorporates the identical code as code.circuitpython.org, however the plan is to push modifications there first to keep away from breaking code.circuitpython.org.

Tim

I’ve been engaged on fixing a number of displayio driver libraries that are compatible difficulty with the newest model of Blinka_Displayio. I’ve additionally began switching library repos to make use of Ruff as an alternative of pylint and Black. I’m making that swap on libraries as I come throughout them reviewing different modifications or engaged on different issues. I chased down a problem with SAMD51 gadgets which have built-in shows to search out the precise commit the place the issues started.

Jeff

This week my work so as to add help for IPv6 on most Espressif boards was merged into to the very newest variations of CircuitPython. For now, the documentation is shoe-horned into the “Web Take a look at” web page on Be taught. The tl;dr is: wifi.radio.start_dhcp_server(ipv6=True) after which create sockets with AF_INET6.

Libraries that construct on socketpool, like adafruit_requests and adafruit_ntp would require their very own updates to work with IPv6, as a result of they at all times request IPv4 sockets by way of AF_INET.

You received’t see any updates from me over the following few weeks, as I’m taking a trip!

Scott

This week I’ve continued engaged on CircuitMatter. I’ve reconnected issues to the community and have efficiently replied to the controller! The following activity is to implement the cryptography capabilities used to ascertain a safe message channel. I’m testing with a check controller on my desktop now and may report and replay packets on the Python system aspect.

Liz

This week I labored on a enjoyable undertaking with the Ruiz brothers to showcase BLE on ESP32-S3: the ESP32-S3 BLE iOS Media Controller. This undertaking makes use of an ESP32-S3 Feather with a TFT FeatherWing to show and management Apple Media providers over BLE.

I additionally labored on two product guides. The primary was the CH334F USB Hub Breakout. This breakout permits you to simply construct a customized USB hub, no code required. The second was for the USB Sort C Energy Supply Switchable Breakout. This board is a remix of the unique HUSB238 breakout within the store. This model options DIP switches to pick out the PD voltage as an alternative of solder jumpers. Engaged on the unique breakout bought me very fascinated by bizarre USB energy strategies so I’m excited to have a model that doesn’t require soldering.

Upcoming Occasions

MicroPython Meetup

The following MicroPython Meetup in Melbourne shall be on August 28 – Meetup. You’ll be able to see recordings of earlier conferences on YouTube. The video from July twenty fourth is right here.

Espressif DevCon24

Espressif DevCon24 shall be held Sep 3-5, 13:00-18:00 CEST. Name for shows now – Espressif.

Maker Faire Bay Area

Maker Faire Bay Space returns to Mare Island Naval Shipyard on October 18-20, 2024 – Maker Faire.

Ship Your Occasions In

If you recognize of digital occasions or upcoming occasions, please tell us by way of electronic mail to cpnews(at)adafruit(dot)com.

Newest Releases

CircuitPython’s secure launch is 9.1.1. New to CircuitPython? Begin with our Welcome to CircuitPython Information.

20240723 is the newest Adafruit CircuitPython library bundle.

20240725 is the newest CircuitPython Neighborhood library bundle.

v1.23.0 is the newest MicroPython launch. Documentation for it’s right here.

3.12.4 is the newest Python launch. The most recent pre-release model is 3.13.0b4.

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

Name for Assist – Translating CircuitPython is now simpler than ever

CircuitPython translation statistics on weblate

One essential function of CircuitPython is translated management and error messages. With the assistance of fellow open supply undertaking Weblate, we’re making it even simpler so as to add or enhance translations.

Register with an current account reminiscent of GitHub, Google or Fb and begin contributing via a easy internet interface. No forks or pull requests wanted! As at all times, in the event you run into hassle be part of us on Discord, we’re right here to assist.

38,186 Thanks

38,186 THANKS

Adafruit Discord

The Adafruit Discord group, the place we do all our CircuitPython growth within the open, reached over 38,186 people – thanks! Adafruit believes Discord provides a singular manner for Python on {hardware} people to attach. Be part of as we speak at https://adafru.it/discord.

ICYMI – In case you missed it

ICYMI

Python on {hardware} is the Adafruit Python video-newsletter-podcast! The information comes from the Python group, Discord, Adafruit communities and extra and is broadcast on ASK an ENGINEER Wednesdays. The whole Python on {Hardware} weekly videocast playlist is right here. The video podcast is on iTunes, YouTube, Instagram), and XML.

The weekly group chat on Adafruit Discord server CircuitPython channel – Audio / Podcast version – Audio from the Discord chat house for CircuitPython, conferences are often Mondays at 2pm ET, that is the audio model on iTunes, Pocket Casts, Spotify, and XML feed.

Contribute

The CircuitPython Weekly E-newsletter is a CircuitPython community-run publication emailed each Monday. The whole archives are right here. It highlights the newest CircuitPython associated information from across the internet together with Python and MicroPython developments. To contribute, edit subsequent week’s draft on GitHub and submit a pull request with the modifications. You may additionally tag your data on Twitter with #CircuitPython.

Be part of the Adafruit Discord or put up to the discussion board in case you have questions.

Adafruit publishes a variety of writing and video content material, together with interviews and reporting on the maker market and the broader expertise world. Our requirements web page is meant as a information to greatest practices that Adafruit makes use of, in addition to a top level view of the moral requirements Adafruit aspires to. Whereas Adafruit just isn’t an impartial journalistic establishment, Adafruit strives to be a good, informative, and constructive voice throughout the group – test it out right here: adafruit.com/editorialstandards

Join Adafruit on Mastodon

Adafruit is on Mastodon, take part! adafruit.com/mastodon

Cease breadboarding and soldering – begin making instantly! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and extra. Construct initiatives with Circuit Playground in a couple of minutes with the drag-and-drop MakeCode programming website, study laptop science utilizing the CS Discoveries class on code.org, leap into CircuitPython to study Python and {hardware} collectively, TinyGO, and even use the Arduino IDE. Circuit Playground Categorical is the latest and greatest Circuit Playground board, with help for CircuitPython, MakeCode, and Arduino. It has a robust processor, 10 NeoPixels, mini speaker, InfraRed obtain and transmit, two buttons, a change, 14 alligator clip pads, and many sensors: capacitive contact, IR proximity, temperature, mild, movement and sound. An entire broad world of electronics and coding is ready for you, and it matches within the palm of your hand.

Have an incredible undertaking to share? The Electronics Present and Inform is each Wednesday at 7pm ET! To hitch, head over to YouTube and take a look at the present’s dwell chat – we’ll put up the hyperlink there.

Be part of us each Wednesday evening at 8pm ET for Ask an Engineer!

Be part of over 36,000+ makers on Adafruit’s Discord channels and be a part of the group! http://adafru.it/discord

CircuitPython – The best strategy to program microcontrollers – CircuitPython.org

No feedback but.

Adafruit has a “be wonderful to one another” remark coverage. Assist us hold the group right here constructive and useful. Persist with the subject, be respectful of makers of all ages and ability ranges. Be form, and do not spam – Thanks!



Leave a Reply

Your email address will not be published. Required fields are marked *