SparkFun
SparkFun SAMD21 Mini Breakout
If you’re ready to step your Arduino game up from older 8-bit/16MHz microcontrollers, the SparkFun SAMD21 Mini Breakout is a great landing spot. The SAMD21 M...
Get notified when back in stock
If you’re ready to step your Arduino game up from older 8-bit/16MHz microcontrollers, the SparkFun SAMD21 Mini Breakout is a great landing spot. The SAMD21 Mini Breakout is a Pro Mini-sized breakout for the Atmel ATSAMD21G18, a 32-bit ARM Cortex-M0+ processor with 256KB flash, 32KB SRAM, and an operating speed of up to 48MHz. This mini breakout provides you with an Arduino hardware option that solves the problems of low storage limits and dynamic memory stack overflows that have plagued the previous iterations of the Arduino family. Yes, the SparkFun SAMD21 Mini Breakout is even fully supported in the Arduino IDE and libraries for the Arduino Zero!
The SparkFun SAMD21 Mini Breakout has been equipped with a USB interface for programming and power, surrounded with an RTC crystal, and a 600mA 3.3V regulator. By utilizing the Pro R3’s extra PCB real-estate we’ve been able to leave room for a few extra GPIO pins. We’ve pinned the Mini Breakout to match – as much as possible – our faithful Pro Mini and Pro Micro. The I/O and voltage rails are all broken out to a pair of breadboard-compatible headers. Power can be supplied, and the board can be programmed, through the micro-B USB connector.
One of the most unique features of the SAMD21 is SERCOM – a set of six configurable serial interfaces that can be turned into either a UART, I2C master, I2C slave, SPI master, or SPI slave. Each SERCOM provides for a lot of flexibility: the ports can be multiplexed, giving you a choice of which task each pin is assigned.
The on-line SAMD21 Mini/Dev Breakout Hookup Guide (in the Documents section below) contains step by step instructions of how to connect your SparkFun SAMD21 Mini Breakout as well as a few circuit examples to test out. Full example code is provided and explained and even includes troubleshooting tips to make make you have zero problems.
Note: The breakout does NOT have headers installed and will need to purchased and soldered on yourself. Check the Recommended Products section below for the type of headers we use in the Hookup Guide!
Features:
- ATSAMD21G18 32-bit/48MHz ARM Cortex-M0+
- 256KB Flash Memory
- 32KB SRAM
- 32KB of EEPROM (emulated in Flash)
- 22 GPIO Count
- 14 ADC Channels at 12-bit Resolution
- Analog-to-Digital and Digital-to-Analog Converters (ADC & DAC)
- RAW: 3.5V-6.0V
- VCC: 600mA @3.3V
- Pro Mini/Micro Layout
- Integrated USB Controller
Documents:
- Schematic
- Eagle Files
- Hookup Guide
- Graphical Datasheet
- Datasheet (ATSAMD21G18)
- GitHub (Design Files)
Jargon buster
Plain-language definitions for the technical terms used above.
- 12-bit resolution
- 12-bit resolution means a value is represented with 12 binary digits, giving 4096 possible levels. For a sensor, analogue-to-digital converter or similar device, higher resolution divides the measured range into finer steps so smaller changes can be distinguished, provided the device's range and noise allow it.
- 3.3V regulator
- A 3.3V regulator is a power circuit that provides a steady 3.3 volts for parts that need that supply voltage. On a breakout board, it can let the sensor run safely even when the connected microcontroller or power source uses a higher voltage.
- ADC
- An analogue-to-digital converter reads a changing voltage and turns it into a number the microcontroller can use. It matters when connecting analogue sensors such as light, sound, or variable-resistor sensors.
- breakout
- A breakout board carries a small or fine-pitched component and brings its connections out to standard, breadboard- and header-friendly pins. Describing a part as a breakout means it can be wired into a project without soldering directly to the component's tiny contacts.
- DAC
- A digital-to-analogue converter turns numbers from the microcontroller into a real analogue voltage. It matters if you want to generate simple waveforms, audio-style signals, or variable control voltages rather than just on/off outputs.
- EEPROM
- A type of non-volatile memory that keeps stored data even when power is turned off. In a sensor module, it can be used to store settings or calibration data so they do not need to be re-entered every time.
- Flash memory
- Flash memory is non-volatile memory that retains stored data even when power is removed, and can be erased and rewritten in blocks. It lets data such as firmware, settings or saved records persist across power cycles.
- GPIO
- General-purpose input/output pins are microcontroller pins you can set in software to read signals, switch devices on and off, or connect to peripherals. The number of GPIO pins matters because it limits how many buttons, LEDs, sensors, and other parts you can wire directly to the board.
- Headers
- Rows of connector contacts on a fixed pitch (commonly 2.54 mm) used to link a board to a breadboard, jumper wires, or another board. They come as male pin headers and female socket headers; when a module ships with pre-soldered headers it can be used straight away, whereas bare pads require soldering the pins yourself.
- IDE
- Short for Integrated Development Environment, a program used to write, run and manage code. It matters because some learners prefer a traditional coding workspace instead of a guided notebook-style lesson.
- PCB
- A printed circuit board (PCB) is a board, usually rigid, with etched copper tracks that connect electronic components together without loose wiring. Components are mounted on the board and signals route between them through the copper layout.
- RTC
- A Real-Time Clock keeps track of time even when the main processor is asleep or powered down, usually with a small backup battery. It matters for data logging and tracking projects that need accurate timestamps.
- SAMD21
- The SAMD21 is a Microchip (formerly Atmel) 32-bit Arm Cortex-M0+ microcontroller used in many Arduino-compatible boards. The exact chip affects which libraries, clock speeds and peripheral features are available, so software needs to support the SAMD21 specifically.
- SPI
- A fast serial communication bus often used for displays, memory cards, and sensors. It matters because SPI devices need specific pins for clock and data, plus a separate chip-select line for each device.
- SRAM
- Fast temporary memory used by a processor while a program is running. More SRAM helps with projects that handle larger data buffers, networking, displays, or more complex code.
- UART
- UART is a simple asynchronous serial interface that sends data over separate transmit and receive wires, usually labelled TX and RX, with both ends set to the same baud rate. It is a common way for microcontrollers and other serial devices to exchange data.
- VCC
- VCC is the positive power-supply connection on a chip or module. Connecting it to the correct supply voltage is needed for the part to power on and helps avoid damaging the electronics.
Find this product in
Brands
SparkFun SAMD21 Mini Breakout Schematic
Schematic · 142.6 KB · Click any page to view full size
ATSAMD21G18 Datasheet
Datasheet · 16.9 MB · Click any page to view full size
SparkFun SAMD21 Mini Breakout Graphical Datasheet
Datasheet · 737.4 KB · Click any page to view full size
SparkFun SAMD21 Mini Breakout Graphical Datasheet
Datasheet · 532.9 KB · Click any page to view full size
Supplier page — sparkfun.com
Supplier Description · 1.2 MB · Click any page to view full size
Resources & Downloads
Guides, code examples, and more
Source Code
Open-source libraries, firmware & example projects for this product
A miniature SAM21G Breakout, in the form factor/pin-out of a Pro Mini.
314ca1b
over 3 years ago
· 29 commits
- Documentation Remove TC6 and TC7 over 3 years ago
- Firmware Updates readme for better clarity, and adds update bootloader binary file for those that prefer that over Arduino sketch over 7 years ago
- Hardware Adding v10 schematic. over 10 years ago
- Production created panel v10 almost 11 years ago
- .gitignore Adds UF2 bootloader and Circuit Python build with a readme over 7 years ago
- LICENSE.md Adding License.md. over 10 years ago
- README.md Fix link to Atmel SAMD21 website. over 10 years ago
Related Tutorials
Free guides on learn.littlebird.com.au