Raspberry Pi OS Replace, naked metallic CircuitPython and extra! #Python #ICYMI #CircuitPython @micropython @ThePSF « Adafruit Industries – Makers, hackers, artists, designers and engineers!

In the event you missed Tuesday’s Python on Microcontrollers Publication, right here is the ICYMI (in case you missed it) model.

To by no means miss one other problem, subscribe now! – You’ll get one terrific e-newsletter every Tuesday (earlier than this publish). 9,138 subscribers worldwide!

The subsequent e-newsletter goes out in per week and being subscribed one of the best ways to maintain up with all issues Python for {hardware}. No spam, no promoting lists, depart any time.


Welcome to the Python on Microcontrollers e-newsletter, introduced you by the group! We’re on Discord, Twitter, and for previous newsletters – view them all here. In the event you’re studying this on the internet, subscribe here. Heaps to see this problem:

Bullseye – the brand new model of Raspberry Pi OS – is out!

Bullseye – the new version of Raspberry Pi OS

Raspberry Pi OS was up to date Monday with quite a lot of adjustments and upgrades – Raspberry Pi.

  • Up to date to the most recent Debian ‘bullseye’ launch (the final Debian replace was 2 years in the past)
  • The desktop parts and functions at the moment are utilizing model 3 of the GTK+ person interface toolkit
  • This model makes use of a brand new window supervisor, referred to as mutter, as a substitute of the openbox window supervisor utilized in earlier releases
  • An built-in notification system
  • Replace notifications
  • File supervisor view choice simplification
  • The KMS (kernel modesetting) driver is now the usual video driver
  • A brand new digital camera driver
  • Most functions have been upgraded to the most recent model; particularly the Chromium net browser is now at model 92, and has been optimized to make use of the Raspberry Pi {hardware} to speed up video playback.

See extra – Raspberry Pi.

Tom’s {Hardware} dives deeper, noting that some fashions of Raspberry Pi 4 get a default 300 MHz speed boost. And a 64-bit OS model could also be within the works additionally – Tom’s Hardware.

A information on updating from Buster to Bullseye – Tom’s Hardware.

Raspberry Pi Zero 2 W: What does the silicon comprise?

Raspberry Pi Zero 2 W

Raspberry Pi Zero 2 W

Raspberry Pi Zero 2 W

The Raspberry Pi Basis launched a brand new Pi Zero 2 W just lately and electronupdate carried out a teardown/reverse engineering of the board parts, together with the RP340 CPU/GPU/Ram chip stack and the radio part – electronupdate.

CircuitPython Course: Connecting a Robotic Cat to the Web

CircuitPython Course

In a brand new LinkedIn Studying course, Charlyn Gonda exhibits you methods to use CircuitPython — a model of Python particularly for microcontrollers — to program a robotic cat that reacts to occasions whereas linked to the web. Charlyn exhibits methods to code for frequent {hardware} gadgets like LEDs and servos, and explains a standard messaging protocol for IoT initiatives referred to as message queue telemetry transport, or MQTT. In the event you’re in search of an web cat video that really teaches you one thing helpful, be part of Charlyn as she exhibits methods to program this robotic cat.

Primary Course Web page – LinkedIn.

The course is $34.99 after the intro chapters. However, Charlyn notes “I discovered a strategy to share it for free! If anybody with a linked in account clicks the link inside this post, they’ll have the ability to entry it for twenty-four hours from the time that they click on the hyperlink”.

Meet the Maker: Liz Clark from BlitzCityDIY

Meet the Maker - meet Liz Clark from BlitzCityDIY

SMARS Meet the Maker (and CircuitPythonista): Liz Clark from BlitzCityDIY – YouTube.

ZDnet Prime Programming Languages

Top programming languages

SlashData’s newest Developer Nation report appears on the recognition of programming languages and developments from the worldwide developer group. They rank JavaScript #1 (together with CoffeeScript and TypeScript in that quantity). Python is a strong #2 forward of Java – ZDnet and Slashdot. However extra telling is Python’s progress:

Python added 2.3m builders to its group prior to now 12 months. “That’s a 25% progress price, one of many highest throughout all the big programming language communities of greater than 7M customers,” the report famous.

CircuitPython on a Raspberry Pi

