Adafruit NeoTrellis M4 with Enclosure & Buttons Kit Pack

Adafruit NeoTrellis M4 with Enclosure and Buttons Kit Pack includes the parts needed to build the NeoTrellis M4, Arduino IDE, and Circuit Python-based, all-in-one USB + NeoPixel + Elastomer + Audio device. The device becomes a synth, soundboard, drum machine, keyboard, or any other invention users decide to adapt it for. The SAMD51 Cortex M4 Core Microcontroller, running at 120MHz, powers the NeoTrellis M4. The SAMD51 MCU features 512KB of flash and 192KB of SRAM. A separate flash chip provides a full 8MB of space for files and audio clips.

The native USB port of the NeoTrellis M4 can be used to turn the device into a MIDI USB component by using Arduino and tethering it to a computer or tablet.  In standalone mode, as long as it is powered by a USB power plug, it will run whatever firmware is burned into it.

The NeoTrellis M4 features a 4x8 grid of elastomer button pads with a NeoPixel nestled in the center of each one. Read any/all button presses simultaneously thanks to the fully-diode'd matrix, and also set each button color to any of the 24-bit colors. The elastomer buttons are translucent and glow beautifully when lit.

The dual DAC of the SAMD51 offers two 12-bit, 500KSPS true analog outputs, connected to the left and right pins of a standard headphone jack. Since the DAC pins are also ADC pins, the left/right pins can also be used for audio line-level input.

To add more interactivity, a precision triple-axis accelerometer from Analog Devices, the ADXL343, is included as well and provides sensor information on tilt, motion, or tapping.

Finally, a 4-pin JST hacking port is available for extra add-ons. The JST port is STEMMA and Grove compatible and provides GND, 3.3V power, and two pins that can be used for I2C, ADC, or UART.


  • Microchip Technology ATSAMD51 32-bit Cortex M4 core running at 120MHz (32-bit, 3.3V logic and power)
    • Hardware DSP and floating point support
    • 512KB flash, 192KB RAM
  • Native USB that can act as a true USB MIDI device 
  • 8MB SPI FLASH chip for storing files and CircuitPython code storage
  • 4x8 elastomer pads (2x) with a fully-diode'd matrix
  • 4x8 NeoPixels (2x) for each pad, glows through the elastomer buttons
  • TRRS headphone jack with stereo DAC outputs on Left/Right, can also be stereo ADC inputs
  • Fourth pin on headphones for electret/ADC input
  • Maxim Integrated MAX4466 electret mic amplifier for mobile phone headsets
  • 4-pin JST hacking port with 3.3V power, ground, and 2x GPIO that can be I2C, ADC, or UART
  • Analog Devices ADXL343 triple-axis accelerometer

Kit Contents

  • 1x Adafruit NeoTrellis M4 mainboard
  • 1x Adafruit NeoTrellis M4 enclosure
  • 1x 2-pack of silicone elastomer 4x4 button keypads
  • 4x rubber bumper feet 


Published: 2019-05-13 | Updated: 2023-05-25