🦉🔮Adafruit sale all weekend long – use the code ADATHX for 15% off! 🔮🦉
0

ICYMI Python on Microcontrollers: Virtually Maker Faire, HackSpace Magazine, and more! #Python #Adafruit #CircuitPython #ICYMI @circuitpython @micropython @ThePSF

ICYMI (In case you missed it) – Yesterday’s Python on Microcontrollers Newsletter from AdafruitDaily.com went out.

If you missed it, subscribe now! – You’ll get one fab newsletter each Tuesday (before this post the next day). Over 7,840 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. On with the show:

It’s here! The latest Python for Microcontrollers newsletter is brought you by the community! We’re on DiscordTwitter, and for past newsletters – view them all here. If you’re reading this on the web, subscribe here. What’s new this week:

Happy Tuesday! Here’s the latest Python for 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.

HackSpace Magazine Issue 31 is out now

HackSpace Magazine Issue 31

HackSpace Magazine, published by the Raspberry Pi Foundation, is out, full of DIY, Smart Home, and Internet of Things goodness. Some content relating to Python on microcontrollers:

  • Meet The Maker: Liz Clark, an accomplished CircuitPythonista
  • Liz’ BLE (Bluetooth Low Energy) synthesizer – Adafruit Guide
  • Drawing graphs with CircuitPython
  • The Pimoroni Enviro+ FeatherWing has an accompanying CircuitPython library

Show and Tell

Last Wednesday night: HackSpace editor Ben Everard talked to Ladyada and PT on the Adafruit Show and Tell! – YouTube.

Read more, Download PDF, buy now, subscribe.

Virtually Maker Faire was held May 23rd

Virtually Maker Faire

Make.co sponsored Virtually Maker Faire on May 23rd. This online gathering primarily featured Makers responding to COVID-19. 24 hours of presentations, workshops, demos, and exhibits were held across all time zones. Adafruit had a strong presence:

Pivoting in the pandemic – Adafruit NYC – YouTube and more on Adafruit’s Open Safely.

Adafruit Team Member Presentations:

  • Hand Wash Timers with MakeCode and CircuitPython by John Park – YouTube and Periscope
  • Electronics + 3D Printing for Covid-19 with Noe and Pedro Ruiz – YouTube
  • DIY Electronics for Costumes & Art Projects by Erin St. Blaine – Maker Faire

Information on the event and available videos – Make, Make YouTube and Maker Faire YouTube.

Virtually Maker Faire – That’s a Wrap! With Dale Daugherty and Dr. Sally Applin – YouTube and Adafruit’s contributions.

Microsoft Trains OpenAI to Write Python Code

OpenAI writes Python code

At Microsoft Build last week, a discussion on using the Microsoft supercomputer to train OpenAI on thousands of Open Source GitHub repositories. The data set is used to help programmers generate Python code – Periscope, YouTube and Twitter.

See the entire Microsoft Build video list – Periscope.

Automate testing in multiple Python environments with Nox

Nox

Nox is an open source command line tool that automates testing in multiple Python environments, similar to tox. Unlike tox, Nox uses a standard Python file for configuration. For each session, Nox will automatically create virtualenv with the appropriate interpreter, install the specified dependencies, and run the commands in order – Website, Tutorial and GitHub.

A new version was released on May 24th – Changelog.

A CircuitPython Altitude and Heading Reference System (AHRS) Library

AHRS

Mark Komus has contributed a CircuitPython library to perform Altitude and Heading Reference System (AHRS) calculations. AHRS takes an accelerometer, gyroscope and magnetometer and combine the data to create orientation data. While previous implementations had been in Arduino (Adafruit Library), this one is written in CircuitPython for fast microcontrollers.

Be sure to get the latest CircuitPython Library Bundle to obtain the library – Documentation.

Translating CircuitPython is now easier than ever and you can help!

CircuitPython translation statistics on weblate

One important feature of CircuitPython is translated control and error messages. This week, our community has contributed full translations into German and Dutch and started on Czech.

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.

Adafruit Update

Adafruit Heart New York

Adafruit Industries continues to run with 100% of employees being paid and continuing to work. Most are working remotely, with some working in the Manhattan, New York factory as an essential service and business under NYC Executive Order 202.6 Capabilities. Adafruit was deemed an essential service to distribute/make some PPE (Personal Protection Equipment) such as face shields, and manufacturer electronics for essential life-saving/preserving equipment and development which is needed in New York and beyond. –Blog

Doctors using Adafruit PPE

Pivoting in the pandemic - Adafruit NYC

Ladyada and PT gave a talk at Virtually Maker Faire: Pivoting in the pandemic – Adafruit NYC – YouTube and Dr. Sally Applin talking about Adafruit in the Endnote – YouTube.

Adafruit has started shipping regular (non-emergency) orders after priority orders are filled.

