SparkFun
SparkFun SAMD21 Dev Breakout
If you’re ready to step your Arduino game up from older 8-bit/16MHz microcontrollers, the SparkFun SAMD21 Dev Breakout is a great landing spot. The SparkF...
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 Dev Breakout is a great landing spot. The SparkFun SAMD21 Dev Breakout is an Arduino-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 dev 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 Dev Breakout is even fully supported in the Arduino IDE and libraries for the Arduino Zero!
The SparkFun SAMD21 Dev 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 and an integrated LiPo charger. To power the SAMD21 Breakout board, just plug it into a USB port on your computer via the micro-B port on the breakout. Not near a USB port? No problem, the SparkFun SAMD21 Dev Breakout is also equipped with a LiPo Battery connector (for a single-cell 3.7-4.2V litium-polymer battery) and unpopluated supply input to solder on your own PTH Barrel Jack. If you’ve used any Arduino before, this pinout shouldn’t surprise you – the layout meets the Arduino 1.0 footprint standard, including a separate SPI header and additional I2C header.
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 Dev 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)
- 30 GPIO Count
- 14 ADC Channels at 12-bit Resolution
- Analog-to-Digital and Digital-to-Analog Converters (ADC & DAC)
- Vin: 4.2V-6.0V for charger - otherwise 3.5V-6.0V
- VBATT: 3.7V Lipo
- VCC: 600mA @3.3V
- Arduino R3 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.
- LiPo
- A LiPo (lithium polymer) battery is a rechargeable lithium battery widely used in portable projects because it is light and compact. LiPo cells need correct charging circuitry and careful handling to stay safe, so equipment that supports LiPo generally includes charging or protection hardware suited to that battery type.
- 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.
- PTH
- Plated through-hole means the pin holes are metal-lined so solder connects the pad on both sides of the board. It is useful for connectors and headers that need a strong mechanical and electrical connection.
- 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 Dev Breakout Schematic
Schematic · 187.8 KB · Click any page to view full size
SparkFun SAMD21 Dev Breakout Graphical Datasheet
Datasheet · 1022.5 KB · Click any page to view full size
Microchip SAM D21 Microcontroller Datasheet
Datasheet · 16.9 MB · Click any page to view full size
Supplier page — sparkfun.com
Supplier Description · 916.2 KB · 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
An Arduino shield-compatible breakout board for the ATSAMD21G18. Battery-power enabled, with an onboard LiPo charger.
862b35c
over 7 years ago
· 28 commits
- Documentation Adding graphical datasheets. over 10 years ago
- Firmware Adds UF2 binary and arduino sketch update bootloader as well as just the bootloader. over 7 years ago
- Hardware Adding version 1.0 of the schematic. over 10 years ago
- Production created panel v10 almost 11 years ago
- .gitignore Initial commit about 11 years ago
- LICENSE.md Adding license over 10 years ago
- README.md Adding SAM_BA SAMD21 bootloader over 10 years ago
Related Tutorials
Free guides on learn.littlebird.com.au