Daily tips and tricks from the experts at Adafruit!
View this email in your browser

CircuitPython 3.0.0 Logo

Last week, CircuitPython released their first 3.0.0 Beta release. Unlike the previous alpha releases, this release can do everything the existing 2.0 can do and more! 3.0.0 is the latest major revision of CircuitPython and features new support for the SAMD51 (aka M4), real-time clock support, storage enhancements and long integer support on Express and M4 boards. It also features better memory utilization so more can be loaded in the same amount of space.

While in the beta phase, everyone is encouraged to try the new release, update existing code, and test projects. When you find a bug please check the current known issues and file an issue if something isn’t already known.

To install follow the instructions in our new Welcome to CircuitPython! guide. To install the latest libraries, see this page in that guide.

Interview with Numworks

Numworks

Adafruit interviews Numworks – The folks who made a Python Programmable calculator!

Adafruit has fallen in love with the NumWorks Python Programmable calculator. We’ve blogged about NumWorks and we carry their terrific calculator in the shop.

The calculator is designed to be moddable (for when you don’t want to use it just for exams), with 3D models, firmware operating system source code, schematics and board layout details available to the public under a Creative Commons License. It is even possible to build your own 3D-printed collaborative calculator! There is also an emulator online.

Adafruit asked some questions of Romain Goyet, founder of NumWorks, to find out more about the company and their products. Hackaday did an article a week or so ago about NumWorks discussing the extensive documentation on the design and build of the device.

Full interview here.

PLOT of the week!

Potentiometer Plotter Mu

Sensor graphing with plotter. CircuitPython + Mu + Potentiometer VIDEO CODE GUIDE

In the newsletter here so far, we’ve had BUTTONS AND SWITCH, CAPACITIVE TOUCH, SOUND, MOTION, TEMPERATURE and LIGHT.

CRICKITS

CRICKITS of the week

Crickit is our CircuitPython runnin’ Creative Robotics & Interactive Construction Kit. It’s an add-on to our popular Circuit Playground Express that lets you #MakeRobotFriend using CircuitPython, MakeCode, Arduino, etc.. robotics, arts, crafts, audio animatronics, sensors, agriculture/robot farming, physical computing, kinetic sculptures, science experiments, telescope control…

Each week we’ll have some the video from around the fruit’ as we experiment! Video playlist here.

Unchained Melody – How to make (ghost) slime with Crickit. Ladyada was unable to get to sleep. Feeling restless she decided to visit her workshop and make some slime to help soothe her soul. Then her companion showed up to lend a hand and have fun together! – video.

Robot trapeze with CRICKIT. This Flying Trapeze bot uses a servo claw to grip onto a willing gymnast, and release it into the air when the detected acceleration has reached a sufficient peak! – video.

CRICKIT R.O.B. Robotic Operating Buddy. We picked up a Nintendo R.O.B. robot from our local online auction site and when it appeared we decided to figure out how to get it working. There’s 3 motors inside, and the R.O.B. already comes with motor drivers and end-stops, so instead of driving the robot directly, we decided to control the R.O.B. using Circuit Playground Express (CPX) and Crickit! – video.

A Star Wars “force wave” for motors. This project is pretty simple, it looks to see when the light sensor is shaded by your hand and changes the motor from running to off or vice versa – video.

“Sound” motor control. Ladyada will blow your house down little piggies! To everything … turn, turn, turn – video.

LEEKS!

We are making a CircuitPython based gaming platform!

Pygame Leek

With so many robots going on we wanted to take a little break and design some new hardware. This is a spin on our 2.4″ TFT Featherwing that expands it into a full gaming platform. It will make make a great companion to the upcoming SAMD51 Feather, or with the ESP32 feather. Currently we’re thinking 70mm x 100mm (2.75″x4″) would be a nice pocketable size.

There’s a 320×240 color 2.4″ TFT w/resistive touch (captouch is a bit more $ still but we’ll look into it), SD card slot for storing game assets/music/files, 8 multiplexed buttons w/no-ghosting, on/off switch, analog stereo headphone out, when not plugged in a mono speaker, and 1200mAh battery (feather has built in battery charging).

We think this could make for a very nice CircuitPython game platform – the SAMD51 can buffer a full frame of video and then DMA it out in the background so that all the CPU time is spent on making things blink and beep.

We’re still sketching out the design, see our current schem/board, and we wanted to see what the community could suggest – what’s your favorite DIY portable game system? Post up in the comments on the Adafruit blog or stop by Discord.

News from around the web!

@deshipu wrote up a great recap of a CircuitPython memory debugging adventure

MicroPython-powered Lucky Cat

MicroPython-powered Worm Robot from OutoftheBOTS_ on the MicroPython forum

micro:bit broadcast Final Issue #34. It’s the final one, HOWEVER, there is an official one, and an awesome list. All the previous ones are here.

Upcoming events!

June 8th to June 10th, 2018 is the PyLondinium conference in the UK, organised by PSF volunteers in the City of London. There are at least MicroPython sessions: Micropython Gotchas & MicroPython used in industrial applications.

July 23rd to July 29th, 2018 is EuroPython, a community conference with a call for proposals until May 20th on every aspect of Python: programming from novice to advanced levels, applications and frameworks, or how you have been involved in introducing Python into your organization.

New Learn Guides!

Storage humidity and temperature monitor from @dastels

Animatronic Hand from @JohnPark

Makey Paper Craft from @Noe and @Pedro

Installing Microsoft MakeCode for Adafruit from Brennen Bearnes

Adafruit pIRkey from @ladyada

Debugging CircuitPython On SAMD w/Atmel Studio 7 from @sommersoft

Controlling a Classic Nintendo R.O.B. Robot Using Circuit Playground Express from Mike Barela

Trash Panda from @Dano

Latest releases

CircuitPython’s stable release is 2.3.1 and its unstable release is 3.0.0-beta.0. New to CircuitPython? Start with our Welcome to CircuitPython Guide.

20180525 is the latest CircuitPython library bundle.

v1.9.4 is the latest MicroPython release. Documentation for it is here.

3.6.5 is the latest Python release. The latest pre-release version is 3.7.0b4.

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.