I'm trying to an external MIDI device to control a set of LEDs through my arduino. I've been following the schematics here: http://m.bareille.free.fr/midithrubox/midithrubox.htm And have now tried the setup on this page: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1152354897/0
I have been able to send Midi messages to my arduino from the serial monitor in the arduino IDE, and it responds as expected. But I cant get any response at all from an external Midi device.
I'm using an Ardweeny, basically an ATmega328p with a programming backpack and status led, a 6N138 optocoupler, and a 74HC14 schmitt trigger. Currently I dont have the circuit hooked up through the schmitt trigger, just directly from the optocoupler. This is how I previously had the circuit hooked up: http://img829.imageshack.us/i/miditestrig1.jpg/ I'm also using jumper wires to just get power from the FTDI chip, so it wont interfere with the serial interface.
I've spent about two weeks or so trying to get this working, but I cant seem to get any results. I thought it was possibly the cheap drumpad I was using as a midi source, which only outputs on channel 10, but I've eliminated that by purchasing a new keyboard/synthesizer. Now I'm down to thinking that my optocouplers are bad? What else could it be? And if its the optocouplers, how do I test that?
I have been able to send Midi messages to my arduino from the serial monitor in the arduino IDE, and it responds as expected. But I cant get any response at all from an external Midi device.
I'm using an Ardweeny, basically an ATmega328p with a programming backpack and status led, a 6N138 optocoupler, and a 74HC14 schmitt trigger. Currently I dont have the circuit hooked up through the schmitt trigger, just directly from the optocoupler. This is how I previously had the circuit hooked up: http://img829.imageshack.us/i/miditestrig1.jpg/ I'm also using jumper wires to just get power from the FTDI chip, so it wont interfere with the serial interface.
I've spent about two weeks or so trying to get this working, but I cant seem to get any results. I thought it was possibly the cheap drumpad I was using as a midi source, which only outputs on channel 10, but I've eliminated that by purchasing a new keyboard/synthesizer. Now I'm down to thinking that my optocouplers are bad? What else could it be? And if its the optocouplers, how do I test that?