Machine learning has come to the ‘edge’ - small microcontrollers that can run a very miniature version of TensorFlow Lite to do ML computations.
But you don’t need super complex hardware to start developing your own TensorFlow models! We’ve adapted our popular PyBadge board to add a microphone so you can dip your toes into machine learning waters. It does everything that the PyBadge does, and as we make more projects that use Machine Learning we’ll adapt this board to make it better and better for machine learning.
The EdgeBadge is a compact board - it’s credit card sized. It’s powered by our favorite chip, the ATSAMD51, with 512KB of flash and 192KB of RAM. We add 2 MB of QSPI flash for file storage, handy for TensorFlow Lite files, images, fonts, sounds, or other assets.
We’ve added a PDM microphone on the front as an input for micro speech recognition. Our Arduino library has some demos you can get started with to recognize various word pairs like “yes/no”, “up/down” and “cat/dog”. TensorFlow Lite for microcontrollers is very cutting-edge so expect to see a lot of development happening in this area, with lots of code and process changes.
Have some info to add for this board? Edit the source for this page here.
This is the latest stable release of CircuitPython that will work with the EdgeBadge.
Start here if you are new to CircuitPython.
Built-in modules available: _bleio, _stage, adafruit_bus_device, adafruit_pixelbuf, analogio, atexit, audiobusio, audiocore, audioio, audiomixer, audiomp3, binascii, bitbangio, bitmaptools, board, busio, countio, digitalio, displayio, errno, fontio, framebufferio, frequencyio, gamepadshift, getpass, i2cperipheral, json, keypad, math, microcontroller, msgpack, neopixel_write, nvm, onewireio, os, paralleldisplay, ps2io, pulseio, pwmio, rainbowio, random, re, rgbmatrix, rotaryio, rtc, sdcardio, sharpdisplay, storage, struct, supervisor, synthio, terminalio, time, touchio, traceback, ulab, usb_cdc, usb_hid, usb_midi, vectorio
Every time we commit new code to CircuitPython we automatically build binaries for each board and language. The binaries are stored on Amazon S3, organized by board, and then by language. Try them if you want the absolute latest and are feeling daring or want to see if a problem has been fixed.
All previous releases are listed on GitHub, with release notes, and are available for download from Amazon S3. They are handy for testing, but otherwise we recommend using the latest stable release. Some older GitHub release pages include the same binaries for downloading. But we have discontinued including binaries as assets on newer release pages because of the large number of files for each release.
Update UF2 Bootloader
Latest version: v3.13.0
The bootloader allows you to load CircuitPython, MakeCode, and Arduino programs. The bootloader is not CircuitPython. You can check the current version of your bootloader by looking in the INFO_UF2.TXT file when the BOOT drive is visible (FEATHERBOOT, CPLAYBOOT, etc.).
It is not necessary to update your bootloader if it is working fine. Read the release notes on GitHub to see what has been changed. In general, we recommend you not update the bootloader unless you know there is a problem with it or a support person has asked you to try updating it.
To update, first save the contents of CIRCUITPY, just in case. Then double-click the reset button to show the BOOT drive. Drag the update-bootloader .uf2 file to the BOOT drive. Wait a few tens of seconds for the bootloader to update; the BOOT drive will reappear. After you update, check INFO_UF2.TXT to verify that the bootloader version has been updated. Then you will need to reload CircuitPython.