
This circuit consists of an Adafruit Flora v3 microcontroller connected to a Breadboard-friendly RGB Smart NeoPixel and powered by a 3xAAA battery pack. The microcontroller runs code to control the NeoPixel, displaying various colors and patterns.

The Adafruit NeoTrellis 4x4 is a programmable keypad with a built-in RGB LED for each button. This interactive and visually appealing component is perfect for creating custom user interfaces, musical instruments, and gaming controls. Its versatility allows it to be used in a wide range of projects, from simple educational tools to complex interactive installations.

This circuit consists of an Adafruit Flora v3 microcontroller connected to a Breadboard-friendly RGB Smart NeoPixel and powered by a 3xAAA battery pack. The microcontroller runs code to control the NeoPixel, displaying various colors and patterns.

This is a multifunctional interactive system featuring an Arduino Mega 2560 and an Arduino Nano for control. It includes user input components (pushbuttons, keypad), visual output (OLED displays, LED matrices, NeoPixel rings/jewels), audio output (DFPlayer MINI with loudspeakers), and wireless communication (433MHz RF transmitter). The system is designed for user interaction, feedback display, and wireless control, with placeholder code for future development.

This circuit features an Arduino Mega 2560 microcontroller interfaced with a 4x4 keypad and a 16x2 LCD display. The keypad allows user input, which can be displayed on the LCD, with a trimmer potentiometer used to adjust the LCD contrast.

This circuit consists of an Arduino UNO R4 WiFi microcontroller connected to a 64x32 LED matrix. The Arduino controls the LED matrix by sending signals to various pins to display different colors and patterns, as defined in the embedded code.
| Pin | Description |
|---|---|
| VDD | Power supply (2.5V to 5.5V) |
| GND | Ground |
| SCL | I2C clock line |
| SDA | I2C data line |
| INT | Interrupt output (active low) |
| RST | Reset input (active low) |
#include <Wire.h>
#include "Adafruit_NeoTrellis.h"
Adafruit_NeoTrellis trellis;
void setup() {
Wire.begin();
trellis.begin();
// Activate all keys and LEDs for the NeoTrellis
for (int i = 0; i < 16; i++) {
trellis.activateKey(i, SEESAW_KEYPAD_EDGE_RISING, true);
trellis.setPixelColor(i, 0x000000); // Start with all LEDs off
}
trellis.show();
}
void loop() {
// If available, read key event
if (trellis.available()) {
keypadEvent e = trellis.read();
if (e.bit.EDGE == SEESAW_KEYPAD_EDGE_RISING) {
trellis.setPixelColor(e.bit.NUM, 0xFFFFFF); // Turn on LED when button is pressed
trellis.show();
}
}
}
Q: Can I connect multiple NeoTrellis boards together? A: Yes, you can daisy-chain multiple boards using the I2C bus. Make sure to configure unique I2C addresses for each board.
Q: How do I change the color of an LED?
A: Use the setPixelColor function with the button number and desired RGB color value.
Q: What is the maximum number of NeoTrellis boards I can chain together? A: The maximum number is limited by the I2C address space and the power supply capability. Typically, you can chain several boards without issues.
Q: Can I use the NeoTrellis with platforms other than Arduino? A: Yes, the NeoTrellis can be used with any microcontroller that supports I2C communication. Adjust the code accordingly for your platform.