



Description:
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. Note: 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 < 0x5A; 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 (note), silent velocity (0x00):
noteOn(0x90, note, 0x00);
delay(100);
}
}
// plays a MIDI note. Doesn't check to see that
// cmd is greater than 127, or that data values are less than 127:
void noteOn(int cmd, int pitch, int velocity) {
Serial.write(cmd);
Serial.write(pitch);
Serial.write(velocity);
}
Package Included: 1PCS * Module
We only accept payment through Paypal.
Items will go to post within 1-2 business days after payment confirmed.
If you can't receive the product within 2 months (60 days), please contact with us,we promise to payback 100% of your money.
We ensure our products work normally before post.If the products is broken before arrival to you,all you should do is taking a photo to show us our broken product.We promise to payback 100% of your money.
1. We ship to Worldwide.
2. We only ship to confirmed PAYPAL address; your PAYPAL address must match your Shipping address.
3. Any non-received items caused by invalid address registered on PayPal are not in our full refund or replacement policy. Shipping fee has including the local handing and packaging fee.
4. All the items will be shipping within 1-2 working days after receiving the payment, except some holidays.
5. We will not be responsible for any custom delay or tax, because transit time is highly depended and provided by postal Service.
6. If you have any problem, please contact us via message, we will reply message within 1-2 working days, please wait for patient.