The next newsletter goes out in a week and being subscribed the best way to keep up with all things Python for hardware.
Over 6,767 subscribers worldwide!
Buy One Give One at Adafruit with Black Girls Code
For a limited time, whenever you buy a Circuit Playground Express the regular price of $24.95, on this page! Adafruit will automatically donate one to Black Girls CODE. Black Girls CODE goal is to empower young women of color ages 7-17 to embrace the current tech marketplace as builders + creators.
Black Girls CODE vision is to increase the number of women of color in the digital space by empowering girls of color ages 7 to 17 to become innovators in STEM fields, leaders in their communities, and builders of their own futures through exposure to computer science and technology. To provide African-American youth with the skills to occupy some of the 1.4 million computing job openings expected to be available in the U.S. by 2020, and to train 1 million girls by 2040.
This “Buy One Give One” is sponsored by Adafruit. For “Buy One Give One” partnerships, and sponsorship information email [email protected].
CircuitPython Blinka snakes its way to Amazon AWS IoT
CircuitPython Blinka snakes its way to Amazon AWS IoT! Setting Up Your Raspberry Pi and Moisture Sensor – AWS IoT.
“The libraries for the Adafruit STEMMA moisture sensor are written for CircuitPython. To run them on a Raspberry Pi, you need to install the latest version of Python 3 (Adafruit Blinka libraries).”
Pepper’s Ghost PyPortal
A CircuitPython powered PyPortal with a spooky sandwich-eating Pepper’s ghost GIF reflected, using a cellphone glass screen protector inside of a 3D printed lantern – Twitter.
CircuitPython Powered Candy Dispensing Skull
CircuitPython Libraries contributing! New section on circuitpython.org
If you’d like to contribute to the CircuitPython project, the CircuitPython libraries are a great way to begin. This page is updated weekly with status information from the CircuitPython libraries, including open issues and repository-level issues.
If this is your first time contributing, or you’d like to see our recommended contribution workflow, we have a guide on Contributing to CircuitPython with Git and Github. You can also find us in the #circuitpython channel on the Adafruit Discord.
Have an idea for a new driver or library? File an issue on the CircuitPython repo!
Visit the new section on circuitpython.org!
CircuitPython powered Bibliocircuitry
Make your own CircuitPython powered interactive conference poster
Feather floats with the Maker Buoy
The Maker Buoy is a low cost, solar powered, open source drifting buoy. They are now offering a populated Maker Buoy board for $45. Add-ons include: Rockblock modem and GPS which allows communicating over Iridium. Includes I2C header, watchdog timer, status LED, and flashing strobe circuitry – makerbuoy.com & Twitter. We also added this to the awesome-feather list!
Bluefruit on macOS Catalina + Catalyst
Jerry tweeted about macOS Catalina’s new feature that allows running iOS apps using Catalyst, the example was our Bluefruit app, so we of course had to try it! It was easy! We’re going to test and do any fixes and have a version out soon, thanks Collin! – Youtube.
81 boards on CircuitPython.org
There are now 81 boards on CircuitPython.org! Latest update includes:
The Cedar Grove StringCar M0 Express is an ATSAMD21-based CircuitPython compatible board used to control a simple string car racer robot. The board is architecturally similar to the Adafruit Trinket M0 and ItsyBitsy M0 Express microcontroller boards with the addition of battery management and a DC motor controller. This board features JST connectors for the racer’s battery, motor output, and sensor input. LiPo battery management charge rate is 500mA. For sensor experimentation, a 3.3-volt Stemma-QT connection is available on-board. The micro-USB connector used for REPL operation, operational status data output, and battery charging. On-board flash memory size is 2MB.
Circuit Playground Express + Displayio. Extend and expand your Circuit Playground projects with a bolt on TFT Gizmo that lets you add a lovely color display in a sturdy and reliable fashion. This PCB looks just like a round TFT breakout but has permanently affixed M3 standoffs that act as mechanical and electrical connections.
PyDev of the Week: Sophy Wong
Wow! Mouse vs Python has Sophy Wong as PyDev of the week!
“This week we welcome Sophy Wong (@sophywong) as our PyDev of the Week! Sophy is a maker who uses CircuitPython for creating wearables. She is also a writer and speaker at Maker events. You can see some of her creations on her Youtube Channel or her website. Let’s take a few moments to get to know her better!”
SmallSats Discord on Adafruit server!
We now have a SmallSats channel on the Discord server. Stop by if ya like to discuss Python in space, and more – https://adafru.it/smallsats
News from around the web!
Thea made another CircuitPython library, WinterbloomVoltageIO. VoltageIO lets you set the output voltage to your DACs instead of having to do the maths to calculate voltage every time. It also lets you do the reverse for ADCs! – GitHub, via Twitter.
Using Apple MacBook Airs and Pros along with Circuit Playgrounds to teach basic coding to get ready for 2 and 3rd grade robotics. From Mike Pitcher, Director of Academic Technologies at The University of Texas at El Paso, and Apple Distinguished Educator 2017 – Twitter.
Digi-Key booth at Maker Faire Rome with Monster M4sk! – Twitter.
GeekMom’s incredible outfit – Twitter.
Super cute ADABOT Operation-like game with Circuit Playground is heading to Maker Faire Korea – Instagram.
Sneak peek of Nithin’s Halloween costume using MONSTER M4SK. Nithin’s daughter is going as a donut, so naturally… Nithin tagging along as coffee ?? – Twitter.
This dress was created for the Reinvent the Runway 2019 show in Rocklin, California. It’s made of plastic grocery bags and bubble wrap, and powered by Adafruit’s Circuit Playground Express. The dress is motion sensitive and puppeted using fishing line connected to bracelets made of plastic soda bottle rings. The necklace is also made of soda bottle rings, and the fascinator hat is a small turtle made of a soda bottle. The theme was Science, and all the entries needed to be made of recycled materials, Post and YouTube.
Sayanne is using an Adafruit nRF52 BLE board and built some demos with a client-side app with Chrome browser’s Web BLE support. You can read the changing GATT characteristics from a BLE device to the browser! Twitter and YouTube.
Giant axe now ready for Battle Royale – Instagram.
The Chroma Touch LED glove – Instagram.
“The tool is based on a model of measured values, and is not showing the actual measurement. The results are therefore estimates of the expected value. It is meant for evaluation purposes only, and will not give the exact numbers in every use case. Testing shows that the estimated average current is typically within 5% of the actual value for the reference parts. The device to device variations will add to this inaccuracy. Please refer to the nRF52 Product Specification for expected min/max values for the different current components.”
Here is the last ESP32 hardware design guidelines posted on the Espressif site – PDF.
How to make a pretty prompt in Windows Terminal with Powerline, Nerd Fonts, Cascadia Code, WSL, and oh-my-posh – Scott Hanselman.
Nyan cat earrings – Instagram.
There is a new Arduino IDE (alpha), called the Arduino Pro IDE, that has support for additional languages other than C++. Is this one of the first moves towards supporting Python? – Arduino blog.
Leo’s Iron Man gloves – Instagram.
Episode 3 of season 7 from The Blacklist has some Adafruit gear – Twitter.
Anaconda turns your Sublime Text 3 into a fully featured Python development IDE – damnwidget.github.io/anaconda
Dash is an API Documentation Browser and Code Snippet Manager. Dash stores snippets of code and instantly searches offline documentation sets for 200+ APIs, 100+ cheat sheets and more. You can even generate your own docsets or request docsets to be included – Dash. Hmm, if there is interest maybe we’ll see about adding CircuitPython?
Andrey Vlasovskikh – The Story of Features Coming in Python 3.8 and Beyond – YouTube.
Pioneering open source drones and robocars – Chris Anderson, former Editor-in-Chief of WIRED and a true pioneer in the world of drones, joined the Changelog show to talk about his hobby gone wrong, how he started 3D Robotics, DIY Drones, and Dronecode. They also talked about his newest passion, DIY Robocars – changelog.com
M-Hair: Creating Novel Tactile Feedback by Augmenting the Body Hair to Respond to Magnetic Fields – YouTube.
There might be up to 212,000 people using Pebbles, as part of the Rebble Alliance, iFixit and Twitter. “Rebble is saving thousands of gadgets from the bin and building a real community around dogged longevity.”
The Lines of Code That Changed Everything: Apollo 11, the JPEG, the first pop-up ad, and 33 other bits of software that have transformed our world – slate.com
All Creative Work is Derivative – YouTube.
What’s New In Python 3.8 – Python.org
Complete Guide to Imports in Python: Absolute, Relative, and More. How to plan your code so imports are clear and clean – Python for the Lab.
Running ML on edge devices is growing in importance as applications continue to demand lower latency. It is also a foundational element for privacy-preserving techniques such as federated learning. As of PyTorch 1.3, PyTorch supports an end-to-end workflow from Python to deployment on iOS and Android – PyTorch Mobile.
daudin is a UNIX command-line shell based on Python – GitHub.
An instance of your terminal in your browser – cast-sh.
If you like this newsletter, you’ll probably also like the Python Foundation newsletter too, the latest one is here!
Speaking of! Special thanks to Naomi Ceder, chair of the Python Foundation Board of directors, for helping us always as we grow this community together, AND, for hanging out while we showed Python on hardware demos at dinner last week ??
CircuitPython Weekly meeting for October 21, 2019 on YouTube.
E-Ink GIZMO, getting close!
nRF52840 ItsyBitsy coming soon!
CircuitPython LOGO Turtle ?? – YouTube.
Speaking of TURTLE … check out these snowflakes made with TURTLE!
Pepper’s ghost, hologram-like, with a PyPortal and BLINKA – Twitter.
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!
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 192!
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:
What is the team up to!
A fun and interesting thing I did this week was prototyping the tester circuit and writing the tester code for the mpu6050 gyro and accelerometer. Each individual sensor breakout, development board, pi hat or bonnet, fancy tft display, featherwing, or other electronic dodad that we manufacture is tested before it gets sent out. To do this, our eagle-eyed staff deploy a phalanx of test jigs to verify each item coming off the assembly line to make sure it’s up to snuff.
I’m still working on the storage infrastructure needed for BLE bonding. The actual bonding code is fairly simple; it’s prepping for it that’s been more complicated. I’ve removed unused code from the CircuitPython for chips and boards that are supported in MicroPython but that we don’t support. This reduces confusion about what we do support, and makes it easier to search the code base without encountering irrelevant files.
This week has seen more Raspberry Python updates. I’ve been working through updating more guides with CircuitPython and Python on Linux usage. As I update, I have been testing breakouts and more on Raspberry Pi; this week I tested MAX31856, ADXL345 and Pixie LEDs. We recently saw the addition of a basic driver for the MCP9600 thermocouple amplifier. I spent the second half of the week working on implementing the rest of the features available for that chip, including alert configuration. You’ll be able to use CircuitPython and Python on Linux to set up four separate alerts on the chip. Once documented and reviewed, the driver will be available in the CircuitPython library bundle and on PyPI. Keep an eye out that and more updated guides!
This week I’ve been working on the internals of UART, adjusting the tools ST provides to be more tolerant of unexpected data and soft reboots. It’s been unpleasantly resilient, due to bugs that impede debugger use, but should be wrapped up soon. Next, I’ll be working on implementing PWM, which should enable more LED related library use, and cleanup for the port as a whole.
Last week I finished up updating all of the color TFT breakout guides with a new Python section so that they can be used in the User Space on the Raspberry Pi. The pages are mirrored to all of the guides, so you can check them out here and here. This week I’ve been heads down in eInk Displays. I’ve been working on updating guides for using eInk displays with displayio instead of the EPD library. I’ve also been working on some demo code for the Raspberry Pi.
Last week I continued my BLE saga by getting Connections working again after merging the Central and Peripheral roles together. The big thing here is that the services themselves are now defined once and used for both sides of the connection. This will make it easier to establish and maintain services and characteristics.
Hacktoberfest is open to everyone in the global community. Whether you’re a developer, student learning to code, event host, or company of any size, you can help drive growth of open source and make positive contributions to an ever-growing community. All backgrounds and skill levels are encouraged to complete the challenge – https://hacktoberfest.digitalocean.com
“October is Open Hardware Month! Check out the Open Hardware Month website. Host an event, find a local event, or certify your hardware to support Open Source Hardware. We are providing resources and asking you, the community, to host small, local events in the name of open source hardware. Tell us about your October event by filling out the form below. Your event will be featured on OSHWA’s Open Hardware Month page (provided you have followed OSHWA’s rules listed on the “Do’s and Don’ts” page).”
We’ve been posting EACH DAY, ALL MONTH, check ’em out!
- Open Hardware Month Hack Chat at Hackaday.io – Day 21, 10/21/2019.
- Parallax Open-source hardware – Day 20, 10/20/2019.
- Growing Your Open Business – A Digital Meetup for Open Hardware Month – Day 19, 10/19/2019.
- Open-source hardware at the Museum of Modern Art, posted on 10/19/2019 – Day 18, 10/18/2019.
- Open Hardware Licenses CC BY-SA, CERN, TAPR … – Day 17, 10/17/2019.
- Open Source Hardware Month at SparkFun – Day 16, 10/16/2019.
- How many Open-Source Prusa 3D printers are there? Posted on 10/19/2019 – Day 15, 10/15/2019.
- The RepRap Project Self-Replicating Open-Source 3D Printing – Day 14, 10/13/2019.
- The first 2 orders at Adafruit… now up to 2,161,166 orders – Day 13, 10/13/2019.
- Photos of the first Arduino (2005) – Day 12, 10/12 2019.
- In 2010 there were 13 Open Source Hardware companies that were making $1 million or more… – Day 11, 10/11/2019
- Opening Hardware 2010 at Eyebeam in NYC – Day 10, 10/10/2019.
- The Open Source Gift Guide, the early years – Day 9, 10/9/2019 (posted it on 10/10/2019, whoops)
- Before the iPhone, before the Raspberry Pi, before Amazon Echo Show, there was Chumby – Day 8, 10/8/2019.
- Mitch Altman Open-source hardware pioneer – Day 7, 10/7/2019.
- The Open Source logo(s) – Day 6, 10/6/2019.
- Open Source Hardware events all month long, EVENTS! – Day 5, 10/5/2019.
- Open Source Hardware Certifications and more! – Day 4, 10/4/2019.
- Teuthis Open Source MP3 Player 2001 – Daisy by Raphael Abrams – Day 3, 10/3/2019.
- What is the Open-Source Hardware Definition? – Day 2, 10/2/2019.
- Open hardware summit – Limor “Ladyada” Fried keynote 2010 – Day 1, 10/1/2019.
October 28–31, 2019. Be part of the ML revolution. Santa Clara, California, USA. TensorFlow is powering everything from data centers to edge devices, across industries from finance to advanced healthcare. And now, with TensorFlow 2.0 and the evolving ecosystem of tools and libraries, it’s doing it all so much easier – TensorFlow World.
Hackaday Superconference is November 15th, 16th, and 17th in Pasadena, California, USA. The Hackaday Superconference is returning for another 3 full days of technical talks, badge hacking, and hands-on workshops: Eventbrite & hackaday.io
April 15-23, 2020, Pittsburgh, Pennsylvania – The PyCon 2020 conference, which will take place in Pittsburgh, is the largest annual gathering for the community using and developing the open-source Python programming language. It is produced and underwritten by the Python Software Foundation, the 501(c)(3) nonprofit organization dedicated to advancing and promoting Python. Through PyCon, the PSF advances its mission of growing the international community of Python programmers – PyCon 2020.
20191021 is the latest CircuitPython library bundle.
3.8.0 is the latest Python release.
Call for help – CircuitPython messaging to other languages!
We recently 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 – Find a dream job, find great candidates!
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 14,522 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.
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, 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.