Halloween is approaching, and with it a global parade of costumes. So I thought this would be the perfect time to try out a new wearable microcontroller from Adafruit Industries: the Gemma M0.
Adafruit has been putting out wearable microcontrollers for several years. These differ from conventional controllers, such as the Arduino Uno, in that the wearables are typically more compact and use pads with large through holes for input and output, instead of pins. These holes make it easy to sew boards to fabric or tie conductive thread to the pads. What makes the Gemma M0 particularly interesting is that it runs CircuitPython, Adafruit’s modified version of the Python language designed for embedded devices. (At this point, I should note that Limor Fried, the founder of Adafruit, is a member of IEEE Spectrum’s editorial advisory board, but she played no role in the origination of this article.)
CircuitPython caught my eye because I’m the Spectrum editor who oversees our annual Top Programming Languages online interactive. In the interactive, we group languages into different categories based on their typical usage. For the past couple of years, I’ve been getting a small number of complaints because we don’t list Python as an embedded language. (Even Guido van Rossum—Python’s creator—posted a huffy tweet about it.) As the number of actual embedded Python deployments has been a drop in the great software ocean, I’ve been okay with our call, but if Python starts being the basis of a notable share of makers’ microcontroller programs—currently dominated by the Arduino’s C/C++ style of code—we’d need to revisit that decision.
Before I could start getting a feel for the software, though, I needed to make my costume. I had a long, flexible strip of addressable WS1812B LEDs left over from making a color organ for a local monthly musical hackathon, and a US $17 “Nylon Horror Robe” costume purchased for a friend’s haunted house kids’ party last year. So I decided to combine these remnants with a cheap mask from an art supply store and the Gemma M0. The goal was to make a costume that could switch from “spooky” to “disco fun” on demand.
HAPPY HALLOWEEN! Every weekday this month we’ll be bringing you ideas and projects for an Electronic Halloween! Expect wearables, hacks & mods, costumes and more here on the Adafruit blog! Working on a project for Halloween this year? Share it with us on Google+, in the comments below, the Adafruit forums, Facebook, Instagram or Twitter— we’d love to see what you’re up to and share it with the world (tag your posts #ElectronicHalloween). You can also send us a blog tip! Tune in to our live shows, 3D hangouts with Noe and Pedro and Ask an Engineer, featuring store discount codes, ideas for projects, costumes, decorations, and more!
Adafruit has had paid day off for voting for our team for years, if you need help getting that going for your organization, let us know – we can share how and why we did this as well as the good results. Here are some resources for voting by mail, voting in person, and some NY resources for our NY based teams as well. If there are additional resources to add, please let us know – adafruit.com/vote
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.