

The Adafruit Hallowing M4 (Manufacturer Part ID: 4300) is a powerful microcontroller board designed for wearable and interactive projects. It features the ATSAMD51 microcontroller, built-in RGB LED, and support for CircuitPython, Arduino, and MakeCode. With its compact design and versatile features, the Hallowing M4 is ideal for creating IoT devices, interactive art, and wearable electronics.








| Specification | Value |
|---|---|
| Microcontroller | ATSAMD51J19 Cortex M4 @ 120 MHz |
| Flash Memory | 8 MB SPI Flash |
| RAM | 192 KB |
| Power Supply | 3.3V (regulated) or 5V via USB |
| Connectivity | USB Type-C, I2C, SPI, UART |
| Built-in Features | RGB LED, Light Sensor, Accelerometer |
| Programming Support | CircuitPython, Arduino, MakeCode |
| Dimensions | 50mm x 50mm |
The Adafruit Hallowing M4 has a variety of pins for connecting peripherals and sensors. Below is the pinout description:
| Pin Name | Description |
|---|---|
| 3V3 | 3.3V power output for external components |
| GND | Ground connection |
| A0 - A5 | Analog input pins (can also be used as digital I/O) |
| D0 - D13 | Digital I/O pins |
| SDA | I2C Data Line |
| SCL | I2C Clock Line |
| TX | UART Transmit Line |
| RX | UART Receive Line |
| SPI (MOSI/MISO) | SPI communication pins (Master Out Slave In / Master In Slave Out) |
| USB | USB Type-C for power, programming, and data transfer |
Powering the Board:
Programming the Board:
.uf2 firmware file to the board's USB drive. Connecting Peripherals:
Running Code:
code.py (for CircuitPython) or upload it via the Arduino IDE.Below is an example of how to control the built-in RGB LED using the Arduino IDE:
// Include the Adafruit NeoPixel library
#include <Adafruit_NeoPixel.h>
// Define the pin connected to the RGB LED
#define RGB_PIN 8
// Create a NeoPixel object with 1 LED
Adafruit_NeoPixel rgb = Adafruit_NeoPixel(1, RGB_PIN, NEO_GRB + NEO_KHZ800);
void setup() {
rgb.begin(); // Initialize the RGB LED
rgb.show(); // Turn off all LEDs initially
}
void loop() {
// Set the RGB LED to red
rgb.setPixelColor(0, rgb.Color(255, 0, 0)); // Red color
rgb.show(); // Update the LED
delay(1000); // Wait for 1 second
// Set the RGB LED to green
rgb.setPixelColor(0, rgb.Color(0, 255, 0)); // Green color
rgb.show(); // Update the LED
delay(1000); // Wait for 1 second
// Set the RGB LED to blue
rgb.setPixelColor(0, rgb.Color(0, 0, 255)); // Blue color
rgb.show(); // Update the LED
delay(1000); // Wait for 1 second
}
Board Not Recognized by Computer:
Code Not Running:
code.py for CircuitPython. RGB LED Not Lighting Up:
Overheating:
By following this documentation, you can effectively utilize the Adafruit Hallowing M4 for your projects and troubleshoot common issues with ease.