{"title":"Adafruit NeoTrellis M4 Mainboard - featuring SAMD51","handle":"adafruit-neotrellis-m4-mainboard-featuring-samd51","url":"/products/adafruit-neotrellis-m4-mainboard-featuring-samd51","description":"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.\n\nPowered 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.\n\nKey Features\n\n\nATSAMD51 Cortex M4 – 120 MHz 32-bit processor with hardware DSP and floating-point support\n\n512 KB Flash + 192 KB SRAM – Plenty of room for CircuitPython or Arduino code\n\n8 MB SPI Flash – Storage for files, audio clips, and CircuitPython code\n\n4×8 Elastomer Button Pads – Fully diode'd matrix with no ghosting, reads all simultaneous presses\n\n32 NeoPixels – One under each button pad, 24-bit colour, glows through translucent elastomers\n\nStereo Audio Output – Dual 12-bit 500 KSPS DACs on left/right of a TRRS headphone jack (can also be used as stereo ADC inputs)\n\nMicrophone Input – MAX4466 electret mic amplifier on the 4th headphone pin for mobile headsets\n\nADXL343 Accelerometer – Triple-axis accelerometer for tilt, motion, and tap detection\n\nNative USB – USB MIDI device support (Arduino), USB HID, and CircuitPython serial\n\n4-Pin JST Hacking Port – STEMMA/Grove compatible with 3.3 V, GND, and two GPIO (I2C/ADC/UART)\n\n\n\nImportant: 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.\n\n\nIdeal For\n\nMIDI controllers and music sequencers\nAudio synthesisers and sound effects boards\nInteractive button-pad interfaces\nLight-up game controllers\nCircuitPython and Arduino learning projects\n\n\nPackage Contents\n\n1× Adafruit NeoTrellis M4 Mainboard (SAMD51)\n\n\nResources\n\n\nNeoTrellis M4 Learn Guide – Setup, wiring, and example projects\n","vendor":"Adafruit","product_type":"physical","in_stock":true,"options":[],"variants":[{"id":8127,"title":"Default Title","sku":"AF-3938","price":77.94,"on_sale":false,"in_stock":true,"available_quantity":48,"option1":"Default Title"}]}