The Adafruit MIDI FeatherWing Kit is an innovative add-on board designed to equip Feather-compatible development boards with MIDI (Musical Instrument Digital Interface) communication capabilities. This kit is ideal for musicians, hobbyists, and developers looking to integrate MIDI control into their projects. Common applications include synthesizers, sequencers, MIDI controllers, and musical installations.
Pin | Description |
---|---|
RX | MIDI Input |
TX | MIDI Output |
GND | Ground |
3V | 3.3V Power |
USB | USB Power |
To use the Adafruit MIDI FeatherWing with your Feather board, follow these steps:
Below is a simple example code snippet for sending MIDI messages using an Arduino UNO. This code can be adapted for use with Feather-compatible boards.
#include <MIDI.h>
MIDI_CREATE_DEFAULT_INSTANCE();
void setup() {
MIDI.begin(MIDI_CHANNEL_OMNI); // Listen to all incoming messages
}
void loop() {
// Send a Note On message on channel 1, note 60 (Middle C), velocity 127
MIDI.sendNoteOn(60, 127, 1);
delay(500); // Wait for 500ms
// Send a Note Off message on channel 1, note 60, velocity 127
MIDI.sendNoteOff(60, 127, 1);
delay(500); // Wait for 500ms
}
Ensure that the MIDI library is installed in your Arduino IDE before uploading this code. The comments in the code are wrapped to adhere to the 80 character line length limit.
Q: Can I power the MIDI FeatherWing separately from the Feather board? A: No, the MIDI FeatherWing is designed to be powered directly from the Feather board.
Q: Is it possible to use the MIDI FeatherWing with other development boards? A: The MIDI FeatherWing is specifically designed for Feather-compatible boards. However, with appropriate level shifting, it may be possible to use it with other 3.3V or 5V microcontrollers.
Q: How do I know if the MIDI FeatherWing is receiving MIDI data? A: The MIDI status LED on the FeatherWing will light up when MIDI data is being received.
For further assistance, consult the Adafruit support forums or the detailed product guide available on the Adafruit website.