Store

Adafruit

$77.94 |
In stock at supplier
No reviews yet

The NeoTrellis M4 Mainboard combines an ATSAMD51 Cortex M4 processor, a 4×8 grid of NeoPixel-lit elastomer button pads, stereo audio output, microphone input...

Estimated Delivery
Arrives
Disclaimer
View Markdown
Secure checkout

The NeoTrellis M4 Mainboard combines an ATSAMD51 Cortex M4 processor, a 4×8 grid of NeoPixel-lit elastomer button pads, stereo audio output, microphone input, and a triple-axis accelerometer into one compact, programmable board. Think of it as a button-mashing, light-flashing, tune-making powerhouse.

Powered by the SAMD51 running at 120 MHz with 512 KB flash, 192 KB SRAM, and 8 MB SPI flash for file storage, the NeoTrellis M4 supports both CircuitPython and Arduino. The native USB port can act as a USB MIDI device for tethering to a computer or tablet, or run standalone from any USB power source.

Key Features

  • ATSAMD51 Cortex M4 – 120 MHz 32-bit processor with hardware DSP and floating-point support
  • 512 KB Flash + 192 KB SRAM – Plenty of room for CircuitPython or Arduino code
  • 8 MB SPI Flash – Storage for files, audio clips, and CircuitPython code
  • 4×8 Elastomer Button Pads – Fully diode'd matrix with no ghosting, reads all simultaneous presses
  • 32 NeoPixels – One under each button pad, 24-bit colour, glows through translucent elastomers
  • Stereo Audio Output – Dual 12-bit 500 KSPS DACs on left/right of a TRRS headphone jack (can also be used as stereo ADC inputs)
  • Microphone Input – MAX4466 electret mic amplifier on the 4th headphone pin for mobile headsets
  • ADXL343 Accelerometer – Triple-axis accelerometer for tilt, motion, and tap detection
  • Native USB – USB MIDI device support (Arduino), USB HID, and CircuitPython serial
  • 4-Pin JST Hacking PortSTEMMA/Grove compatible with 3.3 V, GND, and two GPIO (I2C/ADC/UART)
Important: This is the mainboard only! You will need two Silicone Elastomer 4×4 Button Pads and an enclosure to complete your build. Or grab the NeoTrellis M4 with Enclosure and Buttons Kit Pack for everything in one.

Ideal For

  • MIDI controllers and music sequencers
  • Audio synthesisers and sound effects boards
  • Interactive button-pad interfaces
  • Light-up game controllers
  • CircuitPython and Arduino learning projects

Package Contents

  • 1× Adafruit NeoTrellis M4 Mainboard (SAMD51)

Resources

Jargon buster

Plain-language definitions for the technical terms used above.

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.
CircuitPython
A beginner-friendly version of Python designed to run directly on microcontroller boards. If a product supports CircuitPython, you can often program it by copying code files onto the board rather than setting up a more complex toolchain.
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.
Grove
Grove is a plug-in connector ecosystem for sensors and modules that avoids soldering and jumper wires. Grove compatibility matters because it can make it quicker to add supported I2C devices, as long as the cable and voltage are suitable.
HID
Human Interface Device is a USB device class used for keyboards, mice, gamepads and similar controls. If a board supports HID over USB, it can act like an input device to a computer without needing a custom driver.
I2C
I2C is a two-wire communication bus used by many sensors and small modules. It matters because several I2C devices can share the same two wires, but each device needs a compatible address and your controller must support I2C.
kSPS
kSPS means thousands of samples per second, describing how many readings an ADC can take each second. It matters when choosing a board for fast-changing signals, because slow sensors do not need a high sample rate but audio-like or rapidly varying signals may.
MIDI
MIDI is a standard way for electronic instruments, controllers, and software to send musical control messages such as notes, velocity, and timing. If a board supports MIDI, it can be triggered from keyboards, drum pads, sequencers, or other music gear rather than only from buttons or code.
native USB
Native USB means the microcontroller itself handles USB communication, rather than using a separate USB-to-serial chip. This matters for programming, debugging, and projects that need the board to act directly as a USB device.
NeoPixel
A type of addressable LED system where colour data is sent along a single digital data line from one LED or controller to the next. Compatibility matters because the timing and signal format must match for the lights or driver board to respond correctly.
SAMD51
A family of 32-bit microcontroller chips used to run the main program on a board. In this kit it handles the display-driving work, so it matters for performance when showing animations and graphics on an LED matrix.
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.
STEMMA
A plug-and-cable connection system used on some maker electronics boards to make wiring simpler. If a product uses STEMMA, you need the matching cable or connector type to plug it in without soldering.
UART
UART is a simple serial connection that sends data over separate transmit and receive wires, often labelled TX and RX. It matters because this module is designed to replace a wired UART cable with a wireless link while keeping the same serial data format.
USB MIDI device
A USB MIDI device connects to a computer or USB host and sends or receives MIDI messages over USB. This matters because it lets the board work with music software or a controller setup where another device is in charge.
Stella
Stella Expert

Ask me anything about this product

Maddy, co-founder of Little Bird

Need help? We're here for you!

Hi, I'm Maddy. My team and I are ready to help with your order or any questions.