Daily tips and tricks from the experts at Adafruit!
View this email in your browser

8/8/2019 is CircuitPython day

CircuitPython day

8/8/2019 is CircuitPython day! This year, we’re in the planning stages and will have live videos, celebrations, and more for this very snake friendly date! For now, we’re starting to assemble the artwork in our public DropBox CircuitPython folder, check it out: DropBox.

Make a name (badge) for yourself, with CircuitPython

Les Badge

Les Badge

Here’s a fantastic guide on making a name badge with an Adafruit PyPortal, the Mu editor, and CircuitPython. Les writes –

“I go to a fair few events in the year and each time delegates are given a sticker / badge to help everyone identify each other. But I wanted to make something a little more geeky / nerdy / techy! Creating a conference badge that will act as a digital business card. It will have our logo, a picture of us or a project, and then a QR code containing our contact details. Adafruit’s PyPortal is an Internet of Things (IoT) device that has WiFi, a 70mm by 50mm 320×240 resolution touchscreen, light sensor, temperature sensor, Neopixel, microSD slot and a speaker.

Powered by an ATSAMD51J20 CPU and with wireless connectivity provided by an ESP32 this is a lot of power in a small board. Smaller than a Pi Zero W and Hyperpixel screen!”

Guide, photos, and Tweets.

Using Python on Windows 10

Using Python on Windows 10

Getting Python on Windows 10 is getting easier with recent Microsoft improvements!

It’s been widely known for many years that Windows is the only mainstream operating system that has not included a Python interpreter out of the box. For many users who are never going to need it, this helps reduce the size and improves the security of the operating system. But for those of us who would like to use it, Python’s absence has been keenly felt.

With the May 2019 update to Windows 10, there are two methods to get Python 3.7 on your computer. There is a community release of Python 3.7 in the Microsoft Store. This will be the default choice for getting Python if you are looking for an easy install separate than those on the Internet.

Second, every install of Windows starting with the May 2019 update will include the python and python3 commands that take you directly to the Python store page.

This tutorial will help you through these options – learn.adafruit.com.

AirLift FeatherWing – ESP32 WiFi Co-Processor

AirLift FeatherWing

It’s easy to use the Adafruit AirLift breakout with CircuitPython and the Adafruit CircuitPython ESP32SPI module. This module allows you to easily add WiFi to your project – learn.adafruit.com.

Handhelds for developers

Pixeland

There are a lot of handheld devices that will be programmable by developers and beginners, and this could be a new chapter of gaming for more people. Pixeland has a roundup of the current and upcoming devices, the Adafruit PyBadge and PyGamer both made the list!

New MicroPython release: v1.11

v1.11

Improved mpy format with support for native code, and new JavaScript port – GitHub. And, there’s a roadmap for the next release (v1.11 -> v2.0?) – GitHub.

News from around the web!

CPC

CircuitPython 7-Segment Character Clock, a desk clock built from a few Adafruit boards & brass rods for structure/connections – hackaday.io via Twitter.

UFO

CedarGrove is working on a UFO screen test that happens to run CircuitPython for the out-of-this-world lighting – Twitter. See the controller’s custom front panel in this Adafruit tutorial.

Marlene

More folks are making and sharing, their name badges with the CircuitPython powered PyBadge. Thanks Marlene! – Twitter.

Sean got tired of remembering to save code.py files across multiple devices, so Sean made made a Visual Studio Task to copy the current file to a connected CircuitPython device – GitHub, via Twitter.

Mini SAM

A cute breadboard adapter for Mini SAM is in the works. The holes have DIP spacing. This might be called a ‘backpack’, but it looks more like a wingsuitTwitter.

CircuitDuino

Filed under “related news” or just “improving Arduino to make it more like CircuitPython.” Adafruit now has code that allows an Arduino to show up like a disk drive when connected to a computer via USB! YES! IT IS FINALLY HERE! – YouTube. Drag and drop files that are stored on SD or SPI Flash over the USB connection. This makes transferring assets like audio files, fonts, images, GIFs, data logs, etc. as well as configuration scripts SUPER EASY! Install the Adafruit SAMD 1.5.0 board support package with TinyUSB stack support and the the example code here – GitHub.

Installation procedure for MicroPython development under Windows 10 – GitHub.

Lachlan and Brian showcase a demo of the new – and unique – Propeller 2 and how they’re running MicroPython on the hardware – YouTube.

Designing Embedded Systems Using MicroPython – DesignNews.

MULTI PASS / DEF CON 27 Indie Badge

MULTI PASS / DEF CON 27 Indie Badge. A Hackable Indie Badge for DEF CON 27. LEDs, E-Paper Display, WiFi, Rechargeable Battery, and a Python Compatible Platform – Kickstarter.

Learn Flask for Python – YouTube.

Sunsetting Python 2 support – python3statement.org.

Another Step Toward the End of Moore’s Law. Samsung and TSMC move to 5-nanometer manufacturing – IEEE.org

Automatically Syncing Captions on YouTube Videos by Aaron Parecki.

Publishing GitHub Pages from Azure Pipelines by Matt Cooper.

