ICYMI Python on Microcontrollers Newsletter: Welcome to CircuitPython Day 2021! #Python #CircuitPython #ICYMI #CircuitPythonDay2021 @ThePSF

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 (before this post). Over 8,937 subscribers worldwide!

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, brought you by the community! We’re on Discord, Twitter, and for past newsletters – view them all here. If you’re reading this on the web, subscribe here. Let’s get started!

CircuitPython Day 2021 is Friday!

CircuitPython Day

This is the week celebrating CircuitPython! CircuitPython will be featured by Adafruit all week.

Events:

Wednesday August 4th, 7:30 PM US Eastern Time (2330 UTC), a special live Show & Tell stream inviting everyone to demonstrate their CircuitPython projects as part of CircuitPython Day 2021 – How to Join.

Friday August 6th (CircuitPython Day):

  • 11 am US Eastern Time (1500 UTC): Tim C (foamyguy) streams work on CircuitPython – YouTube and Twitch.
  • 1 pm US Eastern Time (1700 UTC): Reddit Ask Me anything (AMA) with r/Python and the developers of CircuitPython – Reddit.
  • 1 pm US Eastern Time (1700 UTC): Jeff, Dan and Kattni Discuss CircuitPython – YouTube Live
  • 3 pm US Eastern Time (1900 UTC): A CircuitPython Board Tour with Ladyada – YouTube Live
  • 5 pm US Eastern Time (2100 UTC): Scott’s CircuitPython Day Deep Dive

For Adafruit streams without a link, monitor social media like Twitter for the links to join.

If you or your organization is celebrating CircuitPython Day, let Adafruit know with the hashtag #CircuitPythonDay2021 – Adafruit Blog.

Rick Leander is offering 75% off his Kindle eBook, ‘Ten Games for the Circuit Playground Express’. Download the book for $0.99 all weekend August 6-8 – Twitter.

A Special Adafruit Show & Tell Wednesday

Show & Tell

Wednesday, 7:30 PM US Eastern Time (2330 UTC), a special live Show & Tell stream inviting everyone to demonstrate their CircuitPython projects as part of CircuitPython Day 2021 – How to Join.

Reddit Ask Me Anything (AMA) with r/Python and the Developers of CircuitPython

Reddit AMA

Join in an AMA with the developers of CircuitPython on August 6th (CircuitPython Day) at about 17:00 UTC / 1 pm US Eastern time.

Wednesday, Reddit is hosting an AMA with some of the developers for CircuitPython – a version of Python for microcontrollers – on August 6, CircuitPython Day. CircuitPython is a beginner focused fork of MicroPython which is a smaller Python implementation for microcontrollers.

Guests will be u/tannewt, u/kattni, u/ptorrone, and u/dhalbert. They’ll be popping in to answer some questions as the day goes by.

Thursday night there will be a sticky post in r/Python made for the AMA where you can begin asking your questions in the comment section.

Reddit Information and Reddit r/python.

EuroPython and PyOhio Conclude

EuroPython

PyOhio

Two of the largest yearly Python gatherings have just concluded: EuroPython 2021 and PyOhio 2021. Results and talks should be posted online in coming days. It is suggested that you follow the conference official Twitter feeds for material availability updates – EuroPython and PyOhio.

PyOhio Talk Playlist – YouTube.

A PyOhio talk of note: Basics of Hardware with a PyRuler by Kira Hartlage – YouTube, code on GitHub.

Talk DIY Home Automation with Microcontrollers and CircuitPython

And at EuroPython, María José Molina-Contreras presented her solar-powered plant watering system and cute cleaning robots made with a Circuit Playground Express and CircuitPython – EuroPython.

Now available: TI-84 Plus CE Python graphing calculator

TI-84 Plus CE Python graphing calculator

The new TI-84 Plus CE Python Graphing Calculator by Texas Instruments is now available for purchase in the United States (it’s already on sale in Europe). The calculator runs a fork of CircuitPython on a dedicated Atmel processor inside – Adafruit Blog.