Scott is engaged on a port of CircuitPython that runs on “naked metallic” on the Raspberry Pi (i.e. runs on the Pi with out the Linux working system). So in fact Ladyada needed to see what works with HDMI for the reason that REPL is obtainable… and he or she occurs to have an e-ink HDMI show. It’s AWESOME.

One of many plans is to make slightly pc with a keyboard that's simply CircuitPython. Write code, make artwork … with HDMI, have the output go to slightly transportable projector… youngsters might make cool kaleidoscopes, or make a Haiku pc that exhibits the final one made when the ability is off since this one is e-ink – Adafruit Blog and YouTube.

CircuitPython Deep Dive Stream with Scott Shawcroft

Deep Dive with Scott

This week, Scott streams his work on Pi Zero 2 W + CircuitPython.

You may see the most recent video and previous movies on the Adafruit YouTube channel beneath the Deep Dive playlist – YouTube.

CircuitPython Parsec

CircuitPython Parsec

John Park’s CircuitPython Parsec:

Catch all of the episodes within the YouTube playlist.

Information from across the net!

Native Displayio on Adafruit LED Glasses

CircuitPython native displayio engaged on the Adafruit LED glasses utilizing the IS31FL3741 chipset – Twitter.

The Armachat LoRa communicator

Armachat is a “doomsday” wi-fi messenger with LoRa radio reception. The newest variations are primarily based on the Picomputer kind issue, primarily based on Raspberry Pi Pico RP2040 and LoRa RFM95 radio module. It makes use of a CircuitPython person interface – Twitter and Adafruit Blog.

CircuitPython used to run satellites with deep sleep mode

Doctoral candidate Max Holliday writes on Twitter about utilizing CircuitPython on satellites:

I really like CircuitPython – sufficient to even run my on-orbit PyCubed satellites with it – and now that my deep sleep code for D/E51 boards is in the primary department, the chances are limitless! Now all of your Adafruit M4 initiatives can final eternally sipping 0.5mA – Twitter and Adafruit Blog.

CircuitPython pseudo theremin

Amongst Bodily Computing challenges at present shall be “create a CircuitPython pseudo Theremin” utilizing an Arduino RP2040 + proximity enter from an Adafruit STEMMA-QT APDS9960 and a potentiometer – Twitter.

UDOO Key

The UDOO KEY is a completely programmable Raspberry Pi RP2040 + ESP32 microcontroller with Wi-Fi, Bluetooth and Bluetooth Low Power. It additionally provides you entry to an AI platform, Clea, with pre-trained AI fashions. Each microcontrollers might be programmed utilizing completely different environments, reminiscent of TinyML, TensorFlow Lite, MicroPython, C/C++, and extra – Kickstarter.

Wheel of Cheese Moon Phase Lamp

Wheel of Cheese Moon Section Lamp with CircuitPython on an Adafruit Circuit Playground Categorical – Instructables by way of Twitter.

Gesture Sensors

CircuitPython Faculty – There’s a Jedi in my microcontroller! Sensing gestures w/an Adafruit APDS9960 – YouTube by way of Twitter.

Fixing button problems in CircuitPython

CircuitPython Faculty – Assist My Button Doesn’t Work! Repair it w/Blocking & Debouncing, plus shade wheel – YouTube by way of Twitter.

ZX Spectrum

Just a little blue display on a Raspberry Pi Pico, managed from a ZX Spectrum. It really works from BASIC, however not from machine code, so I feel I've a timing problem, however I’m unsure. I’m utilizing PIO for velocity when dealing with the information strains, however MicroPython for the show drawing – Twitter.

Raspberry Pi Zero talking to an Arduino using SPI in Python

A Raspberry Pi Zero speaking to an Arduino utilizing SPI in Python, and working Arduino Instruments on the identical time – Twitter.

GPU Cooler

A excessive efficiency GPU cooler for the NVIDIA Tesla K80 with Raspberry Pi Pico and MicroPython- esologic.

Pico in Education

College students use a Raspberry Pi Pico with MicroPython to write down textual content and graphics to an OLED show following a Tom’s Hardware tutorialTwitter.

Getting Started with MicroPython on ESP32

Simple to make use of than Arduino – Getting Began with MicroPython on ESP32 – YouTube.

Conway's Game of Life

Conway’s Sport of Life on an 8×8 led matrix from Adafruit, written in MicroPython – Twitter and GitHub.

Realtek ports MicroPython to the Ameba RTL8722 IoT board

