Your cart is empty.
Your cart is empty.
MIDI Shield Musical Breakout Board MIDI Adapter Plate Digital Interface For Arduino Microcontrollers
Descriptions:
Through the MIDI adapter plate, your Arduino board or other microcontrollers can be accessed to powerful MIDI communication protocol. MIDI protocol and asynchronous serial interface has many similarities, so users can use the micro-controller UART pin to send MIDI event information.
MIDI adapter plate provides MIDI - IN and MIDI - OUT connection, and MIDI THRU port. MIDI - port is light IN isolation, to prevent the ground loop. MIDI adapter plate can be installed directly like a shield at the top of the Arduino board: connect MIDI - IN/THRU to for Arduino hardware RX pin, connect MIDI - OUT to TX. It Arduino data and analog pin, power bus and the bus can transfer out.
The RUN/PGM switch can let users on the forArduino board serial port programming, without having to remove the board.
Notes:
the three hole MIDI connector no welding on the MIDI adapter plate, but these connectors included in this product.
Size: 57.4 x 53.1mm
/*
MIDI note player
This sketch shows how to use the serial transmit pin (pin 1) to send MIDI note data.
If this circuit is connected to a MIDI synth, it will play
the notes F#-0 (0x1E) to F#-5 (0x5A) in sequence.
The circuit:
* digital in 1 connected to MIDI jack pin 5
* MIDI jack pin 2 connected to ground
* MIDI jack pin 4 connected to +5V through 220-ohm resistor
Attach a MIDI cable to the jack, then to a MIDI synth, and play music.
*/
void setup() {
// Set MIDI baud rate:
Serial.begin(31250);
}
void loop() {
// play notes from F#-0 (0x1E) to F#-5 (0x5A):
for (int note = 0x1E; note //Note on channel 1 (0x90), some note value (note), middle velocity (0x45):
noteOn(0x90, note, 0x45);
delay(100);
//Note on channel 1 (0x90), some note value (not