If you have been waiting to order, read Adafruit’s announcement and FAQ and then Shop Adafruit now.

Note: there may be a number of out of stock items as manufacturing was disrupted. Adafruit suggests if an item is out of stock and needed, searching at resellers may yield stock. In the US, Digi-Key is suggested.

News from around the web!

CircuitPython Keyboard

A hand-wired USB & Bluetooth keyboard powered by CircuitPython – GitHub.

CircuitPython Chess Clock

chess-clock is a CircuitPython library for creating and controlling a chess clock – GitHub.

micro:bit and CLUE Bluetooth

Using Bluetooth to talk between a micro:bit and CLUE board in MakeCode and CircuitPython respectively – Twitter, CircuitPython Code and MakeCode.

Trinket Trigger

Trinket Trigger is the simplest of Eurorack modules! Only 8 components, including connectors, but it gives you capsense touch control of a CV and a gate (albeit at 3v3). All controlled by an Adafruit Trinket M0 and CircuitPython – Twitter.

Multifunction PyPortal

An update to the Multi-Function PyPortal Information Display which provides calendar, weather, stock info, shower thoughts, and more – Blog, Twitter and GitHub.

Snekboards

The first Snekboard PCBs have made their way to the creator. In a project update, Keith lays out the last few steps needed before shipping the LEGO®-ready, CircuitPython-capable controllers to backers – Twitter and Crowd Supply.

Musique Concrète

The Musique Concrète cuckoo clock, powered by CircuitPython, is at the test stage. It features an Adafruit PyBadge connected to an Adafruit Cricket for Feather board – YouTube and Twitter.

Fluff M0

The prototype Fluff M0 boards are up! Fluff M0 is a minimal Feather form-factor board with a SAMD21 chip running CircuitPython – Twitter and Hackadayio.

MicroPython in VS Code

MicroPython Developer Workflow in VS Code – Phixed.

FIDI: Fast prototyping with CircuitPython

New on Tindie from Omzlo in Greece comes the FIDI board. It is billed as a small development board running Adafruit’s CircuitPython, featuring 6 terminal block connectors and a qwiic connector, designed for fast prototyping. It runs on the ATSAMD21 microcontroller, a 32-bit Arm Cortex M0+ clocked at 48Mhz, as found on many popular Arduino-compatible boards. FIDI is also stated by the developer to be derivative of Arturo182’s SERPENTE board (but not affiliated) – Tindie and Twitter.

Giant Board and Keyboard FeatherWing

The highly anticipated pairing of the Giant Board (Linux in a Feather form factor which runs Python/CircuitPython) and the Keyboard FeatherWing from Arturo182 may be very close to being possible – Twitter.

MARK Educational Robot Kit

MARK Educational Robot Kit with MicroPython – Kickstarter and RoboticGizmos.

Greenhouse Irrigation

A greenhouse irrigation system with MicroPython and Pycom – DesignSpark.

Bender Personal Assistant

A 3D-printed, Raspberry Pi Zero W-based Bender assistant with local voice recognition, programmed in Python – Reddit, Twitter, Hacksterio and GitHub.

Concurrency in Python with Asyncio

A Guide to Concurrency in Python with Asyncio – integralist.

A few scripts for testing the SIM7000E cellular module with Python – GitHub.

Null in Python: Understanding Python's NoneType Object

Null in Python: Understanding Python’s NoneType Object – Real Python.

How to Deprecate a PyPI Package

How to Deprecate a PyPI Package – Dampfkraft.

Python Job Hunting in a Pandemic – Real Python Podcast and Twitter.

A guide to Graphical User Interfaces (GUI) for Python – The Hitchhiker’s Guide to Python.

MSS – an ultra fast cross-platform multiple screenshots module in pure Python using ctypes – GitHub.

Python Humor

PyDev of the Week: Cristi Vlad on Mouse vs Python

#ICYDNCI What was the most popular, most clicked link, in last week’s newsletter? Fifty Single Board Computers are now Blinka Compatible.

Coming Soon in CircuitPython Pull Requests

Coming Soon

ESP32-S2 support in CircuitPython for busio, digitalio and pin use tracking is currently undergoing community review prior to merging – GitHub and Scott Shawcroft stream – YouTube.

Framebufferio: Set ground work for smart LEDs as “framebuffers” – GitHub.

Add, demonstrate use of new background task list functionality – GitHub.

tools: Allow specific boards to be built “monolingual” – GitHub.

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 we had one new board added!

Looking for adding a new board to CircuitPython? It’s highly encouraged! Adafruit has four guides to help you do so:

New Learn Guides!

Adafruit Learning System

BLE Vibration Bracelet from Noe and Pedro

Yoga Pose Chime from John Park

Textable Sensor with FONA and CircuitPython from Brent Rubell

