CircuitPython libraries on the Raspberry Pi!
Kattni, Brennen and Ladyada have been hard at work over the last few weeks to bring our 90 or so CircuitPython libraries to the Raspberry Pi and “normal” Python (usually referred to as CPython or just Python). Many guides are now updated with CircuitPython instructions that work both on CircuitPython and CPython. Libraries are available through the standard Python pip install
process.
This has been a great way to verify that CircuitPython is indeed a subset of CPython. It unifies our library style across CircuitPython and CPython to make it easier to grow from a simple microcontroller CircuitPython to the more advanced CPython on Linux.
The work isn’t finished quite yet. In the coming weeks more guides will be updated with CircuitPython library support. Check out the Updated Guides section below to see all of the week’s updates. Follow the CircuitPython on Linux and Raspberry Pi guide to get started. The legacy Python libraries will also be archived on GitHub in favor of the CircuitPython versions.
News from around the web!
For day 77/100 of coding in #Python for #100DaysOfcode, meet Cornelius 2.0! There is a brief summary of how it was made, and some CircuitPython code snippets here & video.
GitHub’s blog “Release Radar” featured Mu 1.0!
FPGA MicroPython (FuPy) – “The aim of this project is to make MicroPython run on FPGAs using the LiteX & Migen+MiSoC technologies… full stack development (FPGA gateware & soft CPU firmware) in Python!” – fupy.github.io.
PyDev of the Week: Jessica Ingrassellino from Mouse vs. Python
Adafruit CircuitPython Weekly for August 20th, 2018
Hallowing – A new member of the family
Are you the kind of person who doesn’t like taking down the skeletons and spiders until after January? This is electronics at its most spooky! The Adafruit HalloWing is a skull-shaped ATSAMD21 board with a ton of extras built in to make for an adorable wearable, badge, development kit, or the engine for your next cosplay or prop.
On the front is a cute 1.44” sized 128×128 full color TFT. Our default example code has our spooky eye demo running but you can use it for anything you like to display in glorious color.
There’s also 4 fang-teeth below the display, these are analog/capacitive touch inputs with big alligator-clip holes.
It has CircuitPython build support so you can pick your favorite development language! The extra 8 MB of SPI Flash is great for sound effects projects where you want to play up to 3 minutes of WAV files – Adafruit HalloWing M0 Express & learn guide.
It’s not out yet 🙂
Adafruit’s New “Grand Central” Board, a Return to the Arduino MEGA? – hackster.io
New Learn Guides!
Adabot Operation Game from John Park
Adafruit IO Environmental Monitor for Feather or Raspberry Pi from Brent Rubell
Adafruit Hallowing from Ladyada
Circuit Playground Express Automatic Sunglasses from Dave Astels
Make It Log from Mike Barela
Make It Switch from Mike Barela
Updated Guides – Now With More Python!
You can use CircuitPython 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 udpates here so you can easily keep track of which sensors are ready to go. Check it out!
Adafruit AMG8833 8×8 Thermal Camera Sensor
Adafruit BNO055 Absolute Orientation Sensor
Adafruit CCS811 Air Quality Sensor
IS31FL3731 16×9 Charlieplexed PWM LED Driver
Adafruit LIS3DH Triple-Axis Accelerometer Breakout
Adafruit LSM9DS1 Accelerometer + Gyro + Magnetometer 9-DOF Breakout
Adafruit 20W Stereo Audio Amplifier – MAX9744
Adafruit PCA9685 16-Channel Servo Driver
Adafruit Si5351 Clock Generator Breakout
Adafruit Color Sensors
Adafruit VEML6070 UV Sensor Breakout
Adafruit VL6180X Time of Flight Micro-LIDAR Distance Sensor Breakout
Adafruit DRV2605 Haptic Controller Breakout
Adafruit Si4713 FM Radio Transmitter with RDS/RDBS Support
Help bring CircuitPython 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. We were inspired by the awesome translation work done in mu 1.0.0. (They even discussed the benefit translating error messages.) We saw this and loved the idea of both mu and CircuitPython being in one’s native language.
So, we’ve added the mechanics to CircuitPython that allow us to translate strings at build time. However, that’s not enough! We need folks to translate the strings themselves.
If you want to help, then please post to the main issue on GitHub and join us on Discord. Thanks!
Upcoming events!
Circuit Python: Visualizing Computer Science Principles with Physical Computing by Wanjun. Tuesday, August 21, 2018, 7:00 PM to 9:00 PM – Houston, TX. USA – PyHou.
JupyterCon Community Sprint from 9:00am to 5:00pm on Saturday, August 25, at the Hilton Midtown (Murray Hill) – NYC, USA.
August 24-28, 2018 is PyCon.AU in Sydney, Australia. It is the national Python conference for Australia and the home PyCon of MicroPython! Videos of past talks are here.
September 15-19, 2018 is PyCon UK 2018 in Cardiff. draft programme
September 22-23, 2018 is World Maker Faire in New York City. Dan, Kattni and Scott from CircuitPython will be attending. Coordinate with them via Discord.
September 27th, 2018 is Open Source Hardware Summit in Boston. Dan, Kattni and Scott from CircuitPython will be attending. Coordinate with them via Discord.
October 27, 2018. As part of PyCon DE 18 PyLadies and MicroPython will be running a
beginner friendly full day hands-on workshop on MicroPython and the
Internet of Things – Meetup.
Latest releases
CircuitPython’s stable release is 3.0.0. New to CircuitPython? Start with our Welcome to CircuitPython Guide.
20180820 is the latest CircuitPython library bundle.
v1.9.4 is the latest MicroPython release. Documentation for it is here.
3.7.0 is the latest Python release.
Contribute!
The CircuitPython Weekly Newsletter is a CircuitPython community-run newsletter emailed every Tuesday. 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.