-40%
Breakout Board Adapter Accessories Equipment For Digital Interface Module
$ 4.16
- Description
- Size Guide
Description
Breakout Board Adapter Accessories Equipment For Digital Interface ModuleDESCRIPTION
Breakout Board Adapter Accessories Equipment For Digital Interface Module
Product description:
100% brand new high quality
Made of high-quality materials for durability
Through the MIDI adapter board, a powerful MIDI communication protocol can be connected to the board or other microcontrollers.
There are many similarities between the MIDI protocol and the asynchronous serial interface, so users can use the microcontroller's UART pins to send MIDI event messages.
The MIDI breakout board provides MIDI-IN and MIDI-OUT connections, as well as a MIDI THRU port. MIDI-ports are light-in isolated to prevent ground loops.
The MIDI breakout board can be mounted directly like the shield on the top of the board: connect MIDI - IN/THRU to the hardware RX pins and MIDI - OUT to TX.
For data and analog pins, the power bus and the bus can go out.
The RUN/PGM switch allows the user to serially program the board without removing the board.
NOTE: The three-hole MIDI connectors on the MIDI breakout board are not soldered, but they are included with this product.
Dimensions: 57.4 x 53.1mm
MIDI note player
How to send MIDI note data using the serial send pin (pin 1).
If this circuit is connected to a MIDI synth, it will
Play the notes F#-0 (0x1E) through F#-5 (0x5A) in order.
Circuit:
*Digital input 1 connects to MIDI jack pin 5
* MIDI jack pin 2 is connected to ground
*MIDI jack pin 4 connected to +5V to 220 ohm resistor
Connect a MIDI cable to the jack, then to a MIDI synth, and play music.
*/
void setup() {
//Set the MIDI baud rate:
serial.start(31250);
void loop() {
//Play notes from F#-0 (0x1E) to F#-5 (0x5A):
for (int note = 0x1E ; note < 0x5A ; note ++ ) {
// Comments on channel 1 (0x90), some caveats value (comments), medium speed (0x45):
noteOn (0x90, note, 0x45);
delay(100);
// Note channel 1 (0x90), note value (comment), mute speed (0x00):
noteOn (0x90, note, 0x00);
delay(100);
//Play MIDI notes. don't check
// Whether cmd is greater than 127, or whether the data value is less than 127:
void noteOn (int cmd , int pitch , int velocity ) {
Serial.write(cmd);
serial.write(tone);
serial.write(speed);
Package list:
1 * MIDI shield serial to MIDI module
Note:
1.The real color of the item may be slightly different from the pictures shown on website caused by many factors such as brightness of your monitor and light brightness.
2.Please allow slight manual measurement deviation for the data.
POLICES
Shipping
Payment
WARRANTY
We only ship to confirmed ebay Order addresses. Please comfirm that your Order address is in line with your shipping address.
Please kindly note that the combined shipping is not provided because the shipping fee is calculated by weight. Also, the each additional item means exactly the the same color and size.
It takes about 7-15 working days to Canada; about 10-30 working days to other countries. Transit time may be a little delayed because of the bad weather and customs inspection. If you do not receive your item within 30 working days since payment finished, please contact us immediately for further assistance.
Payment must be completed within 5 days. If you have any problems about payment, please contact us via ebay message.
We strive for 100% customer satisfaction! Positive Feedback is very important to us. If you have any questions, please feel free to contact us via "Ask seller a question" . We will reply your email within 24 working hours.