Python in Azure Pipelines, Step by Step by Hynek Schlawack.

PyInstaller Tutorial – DevDungeon.

Use two-factor authentication to improve your PyPI account’s security – Python.org.

When Can Electrical Engineers Use Python? Applications for the Python Programming Language – All About Circuits.

How to use the Microsoft Azure Face API to detect emotions from images – Microsoft Azure.

Lack of leadership in open source results in source-available licenses – TechCrunch.

Milestones in project cards – GitHub.

The unlikely origins of USB, the port that changed everything – FastCompany.

uf2

UF2 Bootloader: Creating Custom Boards. Want to remove the hassle of using the command line every time you need to upload new firmware? Now you can – hackster.io.

CircuitPython Weekly May 28th, 2019 on YouTube.

CircuitPython Weekly for June 3rd, 2019 on YouTube and on diode.zone

#ICYDNCI What was the most popular, most clicked link, in last week’s newsletter? Atom Editor for CircuitPython!

PyDev of the Week: Stefan van der Walt on Mouse vs Python

Coming soon

BTLECPX

A Bluetooth low energy Circuit Playground? MAYBE!

Gaming

Gaming

Gaming

As Adafruit ramps up for shipping a ton of CircuitPython capable gaming devices, enjoy the show 🙂

New Learn Guides!

ZACP

PyPortal IoT Plant Monitor with Microsoft Azure IoT and CircuitPython from Brent Rubell

Adafruit PyBadge and PyBadge LC from Kattni

Introducing Adafruit PyGamer from Kattni

PyPortal ISS Tracker from Carter Nelson

PyBadge Conference Badge With Unicode Fonts from Melissa LeBlanc-Williams

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 checking back 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 this GitHub issue on CircuitPython for an overview of the State of the CircuitPython Libraries, updated each week. We’ve included open issues from the library issue lists, 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 157!

New Libraries!

Here’s this week’s new CircuitPython libraries:

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:

Library Last Week Total
Adafruit-Blinka 2041 37126
Adafruit_CircuitPython_BusDevice 1241 12384
Adafruit_CircuitPython_Register 355 6092
Adafruit_CircuitPython_NeoPixel 338 5525
Adafruit_CircuitPython_MCP230xx 287 1376
Adafruit_CircuitPython_PCA9685 253 3606
Adafruit_CircuitPython_Motor 251 4014
Adafruit_CircuitPython_ServoKit 163 2897
Adafruit_CircuitPython_LIS3DH 150 1733
Adafruit_CircuitPython_ADS1x15 147 1923

Upcoming events!

PyLondinium

PyLondinium is back for 2019, with a diverse program of sprints, workshops and talks. The conference is returning to Bloomberg’s European HQ in the heart of the City of London, June 14th, 15th, and 16th, 2019 – pylondinium.org

EuroPython

July, 8 to 14th 2019. The EuroPython conference series was initiated by the European Python community in 2001 and started with EuroPython 2002 in Charleroi, Belgium, as the first major Python conference entirely run by volunteers – ep2019.europython.eu

Open Source Summit and Embedded Linux Conference

Open Source Summit and Embedded Linux Conference, August 21 – 23, 2019 at the Hilton San Diego Bayfront. The Open Source Summit North America combines with Embedded Linux Conference North America (ELC). ELC has been a vendor-neutral technical conference where developers working on embedded Linux and industrial IoT products and deployments gather for education and collaboration. Open Source Summit brings together developers and open source professionals to collaborate and learn about the latest technologies – Linux Foundation.

PYCON UK 2019

PYCON UK 2019 – Cardiff City Hall, Friday 13th to Tuesday 17th September. PyCon UK is back at Cardiff City Hall, for five days of talks, workshops and collaboration. The conference also features a young coders’ day, themes dedicated to science and education, and numerous Python-related events – PyCon UK.

micro:bit Live 2019

micro:bit Live 2019 is coming to BBC MediaCityUK, Greater Manchester, England on October 4-5. This will be the very first annual gathering of the global micro:bit community of educators and partners – micro:bit.

Latest releases

CircuitPython’s stable release is 4.0.1. New to CircuitPython? Start with our Welcome to CircuitPython Guide.

20190603 is the latest CircuitPython library bundle.

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

3.7.3 is the latest Python release. The latest pre-release version is 3.8.0a4.

1255 Stars Like CircuitPython? Star it on GitHub!

Call for help – CircuitPython messaging to other languages!

Hello world

We posted on the Adafruit blog about bringing CircuitPython messaging to other languages, one of the exciting features of CircuitPython 4.x is translated control and error messages. Native language messages will help non-native English speakers understand what is happening in CircuitPython even though the Python keywords and APIs will still be in English. If you would like to help, please post to the main issue on GitHub and join us on Discord.

We made this graphic with translated text, we could use your help with that to make sure we got the text right, please check out the text in the image – if there is anything we did not get correct, please let us know. Dan sent me this handy site too.

jobs.adafruit.com is back

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.

12,508 thanks!

12,508

Adafruit Discord

The Adafruit Discord community, where we do all our CircuitPython development in the open, reached over 12,508 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.

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.