ICYMI (In case you missed it) – Tuesday’s Python on Microcontrollers Newsletter from AdafruitDaily.com went out – if you missed it, subscribe now!
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,900 subscribers worldwide!
https://www.adafruitdaily.com/
The need for speed, CircuitPython 4.1.0 Beta 0 Released!
CircuitPython 4.1.0 Beta 0 Released! 4.1.0’s biggest feature is speed! General execution of Python should be 2-5x faster and display refreshing will be faster as well.
This is the first beta version for testing. It shouldn’t break any code compatible with previous 4.x releases. Please use the latest 4.x stable release (available from the new website!) when first starting with CircuitPython. It is stable.
Download it now from circuitpython.org – full release notes.
Interested in Python or programming microcontrollers with Python?
If you can spare a few minutes, the interns at Microsoft Garage in Vancouver need your input for a user testing a new PythonHardware Visual Studio Code plugin – Microsoft Garage Survey.
Hello there, we’re a group of interns at Microsoft Vancouver, working in The Garage! We’re looking for insights into your experience around physical computing projects. As well as your interest in trying out a new method of development for your project – say goodbye to waiting for your code to build and compile inside Arduino IDE with C/C++, Python is here to help! This survey will only take 3 – 5 minutes and your insights are very valuable to us!
EuroPython 2019 attendees getting CircuitPython-powered PewPew Game Consoles!
The device was created and designed by Radomir Dopieralski, a long time EuroPython regular and enthusiastic Python device and robotics builder.
The PewPew is a simplified game console, programmable with CircuitPython, a variant of MicroPython. It comes with a 64 LED display and a set of small buttons to drive the console. EuroPython organizers are looking for attendees to help Radomir with workshops on the PewPew. See more on the blog post and on the PewPew workshop page.
EuroPython 2019 will be in Basel, Switzerland, July 8-14. More details.
Console-based serial terminal for Windows/Visual Studio Code
From the CircuitPython forums, Fasteddy516 writes –
“I’ve written a simple serial terminal in C# that runs as a Windows Console application (i.e. in command prompt or Powershell). It should work with most devices that show up as “COMx” in Device Manager, but I wrote it specifically to work in a terminal window in Visual Studio Code with CircuitPython devices. It includes COM port auto detection, automatic re-connection (if you disconnect and reconnect your device), and uses USB VID and PID values to identify and give preference to CircuitPython-capable devices. The idea was to get a serial monitor in VSCode that was as simple and functional as the serial monitor in the Mu editor. (I like the Mu editor quite a bit, but I do a lot of other work in Visual Studio Code and found switching between the two frustrating – particularly since I use CTRL-H in VSCode all the time!) I’ve attached a screenshot to this message showing it in action in a Visual Studio Code terminal window. Everything is available on Github, so anyone who is interested is welcome to check it out. If you find it useful (or not), I’d love to hear from you!”
The Joy(stick) of CircuitPython for QwiicJoystick
CircuitPython library for the Sparkfun QwiicJoystick – GitHub.
Blinka snakes her way to the Odroid C2
CircuitPython Libraries on Linux and Odroid C2. Make hardware and interface with sensors super easy using CircuitPython – learn.adafruit.com
Python predicted to overtake C and Java in next 4 years.
Python’s ascent continues among software developers, bolstered by its usability compared with Java and C – ZDNet. Here’s the TIOBE Index for June 2019.
“This month Python has reached again an all time high in TIOBE index of 8.5%. If Python can keep this pace, it will probably replace C and Java in 3 to 4 years time, thus becoming the most popular programming language of the world. The main reason for this is that software engineering is booming. It attracts lots of newcomers to the field. Java’s way of programming is too verbose for beginners. In order to fully understand and run a simple program such as “hello world” in Java you need to have knowledge of classes, static methods and packages. In C this is a bit easier, but then you will be hit in the face with explicit memory management. In Python this is just a one-liner. Enough said.”
Grow with Python
The Adafruit 4-H Circuit Playground Express Base Kit is now in stock. We are super pleased to enjoy a partnership with an engaging, empowering foundation like 4-H. Here at Adafruit we drive ourselves to “be excellent”, and 4-H’s motto is “to make the best better.” Though typically thought of as an agriculturally focused organization, 4-H today focuses on citizenship, healthy living, science, engineering, and technology programs. As far as inspiring the next generation of makers and leaders, we like to think we have a lot in common!
It’s the 4-H Circuit Playground Express Base Kit! It provides the few things you’ll need to get started with the new Circuit Playground Express – Adafruit.
8/8/2019 is CircuitPython day!
8/8/2019 is CircuitPython day! This year, we’re in the planning stages and planning 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.
If you need to get in touch with us for planning your event and more, email: [email protected]
News from around the web!
DIY Capacitive Touch Night Light made with CircuitPython – SparkFun.
Blitz City DIY made a rover robot with the Adafruit Crickit board. It’s controlled with an IR remote using an Adafruit Trinket M0, Adafruit Seesaw and custom PCB. Coded with CircuitPython – GitHub.
smes_astronautics from the Advanced Engineering at St. Margaret’s Episcopal School programmed a display that shows the next high elevation pass of the four satellites they are getting images from. It pulls live data from the n2yo website API and combines it with stored images of the satellites – Instagram.
Adafruit Just Made It Really Easy to Build Your Own GameBoy – Gizmodo.
Scott’s Python language summit 2019 slides from PyCon are now online – GitHub.
JP’s MIDI sniffer now running CircuitPython on a Feather M4 Express and sporting clean white headers – Twitter.
Here’s an animatronic singing skeleton with a CPX + a CRICKIT coded with CircuitPython – Twitter.
The Coding Couple (Pair programming is a lifetime commitment), posted up some of projects and more with their new PyBadge! – Twitter, and Instagram.
Building a HomeKit Compatible Laser Trip Wire With CircuitPython using Adafruit and Particle hardware – movingelectrons.net.
Wow! “Time to Say Goodbye to Arduino and Go on to MicroPython/ Adafruit CircuitPython?” is almost the #1 video on Andreas channel, congrats! – YouTube.
Big ole’ Tweet thread of the differences between CircuitPython and MicroPython – Twitter.
Matt sent over a bunch of links – Twitter! TTGO released a Watch built around the ESP32 that can run MicroPython. Decent specs – 16MB flash, 8MB RAM, accelerometer and a 1.54” touchscreen display. Liz has a neat video on using Windows Subsystem for Linux with MicroPython on the TinyPICO. 32blit is still cooking along, we are backers, as Matt pointed out, should be able to run MicroPython and CircuitPython too. tsaarni has written a module to interface to OV2640 cameras, as used in the ESP32-CAM – GitHub. MicroPython examples for Badgy – GitHub. There are only three days left of the Crowd Supply campaign for TinyPICO. Gus wrote up how to use MicroPython with Google Cloud IoT. At PyCon AU in Sydney, Aug 2-6 Matt will be giving a 70 minute deep dive: “Extending MicroPython: Using C for good!”. The talk will cover methods to extend MicroPython, particularly using modules created in C. Say hi if you’re there!
KB-IDE is an open-source IDE that supports ESP-IDF, Arduino, and Visual Programming for ESP32 Boards – kbide.org via nx-software.com. The board manager makes selecting the target board easy with clear pictures, our write up here.
MicroPython and a kitty-powered custom PCB – Twitter.
Use Jupyter notebook with ESP32 – Computer room.
Driver for Grid-EYE thermal infrared array sensor – GitHub.
Tod made another USB HID tool to help test RawHID projects – GitHub.
A GUI software that can interface with a USB camera connected to a microscope – Pycroscope.
Implementation of 4D chess, with an AI in Python – GitHub.
It’s Triggy! AI learns to play TRON – YouTube.
Meet Adafruit Founder Limor Fried: Open-Source Hardware Revolution – TFiR: Open Source & Emerging Technologies & YouTube.
NeXTSTEP-like desktop environment for Linux – GitHub.
June 2019 Hacker-Friendly SBC Catalog Links – linuxgizmos.com via r/SBCGaming.
Maker Media halts operations and lays off staff, our ongoing coverage here. ASK AN ENGINEER segment – YouTube.
#ICYDNCI What was the most popular, most clicked link, in last week’s newsletter? Adafruit’s Feather nRF52840 Express Board and Developing with CircuitPython from Nordic!
CircuitPython Weekly Meeting recording for June 17th, 2019 on YouTube and on diode.zone
PyDev of the Week: Meredydd Luff from Mouse vs Python
Coming soon
Bluefruit Circuit Playground Express is in early prototyping phase – YouTube.
New Learn Guides!
USB HID Crank Controller from Noe and Pedro
Circuit Playground + CircuitPython Quickstart Guide from Collin Cunningham
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 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 158!
New Libraries!
Here’s this week’s new CircuitPython libraries:
Updated Libraries!
Here’s this week’s updated CircuitPython libraries:
- Adafruit_CircuitPython_CircuitPlayground
- Adafruit_CircuitPython_DS3502
- Adafruit_CircuitPython_ESP32SPI
- Adafruit_CircuitPython_BusDevice
- Adafruit_CircuitPython_EPD
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 | 2856 | 40102 |
Adafruit_CircuitPython_BusDevice | 1632 | 14431 |
Adafruit_CircuitPython_Register | 412 | 6726 |
Adafruit_CircuitPython_MCP230xx | 379 | 1994 |
Adafruit_CircuitPython_NeoPixel | 338 | 5927 |
Adafruit_CircuitPython_Motor | 296 | 4511 |
Adafruit_CircuitPython_PCA9685 | 251 | 4025 |
Adafruit_CircuitPython_ADS1x15 | 228 | 2190 |
Adafruit_CircuitPython_SSD1306 | 178 | 1429 |
Adafruit_CircuitPython_framebuf | 174 | 1817 |
Upcoming events!
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, California, USA. 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.
Latest releases
CircuitPython’s stable release is 4.0.1 and its unstable release is 4.1.0-beta.0. New to CircuitPython? Start with our Welcome to CircuitPython Guide.
20190617 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.0b1.
1266 Stars Like CircuitPython? Star it on GitHub!
CircuitPython.org updates!
We have a buncha’ updates on circuitpython.org, specifically in BLINKA! Thanks Melissa!
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
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.
Additionally, Adafruit is hiring too! We’re looking for PHP developers in the NYC area! Email: [email protected]
12,643 thanks!
The Adafruit Discord community, where we do all our CircuitPython development in the open, reached over 12,643 humans, thank you! Join today! https://adafru.it/discord
Discord now offers “server boosts” we have 6 on our server (level 1), if we get to 10 boosts we get a banner and some other good features for the community: 150 emojis, 256 Kbps audio, server banner, 50 mb uploads for all members. Stop by and boost! https://adafru.it/discord.
ICYMI – In case you missed it
The wonderful world of Python on hardware! This is our 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, 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.