PyGamer MP3 Player with CircuitPython from Jeff Epler

Daily Cheer Automaton from Dano Wall and Andy Doro

Guide Update: Creating and sharing a CircuitPython library by Dylan Herrada

Updated Guides – Now With More Python!

You can use CircuitPython libraries on Raspberry Pi! We’re updating all of our CircuitPython guides to show how to wire up sensors to your Raspberry Pi, and load the necessary CircuitPython libraries to get going using them with Python. We’ll be including the updates here so you can easily keep track of which sensors are ready to go. Check it out!

Keep an eye out here for more updated guides!

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 drivers, download the Adafruit CircuitPython Library 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! 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. Feel free to contact Kattni (@kattni) with any questions.

You can check out this list of all the CircuitPython libraries and drivers available.

The current number of CircuitPython libraries is 230!

Updated Libraries!

Here’s this week’s updated CircuitPython libraries:

PyPI Download Stats!

We’ve written a special library called Adafruit Blinka that makes it possible to use CircuitPython Libraries on Raspberry Pi and other compatible single-board computers. Adafruit Blinka and all the CircuitPython libraries have been deployed to PyPI for super simple installation on Linux! Here are the top 10 CircuitPython libraries downloaded from PyPI in the last week, including the total downloads for those libraries:

Keep an eye out here for updated download stats coming soon!

What’s the team up to this week?

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

Dan

I’ve started to work on using the bleak Python library for to implement _bleio on host computers, analogous to how Blinka emulates native CircuitPython on host computers. Bleak uses Python asyncio, which complicates how it can be called from regular synchronous CircuitPython code. I’m studying up on asyncio and a number of helper libraries.

Jeff

It was a long time coming, but the guide was finally published for the PyGamer MP3 Player, affectionately known as JEplayer. CircuitPython has been able to play MP3s since the release of version 5, but somehow we never released a guide about it.

JEplayer is a bit complex, so it’s fortunate that another guide was published this week for MP3s on CircuitPython (and Arduino) that is more tutorial oriented: Daily Cheer Automaton. Check that guide out also if you want to add MP3 playback to your CircuitPython projects without the need for a special MP3 decoding chip.

Jeff

Kattni

This week, I’ve been working with LED animations using the Adafruit CircuitPython LED Animation library. The library is designed to make displaying LED animations super simple, from blinking, to sparkles, to comets and more. Between pixel mapping and animation groups working with pixels in a matrix or other shape, or multiple groups of pixels, like two connected matrices, is a breeze.

Initial testing showed that the way the library was written made it of limited use on the SAMD21 M0 boards, which includes the ubiquitous Circuit Playground Express. So, over the weekend, we worked on a complete refactor of the library to split every animation into its own module making it significantly more modular. The changes were successful – it’s at least possible to run all but one of the animations individually on the CPX. Further testing is necessary to determine all of the limitations, but it’s much better than it was. We now have a solid API and all additions moving forward will follow it.

Now I am working on an LED animations guide that covers many of the features of the LED Animation library. The guide covers how to use the library overall, the basic, sparkle and rainbow animations, and using the pixel mapping and grouping helpers. It’ll include a link to the API documentation in case you want to take it further.

Along the way, I am finding a few bugs and things we missed during the refactor, which is always an added bonus of having the opportunity to test something thoroughly.

Lucian

This past week I’ve been working on the internals of pin management and busio on the i.MX chips, whittling away at the issues list on Github. The i.MX had some tricky aspects to this – the SDK for the chip doesn’t really have an appropriate “reset pin” function, so keeping reset states consistent with startup required storing in the default states of each pin from the datasheet so they could be restored on reset. I’ve been working on other miscellaneous improvements to the i.MX busio module, and reading about the timer peripherals in anticipation of implementing Pulsio.

Over the weekend, I took some time to work on a personal project of mine, support for a type of motor called the Dynamixel. I’ve been big fan of these motors ever since I used them back in college – they’re easy to manage for more complicated robotics projects and have a lot of built in “checks” to keep them from breaking under stress. I’ve put together a CircuitPython library for using the motor (a bit unpolished at the moment) which I’m hoping to submit to the community bundle next week.

To test it out, I tried it on a simple robot I’m calling Hermie (for hermit crab). It’s not too sophisticated yet… but we’ll see where it goes.

Lucian

Melissa

This week I finished up a couple of small projects including adding an uninstall option for the script that installs PiTFT drivers on the Raspberry Pi. Some of the guides warn the user that they must not have Kernel Level drivers in order to use displays with the Raspberry Pi, but there wasn’t actually a guide that told them how to do it. Now they can easily do it by choosing an uninstall option.

