

The Adafruit ItsyBitsy M4 (Manufacturer Part ID: 3800) is a compact and powerful microcontroller board designed for embedded applications. It is based on the ATSAMD51 chip, featuring a 120 MHz ARM Cortex-M4 processor with floating-point support, 512KB of RAM, and 2MB of flash storage. Despite its small size, the ItsyBitsy M4 offers robust performance and a wide range of features, making it ideal for projects where space is limited but processing power is essential.








| Specification | Value |
|---|---|
| Microcontroller | ATSAMD51 Cortex-M4 @ 120 MHz |
| RAM | 512KB |
| Flash Storage | 2MB |
| Operating Voltage | 3.3V |
| Input Voltage (VIN) | 3.3V to 6V |
| Digital I/O Pins | 23 |
| PWM Pins | 13 |
| Analog Input Pins | 6 |
| Analog Output Pins | 1 (DAC) |
| Communication Interfaces | UART, I2C, SPI |
| USB Interface | USB 2.0 (Micro-B connector) |
| Dimensions | 36mm x 18mm x 4mm |
The Adafruit ItsyBitsy M4 has a total of 23 GPIO pins, which can be configured for various functions. Below is the pinout description:
| Pin Number | Label | Function(s) | Notes |
|---|---|---|---|
| 1 | GND | Ground | Common ground for the circuit |
| 2 | 3V | 3.3V Power Output | Regulated 3.3V output |
| 3 | A0 | Analog Input / Digital I/O | Can be used as ADC or GPIO |
| 4 | A1 | Analog Input / Digital I/O | Can be used as ADC or GPIO |
| 5 | A2 | Analog Input / Digital I/O | Can be used as ADC or GPIO |
| 6 | A3 | Analog Input / Digital I/O | Can be used as ADC or GPIO |
| 7 | A4 (SDA) | Analog Input / I2C Data Line | I2C-compatible pin |
| 8 | A5 (SCL) | Analog Input / I2C Clock Line | I2C-compatible pin |
| 9 | D0 (RX) | Digital I/O / UART Receive | UART RX pin |
| 10 | D1 (TX) | Digital I/O / UART Transmit | UART TX pin |
| 11 | D2 | Digital I/O | General-purpose GPIO |
| 12 | D3 | Digital I/O / PWM | PWM-capable pin |
| 13 | D4 | Digital I/O | General-purpose GPIO |
| 14 | D5 | Digital I/O / PWM | PWM-capable pin |
| 15 | D6 | Digital I/O / PWM | PWM-capable pin |
| 16 | D7 | Digital I/O | General-purpose GPIO |
| 17 | D8 | Digital I/O | General-purpose GPIO |
| 18 | D9 | Digital I/O / PWM | PWM-capable pin |
| 19 | D10 | Digital I/O / PWM | PWM-capable pin |
| 20 | D11 | Digital I/O / SPI MOSI | SPI-compatible pin |
| 21 | D12 | Digital I/O / SPI MISO | SPI-compatible pin |
| 22 | D13 | Digital I/O / SPI SCK / LED | SPI-compatible pin, onboard LED |
| 23 | RST | Reset | Resets the microcontroller |
Powering the Board:
Connecting Peripherals:
Programming the Board:
Uploading Code:
Here is an example of how to blink the onboard LED (connected to pin D13):
// Blink example for Adafruit ItsyBitsy M4
// This code blinks the onboard LED connected to pin D13
void setup() {
pinMode(13, OUTPUT); // Set pin D13 as an output
}
void loop() {
digitalWrite(13, HIGH); // Turn the LED on
delay(1000); // Wait for 1 second
digitalWrite(13, LOW); // Turn the LED off
delay(1000); // Wait for 1 second
}
Board Not Recognized by Computer:
Code Upload Fails:
Peripherals Not Working:
Overheating:
Q: Can I use 5V sensors with the ItsyBitsy M4?
A: The ItsyBitsy M4 operates at 3.3V logic levels. Use a level shifter to interface with 5V sensors.
Q: How do I reset the board?
A: Press the reset button once to restart the board. Double-tap the reset button to enter bootloader mode.
Q: Is the ItsyBitsy M4 compatible with CircuitPython?
A: Yes, the ItsyBitsy M4 supports CircuitPython. You can load a CircuitPython firmware to use it as a Python-programmable board.
Q: What is the maximum current output of the 3.3V pin?
A: The 3.3V pin can supply up to 500mA, depending on the input power source.
This concludes the documentation for the Adafruit ItsyBitsy M4. For additional support, visit the Adafruit Learning System.