CircuitPython Deep Dive Stream with Scott Shawcroft

Deep Dive with Scott

This week, join Scott as he answers questions and talks about 7.0.0 fixes.

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

News from around the web!

Rust on Espressif chips

Rust ported to Espressif chips – mabez.dev.

Microsoft CEO accidentally underplays GitHub's pervasiveness

Microsoft CEO accidentally underplays GitHub’s pervasiveness – TechRepublic.

MacroPad and KiCad

Testing code for turning an Adafruit Macropad into Kruise Control for KiCad. Rotary encoder under thumb for layer, trace width, or grid size – Twitter.

Obi Wan

Become Obi Wan with an Arduino Nano RP2040 Connect. Easy to get CircuitPython running with sound and an Adafruit STEMMA QT gesture sensor – Twitter.

Adding Digital I/O To Your CircuitPython Compatible Board: Part 3 – The MCP23017

Adding Digital I/O To Your CircuitPython Compatible Board: Part 3 – The MCP23017 – Woolsey Workshop.

Button box

Button box I built recently using a QT Py RP2040, a bunch of arcade buttons, and programmed with CircuitPython. I’ve been using it to compile/run my code and other programming-related tasks. These chonky buttons are very satisfying to mash – Twitter.

Display Covid-19 Data

Display Covid-19 data using Maker Raspberry Pi Pico and CircuitPython – Twitter.

Game

A game on the Adafruit MacroPad using CircuitPython – Twitter and GitHub.

Events into an array

Slurping Adafruit MacroPad key events into an array in CircuitPython to handle as data – Twitter.

Keyboard FeatherWing

I opened a GitHub where I put all my code for the Solderparty Keyboard FeatherWing (CircuitPython). I hope this will help you coding marvelous things with it. Some libs are customized – Twitter and GitHub.

p5x.js MacroPad

p5x.js macros laid out on an Adafruit MacroPad! Cut, copy, paste, comment, save, run, (), [], conditional, for loop, class construction, and color palette statement all at ones LED-lit fingertips when using the web editor – Twitter.

MacroPact

MacroPact – a Raspberry Pi Pico KMK powered macropad with IPS screen – GitHub.

Parallaz Classes

Parallax offers a pre-engineering curriculum on using micro:bit with MicroPython – “What’s a Microcontroller? with micro:bit and Python Curriculum Ready for Fall 2021 Class Adoption!” – Parallax.

Python on micro:bit

Running MicroPython on a micro:bit to calculate distance via the accelerometer – Our Thoughts on Science Blog and Twitter.

PicoPew

PicoPew running Imagilabs code on MicroPython at EuroPython – Twitter.

A simple programming language on a micro:bit

Making a simple programming language (simpler than Python, simpler even than BASIC or TinyBASIC) on a micro:bit with MicroPython – Blog My Wiki.

Flight data for Glasgow airport

We live on the flight path for Glasgow airport, so I’ve hooked up an Raspberry Pi to an Adafruit display and used the Flightradar24 API to notify me with whatever I can hear overhead – Twitter.

Tinkerstellar

Tinkerstellar is an iPad app that helps one learn coding and data science with interactive tutorials (or labs), where one can edit and run code examples (like Python) straight away — no need to configure environments, download datasets or rely on networking connection to execute code – Tinkerstellar.

Generate GitHub Stats

Dynamically Generate GitHub Stats as like Terminal Interface With Python – Python Awesome and Twitter.

Text2Code for Jupyter notebook

Text2Code for Jupyter notebook – GitHub.

Photograph metadata editing app

A free digital photograph metadata editing app build with Python – Python Awesome and Twitter.

Clean Code

Writing Clean Code in Python – testdriven.io.

Mouse vs. Python Slack

Join the Mouse vs. Python Slack for community – Slack.

