CircuitPython takes flight – Using CircuitPython on High Altitude Balloons
Matt’s team is using CircuitPython for on high altitude balloons! Their team HABET (High Altitude Balloon Experiments in Technology) is part of a program called Make 2 Innovate. Make To Innovate (M:2:I) is an exciting program in the Department of Aerospace Engineering at Iowa State University which engages students in hands-on projects to augment their understanding of engineering fundamentals – Make to Innovate (M:2:I) Department of Aerospace Engineering at Iowa State University.
Why choose CircuitPython? Matt writes –
“We had been programming it in C up until this launch, but with myself graduating next semester, along with the Computer Engineer on our team, we needed to find a way to allow for ease of maintenance. When I found you guys had libs for the radio and GPS we decided to try that out. The radio portion worked fantastic.”
ALL ABOARD’ CircuitPython.org updates – datum!
The goal of the datum project is to make it easier for students and hobbyists to incorporate sensors into their projects by doing the heavy lifting of translating the language the sensors speak into a format that’s easy for humans to read and for machines to parse and process.
Towards that end, each datum board emulates a serial port over a USB connection, presenting the information and data stored on them in a JSON encapsulated packet, and processes URI style commands to change and retrieve their settings. The datum boards fill the gap between a LEGO® Mindstorms® sensor and a breakout board.
And now, the datum boards support CircuitPython! Check them all out on CircuitPython.org!
By the numbers: CircuitPython has over 66+ boards supported, adding more each week & has 16+ SBC Linux boards supported, adding more each day, & over 164+ Libraries, adding more every week!
Testing the Circuit Playground Express Bluefruit
We are testing the Circuit Playground Express Bluefruit, check out the coming soon photos! We went to Washington Square Park at night to test how far we could change the colors of the NeoPixels on the CPX Bluefruit, we’re going to need a bigger park maybe 🙂 – YouTube.
TEARDOWN 2019: Supercharge Your Hardware Old and New with CircuitPython by Scott Shawcroft
TEARDOWN 2019 video is now posted! Supercharge Your Hardware Old and New with CircuitPython by Scott Shawcroft – YouTube & slides.
“CircuitPython makes programming hardware easier than ever by bringing the popular Python language to modern, inexpensive 32-bit microcontrollers. This doesn’t need to be limited to modern hardware though. By pairing a modern microcontroller running CircuitPython and a vintage computer, such as a GameBoy or Yamaha piano keyboard, you can unlock the unique characteristics of these vintage devices. In this talk, you’ll learn the basics of how CircuitPython makes coding easy, how it works under the hood, and how to extend CircuitPython with C. As an example, we’ll supercharge a Nintendo GameBoy with CircuitPython. By the end of the talk, you’ll be able to supercharge your own hardware project with CircuitPython.”
8/8/2019 is CircuitPython day!
Mark your cals’ some CircuitPython day events coming up!
Getting started programming microcontrollers with CircuitPython by NYC Resistor – August 3, 2019.
CircuitPython Day with the India Linux Users Group Delhi (ILUGD) at the Delhi Technical University for Women – August 4, 2019. Meetup & Eventbrite.
8/8/2019 is CircuitPython day! We’re in the planning stages and will have live videos, celebrations, and more for this very snake friendly date! Here’s some 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: firstname.lastname@example.org
The Adafruit Discord community, where we do all our CircuitPython development in the open, reached over 13,078 humans, thank you! Join today! https://adafru.it/discord
Discord now offers “server boosts”. We have 12 on our server (level 2). If we get to 50 boosts, we get to level 3 and some other good features for the community: +100 emojis for a total of 250, 384 Kbps audio, vanity URL, 100 mb uploads for all members (and all the things we have now, like the server banner). Stop by and boost! https://adafru.it/discord.
Programmable boards Humble Bundle books – Featuring CircuitPython
Humble Bundle is back with a bundle all about programmable boards. Get e-books like Getting Started with Adafruit Circuit Playground Express, Getting Started with Adafruit Flora, Getting Started with Particle Photon, Getting Started with Adafruit Trinket, Make: Bluetooth, Make: FPGAs, Getting Started with the micro:bit, Getting Started with the Internet of Things, and more. $506 worth of digital books, PAY WHAT YOU WANT, DRM-Free, Multi-Format – humblebundle.com
The Feather – one footprint, countless possibilities! – Twitter.
Design Evolution of the Programmable USB Hub
The CircuitPython-supported Programmable USB Hub design evolution article is up on Crowd Supply!
“Today’s update is going to be a dive into the design progression and evolution of the Programmable USB Hub. Note, I didn’t start out with the aim of creating a product which smashes together a USB Hub, Power Supply, Development Board, and IO expander – my aim was simply to create a product which provided more monitoring and control of USB devices.”
News from around the web!
Owain Martin’s new motor control board… the Auto-bubbleblower, using ItsyBitsy M0 and CircuitPython – Twitter.
EuroPython attendees each received a PewPew; here is Conway’s Game of Life. GitHub, more code, YouTube, and Twitter.
Friday night jam session using CircuitPython – Twitter.
Pocketchip + GrandCentral, outputting the distance it measures – Twitter.
Classic MIDI FeatherWing board, supports DIN-5 and 3.5mm TypeB jacks. Tested with CircuitPython 4.1.0beta1 – GitHub & Twitter.
NYC Computer Science for all name tag, written in CircuitPython using the Mu Code Editor. Made with an Adafruit Feather M0 Bluefruit LE & Adafruit Tri-Color eInk / ePaper Display FeatherWing – Twitter.
Easily Load Device Tree Overlays – “One particularly exciting feature of Giant Board is its ability to load device tree overlays at boot time. We’ve patched U-Boot so that you can tell it what overlays to load simply by editing a text file. This feature is not only great for developers, it also provides an easier, less error-prone way to enable and use common FeatherWings.” – Crowd Supply.
Circuit Playground Express Sleep Assistant for Toddlers – GitHub via Twitter.
The latest Adafruit IOT Monthly: Mid-Century Modern Weather Station, Raspberry Pi 4 and more! – adafruit.io
Notes on using the Chinese “SAMD21-M0-Mini” board – GitHub.
Python is eating the world: How one developer’s side project became the hottest programming language on the planet – ZDNet & PDF.
Python for SparkFun’s Qwiic Connect System – a new package is available that incorporates all Qwiic modules capable of Python – SparkFun.
Express Python – A small Python editor for learning and competitive programming – GitHub.
Wedding gift for Jeroen and Mingming, Python on hardware powered wedding gift – geekabit.nl. Nice quote for the choice of programming them!
“MicroPython turned out to be really easy to work with. Coming from writing mostly assembler, the difference could not be bigger. Python is a very clear and elegant language, with a comprehensive manual and many examples available. Once the ESP32 is flashed with the MicroPython binary, you don’t even have to flash any code while developing, just upload and run it on the fly.”
New ESP32-S2 Beta – Some of your questions answered! – YouTube.
MicroPython implementation of the Homie MQTT convention for IoT – GitHub.
Random Nerd Tutorials published a cool tutorial on using MicroPython with the BME280 – randomnerdtutorials.com
Debugging Python programs by Petr Stríbný.
Huawei Supply Chain Assessment – FINITE STATE.
What help should we provide to students learning to program? – acm.org
Containing a camera, display, tons of flash/RAM, this little device is powered by the dual core Kendryte K210 RISC-V processor – m5stack.com & PDF.
MicroPython on ESP32: sending data to Google Sheets.
Getting started with MicroPython on the W600 – ULTRATECHIE.
Employing Wireless Edge Intelligence with Digi XBee MicroPython – digi.com
Execute Logo on a M5Stack ESP32 Basic with MicroPython – hackster.io
Special thanks to Matt for all the MicroPython links for this week and last week!
Technology is Not Magic, “If we believe technology is magic, we risk becoming slaves to it.” – Andrew “bunnie” Huang, hacker and open source hardware innovator, Singapore. Best known for his work hacking the Microsoft Xbox and efforts in designing open source hardware, including the Chumby (app-playing alarm clock), Chibitronics (peel-and-stick electronics for craft), and Novena (DIY laptop), Huang received his PhD in Electrical Engineering from MIT in 2002. He currently runs a private product design studio, Kosagi, and actively mentors several startups and students of the MIT Media Lab – YouTube via Twitter.
And in other Bunnie news… If you’re near Detroit, the Henry Ford museum has an exhibit featuring Wozniak’s blue blox and the Xbox Bunnie hacked. The “Break, Repair, Repeat: Spontaneous and Improvised Design” exhibit will run until September 15, 2019 – Twitter.
Slide deck from Carol Willing’s keynote @SciPyConf Jupyter: Always Open for Learning and Discovery – Speakerdeck via Twitter.
Data GIF Maker – Google News Lab.
What’s New In Python 3.7 – python.org
5 easy tips for switching from Python 2 to 3 – Towards Data Science.
Hackster is now a million members strong with nearly 20,000 projects and millions of monthly visitors to their community’s website, blog, and social media properties – hackster.io
AI at the Very, Very Edge – EE Times.
Untold History of AI – IEEE Spectrum.
Runway ML puts AI tools in the hands of creators everywhere: A new model for easy access to machine learning – The Verge.
A “Hello World” example for TensorFlow Lite Micro… this example is designed to demonstrate the absolute basics of using TensorFlow Lite for Microcontrollers. It includes the full end-to-end workflow of training a model, converting it for use with TensorFlow Lite, and running inference on a microcontroller – GitHub.
Python Preview extension for Visual Studio Code – marketplace.visualstudio.com. On a related note, there are 9,799,664 installs and 54,472,127 downloads of Python for Visual Studio. It’s the top download, double the number of the 2nd most popular download.
Cutter: a free and open source GUI for the radare2 reverse engineering framework – GitHub.
Did my program cause the improvement in my numbers? – GitHub.
How to build databases using Python and text files – Hello World Magazine.
A Python Tetris implementation that “fits on a business card” (20 lines x 80 characters) – GitHub.
Website for creating simple Python 3D games – libgame.
NXP FlexIO Generator for the WS2812B LED Strip Protocol – mcuoneclipse.com
Python consumes a lot of memory or how to reduce the size of objects? – habr.com
Python facts, had to add it, it’s the snakes, not the language – softschools.com
Racket is a general-purpose programming language as well as the world’s first ecosystem for language-oriented programming. Make your dream language, or use one of the dozens already available – racket-lang.org
OpenPnP is an Open Source SMT pick and place system that includes ready to run software, and hardware designs that you can build and modify. You can also use OpenPnP software to run a pick and place machine of your own design, or with existing commercial machines, giving them abilities they never had with their OEM software – openpnp.org & YouTube.
Linux 5.2 kernel released, RISC-V, LoRA, and more. And on that note, the list of memberships on riscv.org is just as interesting as who is not on the list – riscv.org… in other RISC-V news, the RISC-V Foundation Community Code of Conduct has been posted, discussion here. Lastly, we’ll post up a RISC-V design we are working on shortly, stay tuned.
#ICYDNCI What was the most popular, most clicked link, in last week’s newsletter? Hacking Digital Calipers with CircuitPython to measure tumors.
CircuitPython Weekly for July 15th, 2019. Video available on YouTube and on diode.zone
PyDev of the Week: Meg Ray on Mouse vs Python
Made with Mu
EuroPython Basel Friday, 12th 2019, Tools of the Trade: The Making of a Code Editor, Nicholas Tollervey – YouTube via Twitter.
Why Mu? Mu tries to make it as easy as possible to get started with programming but aims to help you graduate to “real” development tools soon after. Everything in Mu is the “real thing” but presented in as simple and obvious way possible. It’s like the toddling stage in learning to walk: you’re finding your feet and once you’re confident, you should move on and explore! Put simply, Mu aims to foster autonomy. Try out Mu today! – codewith.mu
CircuitPython … Circuit Playground Express Bluefruit!
Eye see more and more…
TinyUSB will soon support webUSB!
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.
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 164!
Here’s this week’s new CircuitPython libraries:
Check back next week for new 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:
PyOhio is July 27-28, 2019 in Columbus, Ohio, USA! Kattni Rembor will be the opening keynote speaker! PyOhio is a non-profit annual Python community conference. It is free to attend and welcomes anyone with an interest in Python. Content ranges from beginner to advanced and is intended to be relevant to all types of Python users: students, software professionals, scientists, hobbyists, and anyone looking to learn more. There are keynotes, tutorials, talks, sprints, open spaces, lightning talks and more. Registration is now open! PyOhio
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.
2020 Open Hardware Summit – March 13th 2020, Tishman Auditorium at NYU School of Law, New York
The Open Hardware. In 2020, we will be celebrating tenth anniversary of the Open Hardware Summit. The 2020 Open Hardware Summit will be held Friday, March 13th, 2020 at Tishman Auditorium – NYU School of Law located at 63 5th Ave, New York, NY 10003, USA.
In addition to it being the 10th Open Hardware Summit, it’s the 20th anniversary of the keyhole logo that evolved to the logo for the Open Source Association as well as the community-made Open-Source Hardware logo.
CircuitPython’s stable release is 4.0.2 and its unstable release is 4.1.0 Beta 1. New to CircuitPython? Start with our Welcome to CircuitPython Guide.
20190712 is the latest CircuitPython library bundle.
1.11 is the latest MicroPython release. Documentation for it is here.
3.7.4 is the latest Python release. The latest pre-release version is 3.8.0b2.
1,302 Stars Like CircuitPython? Star it on GitHub!
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 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.
Adafruit is hiring! We’re looking for PHP developers in the NYC area! Email: email@example.com
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.
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.
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.