One of the reasons for adding this option was to lay the groundwork for adding displayio to Blinka so that displayio scripts can be run on the Raspberry Pi. It ended up being a bigger project than I initially thought, but I’ve been working my way through it. Hopefully I’ll have something more concrete to show off next week.

Scott

At the end of last week I polished up the initial ESP32S2 CircuitPython work – YouTube Early this week it was merged in! I quickly followed that up with a PR to finish up digitalio. It’s ready to merge so it’ll be in shortly.

Next, up is busio which includes I2C, SPI and UART support. This one module is used to support most of the sensors sold by Adafruit and will unlock many projects.

Upcoming events!

HydPy May Meetup

The HydPy May Meetup will feature Ayan Pahwa speaking about Programming Microcontrollers using CircuitPython. It is scheduled for May 29, 2020 from 17:00 – 18:00 (GMT+5:30) – meetup.

EuroPython 2020

EuroPython 2020 this year will be an online conference from July 23-26. They are planning the following structure:

  • 2 conference days with keynotes, talks, lightning talks, poster session (Thursday and Friday)
  • 2 sprint days with multiple sprint teams (Saturday and Sunday)

Attending the conference days will require a ticket, participating in the sprint days will be free – EuroPython.

PyCon Australia 2020

PyCon AU has announced they are holding PyConline AU, an online event, in August 2020 – pycon.org.au.

PyCon India 2020

PyCon India 2020: the premier conference in India on using and developing the Python programming language. Held online October 3-5, 2020. A call for proposals is now open through August 14, 2020. – Website and Twitter

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

20200523 is the latest CircuitPython library bundle.

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

3.8.3 is the latest Python release. The latest pre-release version is 3.9.0b1.

1,726 Stars on the Adafruit GitHub repo. Like CircuitPython? Star it!

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, Microcenter, Raspberry Pi and more.

19,868 thanks!

19,868 THANKS

Adafruit Discord

The Adafruit Discord community, where we do all our CircuitPython development in the open, reached over 19,868 humans, thank you! Join today! https://adafru.it/discord

ICYMI – In case you missed it

ICYMI

The wonderful world of Python on hardware! This is our first video-newsletter-podcast that we’ve started! The news comes from the Python community, Discord, Adafruit communities and more. It’s part of the weekly newsletter, then we have a segment on ASK an ENGINEER and this is the video slice from that! 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

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 the leading manufacturer in STEAM electronics, Adafruit Industries, to create a coding course, “Learn Hardware Programming with CircuitPython”. The course is now available in the Codecademy catalog.

Python is a highly versatile, easy to learn programming language that a wide range of people, from visual effects artists in Hollywood to mission control at NASA, use to quickly solve problems. But you don’t need to be a rocket scientist to accomplish amazing things with it. This new course introduces programmers to Python by way of a microcontroller — CircuitPython — which is a Python-based programming language optimized for use on hardware.

CircuitPython’s hardware-ready design makes it easier than ever to program a variety of single-board computers, and this course gets you from no experience to working prototype faster than ever before. Codecademy’s interactive learning environment, combined with Adafruit’s highly rated Circuit Playground Express, present aspiring hardware hackers with a never-before-seen opportunity to learn hardware programming seamlessly online.

Whether for those who are new to programming, or for those who want to expand their skill set to include physical computing, this course will have students getting familiar with Python and creating incredible projects along the way. By the end, students will have built their own bike lights, drum machine, and even a moisture detector that can tell when it’s time to water a plant.

Visit Codecademy to access the Learn Hardware Programming with CircuitPython course and Adafruit to purchase a Circuit Playground Express.

Codecademy has helped more than 45 million people around the world upgrade their careers with technology skills. The company’s online interactive learning platform is widely recognized for providing an accessible, flexible, and engaging experience for beginners and experienced programmers alike. Codecademy has raised a total of $43 million from investors including Union Square Ventures, Kleiner Perkins, Index Ventures, Thrive Capital, Naspers, Yuri Milner and Richard Branson, most recently raising its $30 million Series C in July 2016.

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


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.

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

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!

Follow Adafruit on Instagram for top secret new products, behinds the scenes and more https://www.instagram.com/adafruit/

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


Maker Business — To make it through a tough business cycle, layoffs should be a last resort

Wearables — Pipe cleaner purposes

Electronics — Diode Test Current

Python for Microcontrollers — Python on Microcontrollers Newsletter: CircuitPython 6 released and projects galore! #Python #Adafruit #CircuitPython @micropython @ThePSF

Adafruit IoT Monthly — CO2 Cuckoo Clock, Wippersnapper, and more!

Microsoft MakeCode — Making a Smart LEGO Ferris Wheel!

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

New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — JP’s Product Pick of the Week 11/24/20 Adafruit ST25DV16K I2C RFID EEPROM Breakout – STEMMA QT / Qwiic @adafruit @johnedgarpark #adafruit #newproductpick

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.