PyDev of the Week: Patrick Loeber on Mouse vs Python

CircuitPython Weekly Meeting for July 6th, 2020 (notes) on YouTube

#ICYDNCI What was the most popular, most clicked link, in last week’s newsletter? CircuitPython bandwidth shootout.

Coming soon

Gamelet for Macropad

Work in progress: writing a little gamelet for MacroPad, using it sideways. Catch dragon eggs, avoid fire – Twitter.

RGB LED Matrix STEMMA QT Breakout

An Adafruit IS31FL3741 13×9 2mm RGB LED Matrix STEMMA QT Breakout is coming soon – Twitter.

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.

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

NeoKey Emoji Keyboard from Liz Clark

MacroPad Summer Olympics Hotkeys from Isaac Wellish

Adafruit NeoKey 5×6 Ortho Snap-Apart from Kattni

AdaBox 019 from John Park

CircuitPython Project Bundle

BundleFly

When you get to the CircuitPython code section of an Adafruit Learn Guide, sometimes things can get a bit complicated. You not only have the code you need to upload to your device, but you likely also need to add some libraries that the code requires to run. This involved downloading all the libraries, digging through to find the ones you need, and copying them to your device. That was only the beginning on some projects, as those that include images and/or sound files required further downloading and copying of files. But, not anymore!

Now, with Project Bundles, you can download all the necessary code, libraries and, if needed, asset files with one click! We automatically check which libraries are required for the project and bundle them up for you. No more digging through a huge list of libraries to find the ones you need, or fiddling with looking for other files or dependencies. Download the Project Bundle, copy the contents to your device, and your code will simply work. We wanted to make this the easiest way to get a project working, regardless of whether you’re a beginner or an expert. We’ll also be adding this feature to popular IDEs as an add-on. Try it out with any Circuit Python guide on the Adafruit Learning System. Just look for the ‘Download Project Bundle’ button on the code page.

To download and use a Project Bundle:

In the Learning System – above any embedded code in a guide in the Adafruit Learn System, you’ll find a Download Project Bundle button.

Project Bundle download button

Click the button to download the Project Bundle zip.

Project Bundle zip downloaded

Open the Project Bundle zip to find the example code, all necessary libraries, and, if available, any images, sounds, etc.

Project Bundle unzipped

Simply copy all the files over to your CIRCUITPY drive, and you’re ready to go!

If you run into any problems or bugs, or would like to submit feedback, please file an issue on the Adafruit Learning System Guides GitHub repo.

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 channel 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 329!

New Libraries!

Here’s this week’s new CircuitPython libraries:

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

CircuitPython 7 is dropping gamepad in favor of keypad. Kattni, FoamyGuy, and I worked on a transition strategy, because there is not room in the smallest builds to have both. We were able to drop some little-used functionality in a couple of libraries, and change others to work on both CircuitPython 6 and 7.

I have been working on and off on audio-playing problems on the RP2040, which also show up in different ways on some other ports. I believe I have finally started to make progress on this set of issues, after creating a systematic set of tests.

I am also working on some usb_hid API changes for CircuitPython 7. When these are done, the API changes we have planned for 7 will be done, and we can start doing beta releases.

Jeff

Another camera week! I’m working on a demo to take upload the JPEG image from an OV2640 camera to Adafruit IO.

In the core, I added a section at the top of each built-in module listing the boards that include the module, instead of requiring a visit to a separate page to check.

Kattni

This week I published the NeoKey Ortho Snap-Apart guide. This guide has everything you need to get started working with your NeoKey Snap key matrix including overview, pinouts details and download resources. It also has examples for both Arduino and CircuitPython, including detailed wiring diagrams.

I also updated the MacroPad RP2040 guide to have documentation about the Adafruit CircuitPython MacroPad library including basics, display text, display image, rotation, playing a tone, keyboard and mouse, and MIDI examples. The MacroPad library makes working with the MacroPad super simple, and the guide now has everything you need to know about using the library. Check it out!

