Overview

Welcome to CircuitPython!

Hello Hackaday Supercon Fans - we wanted to have a fun electronic item, that does more than just a sticker!

What you have in your hand is a Hallowing M0 Express with special thanks to Digi-Key for making it possible for 400 of these to make it to the event!

THANK YOU Digi-Key!

Python Powered?

Yep! This hardware comes pre-loaded with CircuitPython! CircuitPython is Adafruit's branch of MicroPython designed to simplify experimentation and education on low-cost microcontrollers. It makes it easier than ever to get prototyping by requiring no upfront desktop software downloads.

With CircuitPython you can write clean and simple Python 3 code to control hardware instead of having to use complex low-level languages like C or C++ (what Arduino uses for programming). It's great for beginners and is powerful for experts.

Simply plug the board into your computer or laptop and edit the code and files on the disk drive that appears.

What You Get

Each attendee will get a kit of the following:

Adafruit HalloWing M0 Express

PRODUCT ID: 3900
This is Hallowing..this is Hallowing... Hallowing! Hallowing! Are you the kind of person who doesn't...
$34.95
IN STOCK

USB cable - USB A to Micro-B

PRODUCT ID: 592
This here is your standard A to micro-B USB cable, for USB 1.1 or 2.0. Perfect for connecting a PC to your Metro, Feather, Raspberry Pi or other dev-board or...
$2.95
IN STOCK

Lithium Ion Polymer Battery Ideal For Feathers - 3.7V 400mAh

PRODUCT ID: 3898
Lithium ion polymer (also known as 'lipo' or 'lipoly') batteries are thin, light and powerful. The output ranges from 4.2V when completely charged to 3.7V. This battery...
$6.95
OUT OF STOCK

What Code Am I running?

On the device are images and code to get started:

  • code.py is the default code, its a slideshow that runs any 128 x 128 bitmap in the /images folder on the device.
  • slideshow_code.py is a copy of the above in case you lose it
  • qr_code.py makes the URL in the code a QR code to display, handy for your personal site or repo! Note this takes a few seconds to generate in pure python so give it some time.
  • touchslideshow_code.py is a version of the slide show that has forward and back and brightness by touching the metal teeth.

Whichever file is named code.py is the one that runs, change the name to change the program.

Once saved the device automatically restarted and runs that code!

Also included is a sample chapter from "Getting Started with Adafruit Circuit Playground Express: The Multipurpose Learning and Development Board from Adafruit" 1st Edition by Mike Barela

ONE MORE THING - there is a special discount code for attendees at hackaday supercon, it's 10% off in the Adafruit store, enjoy! check the readme file on your badge for the code!

Your HalloWing Hardware at a glance

You can get a lot more details on every part and pinout by visiting the Hallowing guide at https://learn.adafruit.com/adafruit-hallowing

A built in battery charger will keep the Lipoly topped-up while plugged into USB.

CircuitPython Quick Start

Changing the code is as easy as editing code.py in your favorite text editor.

Our recommended editor is Mu, which is great for simple projects, and comes with a built in REPL serial viewer! It is available for Mac, Windows & Linux

https://learn.adafruit.com/welcome-to-circuitpython/installing-mu-editor/

https://codewith.mu/

After the file is saved, CircuitPython will automatically reload the latest code.

Connecting to the serial port will give you access to sensor information, better error messages and an interactive CircuitPython (known as the REPL). On Windows we recommend Mu, Tera Term or PuTTY.

On Mac OSX and Linux, use Mu or 'screen' can be used from a terminal.

This guide was first published on Nov 01, 2018. It was last updated on Nov 17, 2018. This page (Overview) was last updated on Nov 01, 2018.