Midi input to arduino from keyboard

I’m hoping someone in here has experience with midi input to arduino from a midi keyboard. The end goal is to actuate solenoids with the keys but currently I’m just trying to turn the built-in led on and off. I haven’t been able to find a functioning example to use as a starting point. I’ve also tried the midi library to no avail.

Using this example wiring and code in step 10

What isn't working, or what happens, when you run the code on parts wired according the schematic that goes with it?

Instructables get no respect here, but that doesn't necessarily mean the examlke offered should not work. Or do something.

Does it compile and upload?

Can you run the very simple blink sketch from the IDE to verify there's no larger problem hanging you up?

a7

Rx light blinks but built in led does not. It compiles and uploads just fine. Basic blink works example works. Also when I tried the midi library- there’s an example called “input”. It’s supposed to blink the on board led when there’s a program change, like if you hooked up a synths midi out and changed the patch/preset, it should blink. I didn’t try it with my synth but I did notice it would blink sometimes when I mashed the keys on the keyboard.

I was hoping to find someone who has worked through specifically midi input- as it seems to be a rather exotic project compared to midi out. On Reddit someone suggested I figure out how to debug the input using serial print but I’m unsure if I can do that while also receiving data on the rx pin of a nano.

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