Melissa

This past week, I wrapped up the WebSerial ESPTool improvements I made, but was unable to get the stub code for the ESP32 functioning at the faster speeds, which is what I originally wanted to do. After that I ported the keypad module from CircuitPython to Blinka and ended up doing a full implementation. It has been merged in and is ready for use. Usage information with the NeoKey Ortho and Snap Apart keys should be coming soon, but the example code for CircuitPython just needs the pins changed to the appropriate Raspberry Pi pins and it should just work.

Scott

This week I’ve continued squashing bugs for 7.0.0. Here it is:

  • Fix CTRL-C on ESP when fake deep sleeping.
  • Fixed a crash on ESP32-S2 when true deep sleeping.
  • Fix nRF time alarms after the first fake deep sleep.
  • Switched all ports to the new PulseOut(pin, frequency, duty_cycle) API.
  • Fixed pin in use tracking on STM32 for PulseOut.
  • Fixed RP2040 PulseOut
  • Fixed Arduino RP2040 flash size. (Back up your files and then erase it if you’ve already got it setup.)
  • Added support for multiple status RGB LEDs. Playground boards will now blink all of the NeoPixels.
  • Got rid of all OSError(0)’s on ESP32-S2 and removed the older network modules.

Next I’m going to take a crack at the nRF bug that hung me up a week ago or so. It’ll bring me back into nRF land.

Upcoming events!

PyConline AU

PyConline AU will be held 10-12 September, 2021 – pyconlineau

Kiwi PyCon XI

Kiwi PyCon XI, Ōtautahi Christchurch, 17th, 18th, & 19th of September 2021 and CFP ends July 16th – python.nz.

Send Your Events In

As for other events, with the COVID pandemic, most in-person events are postponed or cancelled. If you know of virtual events or events that may occur in the future, please let us know on Discord or on Twitter with hashtag #CircuitPython.

Latest releases

CircuitPython’s stable release is 6.3.0 and its unstable release is 7.0.0-alpha.5. New to CircuitPython? Start with our Welcome to CircuitPython Guide.

20210731 is the latest CircuitPython library bundle.

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

3.9.6 is the latest Python release. The latest pre-release version is 3.10.0b4.

2,525 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.

Job of the Week

Software Developer – C, C++, Python, Arduino – Light Pong – Adafruit Jobs Board.

30,246 thanks!

30,246 THANKS

Adafruit Discord

The Adafruit Discord community, where we do all our CircuitPython development in the open, reached over 30,246 humans, thank you! Adafruit believes Discord offers a unique way for CircuitPython folks to connect. Join today at https://adafru.it/discord.

ICYMI – In case you missed it

ICYMI

The wonderful world of Python on hardware! This is our Python video-newsletter-podcast! The news comes from the Python community, Discord, Adafruit communities and more and is reviewed on ASK an ENGINEER Wednesdays. The complete Python on Hardware weekly videocast playlist is here.

This video podcast is on iTunes, YouTube, IGTV (Instagram TV), and XML.

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.

And lastly, we are working up a one-spot destination for all things podcast-able here – podcasts.adafruit.com

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 our Discord or post to the forum for any further questions.


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

Join Adafruit on Mastodon

Adafruit is on Mastodon, join in! adafruit.com/mastodon

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

Join over 36,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


Maker Business — “Packaging” chips in the US

Wearables — Enclosures help fight body humidity in costumes

Electronics — Transformers: More than meets the eye!

Python for Microcontrollers — Python on Microcontrollers Newsletter: Silicon Labs introduces CircuitPython support, and more! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi

Adafruit IoT Monthly — Guardian Robot, Weather-wise Umbrella Stand, and more!

Microsoft MakeCode — MakeCode Thank You!

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

New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — #NewProds 7/19/23 Feat. Adafruit Matrix Portal S3 CircuitPython Powered Internet Display!

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.