Realtek ports MicroPython to the Ameba RTL8722 IoT board – Adafruit Blog.

LEGO EV3

32 strains of LEGO EV3 MicroPython code gave me this (a collision avoidance robotic). I'm loving it! – Twitter.

Effective Serial Data Processing

MicroPython: Efficient Serial Knowledge Processing – Dev.

CANPico

CAN + Raspberry Pi Pico + MicroPython = CANPico board and it’s now obtainable. It’s bought some neat little {hardware} options and the MicroPython CAN API is basically highly effective – Twitter, Blog, sales.

An Intel 8080 Assembly Suite in Python

An Intel 8080 Meeting Suite in Python – Paolo Amoroso.

An oral history of Bank Python

An oral historical past of Financial institution Python – the unusual world of Python, as utilized by massive funding banks – Cal Paterson.

Additionally see The Code That Controls Your Money, how COBOL controls the monetary lifetime of the world.

RasPi Pico soldering tips

Raspberry Pi Pico castellated floor mount PCB board soldering ideas – RC2014 by way of Twitter.

Spleeter by Deezer

Spleeter is the Deezer supply separation library with pre-trained fashions written in Python and makes use of Tensorflow. It makes it simple to coach supply separation mannequin (assuming you've a dataset of remoted sources), and gives already educated state-of-the-art mannequin for performing varied flavors of separation – GitHub.

Discord bot makers in Python

Two guides on methods to make customized Discord bots in Python – Python Awesome and Better Programming.

An email spam detector with Python

Construct a machine studying electronic mail spam detector with Python – LogRocket by way of Twitter.

Python Data Management

Discover Salmon conservation with academic Knowledge Science in Python – Callysto and Twitter.

risc_v simulator: qtrvsim

A brand new education-focused RISC-V simulator: qtrvsim. It helps you to visualize what is occurring in single stage and pipelined CPUs working RISC-V code. And there's additionally a webassembly port, so it runs within the browser! – Twitter and web simulator.

Debugging a microcontroller from a browser – Golioth.

A weblog publish on why it’s necessary to contribute to good documentation – Network to Code.

PyDev of the Week: Sarah Gibson on Mouse vs Python

CircuitPython Weekly Assembly for November 8, 2021 (notes) on YouTube

#ICYDNCI What was the most well-liked, most clicked hyperlink, in last week’s newsletter? Git and GitHub cheat sheet.

Coming quickly

LED Arcade rev B

4x LED Arcade rev B (ATtiny8x7 model) – Adafruit Blog.

NeoSlider Stemma QT

Ultimate render and test of NeoSlider Stemma QT board earlier than ordering this new design. It’s a I2C Slide Pot + NeoPixel board – Twitter and Adafruit Blog.

CutiePi

The brains of the CutiePi Raspberry Pi CM4-based pill. Appears like there are additional unused interfaces too! I’m engaged on a preview of this new RPi pill for subsequent week. It’s one of the best Pi-based pill I’ve used—nevertheless it’s nonetheless no iPad! – Twitter.

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 two new boards added!

Wanting 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 Study Guides!

New Learn Guides

Green Goblin Pumpkin CPB Ornament from Noe and Pedro

Clue And MagTag Pep Talk Generator from Dylan Herrada

Adafruit VL53L1X Time of Flight Distance Sensor from Kattni

CircuitPython Venture Bundle

BundleFly

Once you get to the CircuitPython code part of an Adafruit Learn Guide, typically issues can get a bit difficult. You not solely have the code it's worthwhile to add to your machine, however you probably additionally want so as to add some libraries that the code requires to run. This concerned downloading all of the libraries, digging via to seek out those you want, and copying them to your machine. That was solely the start on some initiatives, as those who embrace pictures and/or sound recordsdata required additional downloading and copying of recordsdata. However, not anymore!

Now, with Venture Bundles, you possibly can obtain all the mandatory code, libraries and, if wanted, asset recordsdata with one click on! We routinely test which libraries are required for the undertaking and bundle them up for you. No extra digging via an enormous checklist of libraries to seek out those you want, or fidgeting with in search of different recordsdata or dependencies. Obtain the Venture Bundle, copy the contents to your machine, and your code will merely work. We needed to make this the best strategy to get a undertaking working, no matter whether or not you’re a newbie or an professional. We’ll even be including this function to fashionable IDEs as an add-on. Strive it out with any Circuit Python information on the Adafruit Studying System. Simply search for the ‘Obtain Venture Bundle’ button on the code web page.

To obtain and use a Venture Bundle:

Within the Studying System – above any embedded code in a information within the Adafruit Study System, you’ll discover a Obtain Venture Bundle button.

Project Bundle download button

Click on the button to obtain the Venture Bundle zip.

Project Bundle zip downloaded

Open the Venture Bundle zip to seek out the instance code, all needed libraries, and, if obtainable, any pictures, sounds, and so forth.

Project Bundle unzipped

Merely copy all of the recordsdata over to your CIRCUITPY drive, and also you’re able to go!

In the event you run into any issues or bugs, or wish to submit suggestions, please file a problem on the Adafruit Learning System Guides GitHub repo.

CircuitPython Libraries!

CircuitPython Libraries

CircuitPython assist for {hardware} continues to develop. We're including assist for brand new sensors and breakouts on a regular basis, in addition to bettering on the drivers we have already got. As we add extra libraries and replace present ones, you possibly can sustain with all of the adjustments proper right here!

For the most recent libraries, obtain the Adafruit CircuitPython Library Bundle. For the most recent group contributed libraries, obtain the CircuitPython Community Bundle.

In the event you’d prefer to contribute, CircuitPython libraries are a terrific place to start out. Have an concept for a brand new driver? File a problem on CircuitPython! Have you ever written a library you’d prefer to make obtainable? Submit it to the CircuitPython Community Bundle. Excited about serving to with present libraries? Take a look at the CircuitPython.org Contributing page. We’ve included open pull requests and points from the libraries, and particulars about repo-level points that should be addressed. We have now a information on contributing to CircuitPython with Git and Github when you need assistance getting began. You can too discover us within the #circuitpython channel on the Adafruit Discord.

You may try this list of all the Adafruit CircuitPython libraries and drivers available.

The present variety of CircuitPython libraries is 340!

Up to date Libraries!

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

What’s the staff as much as this week?

What's the staff as much as this week? Let’s test in!

Dan

I’ve gotten the MicroPython model of asyncio to work with CircuitPython, with just a few adjustments to the asyncio Python code, and some adjustments in core CircuitPython. Our implementation of async and await is barely completely different. I wrote a few small check packages: one blinks two LEDs at completely different speeds independently, and the opposite controls two servos in coordination in a easy means. I’ll have a look at dealing with pin-change interrupts by way of asyncio subsequent.

It's simple to make errors when writing even easy asyncio code, reminiscent of omitting an await. I’m additional wrappers to make it simpler. I’ve discovered a easy implementation of process teams, and can discover utilizing that.

Jeff

In your CIRCUITPY drive, the file boot_out.txt holds details about the board and CircuitPython model. Due to my pull request (just lately merged, to look in CircuitPython 7.1), this file will now embrace the textual content written by the board’s boot.py initialization code (as much as 512 bytes), and solely be rewritten when it adjustments, each of which had been lengthy supposed however by no means fairly labored that means.

Kattni

This week has been spent ending up the overhaul of the Welcome to CircuitPython! information, which included an enormous replace to the Welcome to the Group! information as properly. The overhaul is almost finished. The up to date information creates a a lot smoother expertise for these getting began with CircuitPython. Hold a watch out for the completed replace!

A brand new contributor reported a problem with Pylint variations regionally and remotely, and it was decided that they had been working a distinct model of Pylint than our checks are working, nevertheless it bought me pondering that we had a problem with the best way our checks are working on the instance code, and determined we'd as properly replace Pylint if we’re going to patch the CI setup anyway. So right here we're. Dylan ran a patch to repair the instance code CI, and up to date Pylint, and went via the entire failing libraries to repair points associated to new Pylint checks.

I additionally ended up down a rabbit gap with fixing some documentation points on one library that led to realizing that Learn The Docs (the place our docs are hosted) was working an historic model of Sphinx (what we use to construct our docs) and we had been working the most recent model regionally. So a few hours had been misplaced to determining what was happening, why, and methods to repair it, however the repair can be included within the patch talked about above. Present initiatives are working the most recent on Learn the Docs, however outdated ones weren't. In order that’s been fastened as properly.

Melissa

Melissa

This previous week I've been fixing up the CircuitPython code editor so it's working significantly better on cellular gadgets. This consists of quite a lot of bug fixes such because the compensating for the viewport peak being calculated otherwise on cellular gadgets and desktop browsers, bettering the colour scheme, a busy indicator when speaking over Bluetooth, improved reconnection and quite a lot of minor bug fixes and enhancements. The code is obtainable now on https://code.circuitpython.com, nevertheless it does require absolutely the latest construct of CircuitPython to work.

Scott

This week I’ve been absorbed into SD card assist for CircuitPython. It’s taken me a pair days to verify that I’m outputting to the wires to the SD card. Now that I’ve finished that, I’ve been working to assist the initialization of the cardboard. It’s a standard algorithm and I’ve been hoping to have a shared code base for it. Due to everybody on Twitter who has pointed me to completely different implementations. Hopefully quickly we’ll have a TinyUSB-like library for managing SD and EMMC playing cards.

Upcoming occasions!

RISC-V Summit

RISC-V Summit brings the group collectively to point out the ability open collaboration can have on the processor trade. The viewers spans throughout industries, organizations, workloads, and geographies to be taught in regards to the know-how developments within the RISC-V ecosystem and visibility of RISC-V successes. The occasion is December 6 – 8, in-person in San Francisco or nearly from anyplace on this planet – Linux Foundation by way of Twitter.

PyCon US 2022

PyCon US 2022 planning is underway. The staff is planning to host the occasion in individual with an internet element. April 27, 2022 – Could 5, 2022. Head over to the PyCon US 2022 website for particulars in regards to the convention and extra details about the sponsorship program – PyCon Blog.

Ship Your Occasions In

As for different occasions, with the COVID pandemic, most in-person occasions are postponed or cancelled. If you realize of digital occasions or occasions which will happen sooner or later, please tell us on Discord or on Twitter with hashtag #CircuitPython.

Newest releases

CircuitPython’s secure launch is 7.0.0 . New to CircuitPython? Begin with our Welcome to CircuitPython Guide.

20211104 is the most recent CircuitPython library bundle.

v1.17 is the most recent MicroPython launch. Documentation for it's here.

3.10.0 is the most recent Python launch. The newest pre-release model is 3.11.0a2.

2,651 Stars Like CircuitPython? Star it on GitHub!

Name for assist – Translating CircuitPython is now simpler than ever!

CircuitPython translation statistics on weblate

One necessary 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.

Check in with an present account reminiscent of GitHub, Google or Fb and begin contributing via a easy net interface. No forks or pull requests wanted!

As at all times, when you run into bother be part of us on Discord, we’re right here to assist.

jobs.adafruit.com

jobs.adafruit.com has returned and people are posting their expertise (together with CircuitPython) and corporations are in search of gifted makers to affix their firms – from Digi-Key, to Hackaday, Micro Heart, Raspberry Pi and extra.

Job of the Week

Occasions Supervisor – Hack Membership – Adafruit Jobs Board.

31,631 thanks!

31,631 THANKS

Adafruit Discord

The Adafruit Discord group, the place we do all our CircuitPython growth within the open, reached over 31,631 people, thanks! Adafruit believes Discord affords a novel means for CircuitPython of us to attach. Be a part of at present at https://adafru.it/discord.

ICYMI – In case you missed it

ICYMI

The great world of Python on {hardware}! That is our Python video-newsletter-podcast! The information comes from the Python group, Discord, Adafruit communities and extra and is reviewed on ASK an ENGINEER Wednesdays. The entire 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 house for CircuitPython, conferences are normally Mondays at 2pm ET, that is the audio model on iTunes, Pocket Casts, Spotify, and XML feed.

And lastly, we're working up a one-spot vacation spot for all issues podcast-able right here – podcasts.adafruit.com

Contribute!

The CircuitPython Weekly Publication is a CircuitPython community-run e-newsletter emailed each Tuesday. The entire archives are here. It highlights the most recent CircuitPython associated information from across the net together with Python and MicroPython developments. To contribute, edit subsequent week’s draft on GitHub and submit a pull request with the adjustments. You may additionally tag your data on Twitter with #CircuitPython.

Be a part of our Discord or post to the forum for any additional questions.

No feedback but.

Adafruit has a "be glorious to one another" remark coverage. Assist us preserve the group right here optimistic and useful. Follow the subject, be respectful of makers of all ages and talent ranges. Be type, and do not spam - Thanks!



Source link

Leave a Reply

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