The next newsletter goes out in a week and being subscribed the best way to keep up with all things Python for hardware.
Over 5,875 subscribers worldwide!
8/8/2019 is 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
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!”
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
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
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
News from around the web!
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. 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 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.
PyDev of the Week: Stefan van der Walt on Mouse vs Python
A Bluetooth low energy Circuit Playground? MAYBE!
As Adafruit ramps up for shipping a ton of CircuitPython capable gaming devices, enjoy the show ??
New Learn Guides!
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 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!
Here’s this week’s new CircuitPython 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:
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
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, 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 – 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 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.
20190603 is the latest CircuitPython library bundle.
Call for help – CircuitPython messaging to other languages!
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 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.
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
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.
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, 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.
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.
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.