How to send bluetooth MIDI Commands with HC-05 module on Arduino?

There is nothing about sending MIDI commands over serial Bluetooth using the HC-05 module on the arduino on the internet, and I would like to know if it is really possible to do this... yes I have considered using an ESP32 to do this task but I would really like to use an Arduino Uno with the hc-05

You did not specify what device will receive what kind of data

HC-05 Bluetooth Module is an easy-to-use Bluetooth SPP (Serial Port Protocol) module, designed for transparent wireless serial connection setup. Its communication is via serial communication.

So what kind of MIDI-device to you have on the receiving side?

best regards Stefan

in my case it would be the arduino uno sending midi commands over bluetooth to the bluetooth receiver of a laptop, but I think I learned how to do it using chatgpt hehe, apparently I just have to use 'Serial.Write()' passing a specific hex as a parameter, I just didn't understand how to identify which hex to pass, for example the hex: "0x90" is identified as NOTEON.

I'm curious if this really works. I'm pretty sure you will be back with new questions why the chatGPT-code does not work.

This won't work. You can send the bytes representing MIDI data over a Bluetooth connection, but the computer on the other end will have no idea what they mean. It won't interpret them as MIDI messages, and the Arduino won't show up as a MIDI device that you can actually use in any DAW or music software.

Well, you could write your own custom piece of software to run on the computer that receives the SPP data, creates a virtual MIDI port, etc. but this is a waste of time.
You'll need a Bluetooth chip/module that supports MIDI over BLE, not just SPP.

Why? It's simply the wrong tool for the job.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.