Mini SAM M4

by Benjamin Shockley

Image of Board

Mini SAM is a LEGO® minifigure-sized development board based on the Microchip SAMD51G 48-Pin 32-Bit ARM® Cortex®-M4F MCU running at 48Mhz.

Board Features


The boards includes a micro USB interface for programming and power. Around the edges are 0.050″ spaced breakouts for the six analog pins, including true analog out, and several digital pins available on the SAMD51G including some dedicated I2C, SPI, and UART connections.

The Mini SAM boards include two LED indicators; a standard “Built-In” LED and an APA102 RGB LED. The standard LED is red and located on the reverse side of the board. When illuminated it lights up the spaceship on on the logo. There are two built-in buttons as well; a RESET button and a user programmable BUTTON.


In order to support CircuitPython, a 2MB Quad-SPI flash memory chip is included. This provides plenty of space for the CircuitPython program as well as space for user programming. It comes pre-loaded with the latest CircuitPython library bundle.


The boards include a 600mA 3.3V regulator, more than enough to power this little board and its built-in features. The board can be powered from a micro-USB or via a battery connected to the BAT pin – it will automatically switch between the two. There are exposed pads to solder on an optional 2-JST battery connector on the back or directly to the BAT pin.


When in stock, you can purchase a board from


Have some info to add for this board? Edit the source for this page here.

CircuitPython 5.3.1

This is the latest stable release of CircuitPython that will work with the Mini SAM M4.

Start here if you are new to CircuitPython.

Release Notes for 5.3.1

CircuitPython 6.0.0-alpha.3

This is the latest unstable release of CircuitPython that will work with the Mini SAM M4.

Unstable builds have the latest features but are more likely to have critical bugs.

Release Notes for 6.0.0-alpha.3

Absolute Newest

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.

Past Releases

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.