Show Posts
Pages: [1] 2
1  Using Arduino / Displays / Re: 16x2 RGB LCD and MCP23017 on: July 03, 2013, 10:06:55 pm
Adafruit has a library for the MCP23008, for their I2C LCD backpack. The MCP23008 is basically a MCP23017 with only 8 channels. It should be easy to adapt.
2  Using Arduino / Programming Questions / Re: Arduino Leonardo error on: November 22, 2012, 02:12:50 pm
Same problem in a different thread:
The solution there fixed this problem for me too.
3  Using Arduino / Audio / Re: Multiple MIDI I/Os on: November 15, 2012, 02:55:21 am
I am going to try the same thing. Franky47 is making updates to his awesome MIDI library that allows multiple instances, one on each serial port.
4  Using Arduino / Project Guidance / Re: Making a MIDI merger on: February 29, 2012, 05:21:50 pm
I haven't started yet.
I don't mind keeping the Arduino inside the project. I'm not mass-producing anything and I can take the project box apart easily enough.
I'm going to use an old KVM switch - the type for the ancient AT keyboards, since they have the same DIN sockets as MIDI.
5  Using Arduino / Project Guidance / Re: Making a MIDI merger on: February 20, 2012, 05:39:41 pm
my plan was just to use the Arduino Mega; it has three serial ports.
6  Using Arduino / Audio / Re: Newbie- ultrasonic rangefinder + sound from Mac (or Applescript) on: February 13, 2012, 04:57:17 pm
The Halloween Pumpkin project at Adafruit has almost every element you require.
7  Using Arduino / Audio / Re: Read MIDI File(SD CARD) and Play it with (MIDI Shield) ?? on: February 08, 2012, 11:34:37 am
If you can read French (I can't), follow this,64900.0.html
it looks like a porting of the MrMidi you posted above to Arduino. I tried to get it working but it's far too complicated for me. I would rather start from scratch and use the new SD card libraries and Arduino 1.0.
8  Using Arduino / Project Guidance / Re: MIDI Polyphony on: February 07, 2012, 11:36:25 pm
Even an Uno can do a decent job with sequencing beatbox kind of stuff.
9  Using Arduino / Audio / Re: Arduino dropping midi signals on: February 07, 2012, 06:32:26 pm
Do you have another MIDI keyboard to try? I mention it because I was building a MIDI circuit too, and with a Yamaha PSR keyboard it would always seem to drop notes, and even add notes!! And I must have gone through my schematic and circuits a hundred times.
But then I plugged into my Kurzweil piano and it worked flawlessly... and just to be sure I have a Rockband controller which has MIDI out, and it works fine as well... So I believe these Yamaha PSR keyboards don't follow the standards too well.
10  Using Arduino / Audio / Re: Read MIDI File(SD CARD) and Play it with (MIDI Shield) ?? on: February 07, 2012, 06:27:22 pm
I have been looking for the same thing. But so far this hasn't been done specifically for Arduino that I can find. There are projects that let you convert MusicXML or .MID files on your PC, and then include the conversion in your Arduino sketch.
11  Using Arduino / Audio / Re: Can DC BoArduino (without USB/FTDI) do MIDI? on: December 24, 2011, 12:33:09 am
A tip from the author of the MIDI schematic I used (at ) led me to tie a pullup resistor to RX (10k between +5V and pin 0).
Many, many thanks to him!
12  Using Arduino / Audio / Re: Receiving MIDI Signals on: December 21, 2011, 02:41:52 pm
You don't need to refresh the entire grid each time!
Just change the specific LED that relates to the MIDI note. The 7219 will take care of the rest.
13  Using Arduino / Audio / Re: Receiving MIDI Signals on: December 20, 2011, 05:41:10 pm
If you want to continue to use the MIDI library, you can simplify your code a lot by using the event handlers. To do that, in your setup function:
  // Initiate MIDI communications, listen to all channels, turn off thru mode
  // By default, the MIDI library sends everything THRU. We do NOT want that!

  // Connect MIDI status changes involving a channel to handlers
Then, create a function for handling note on and note off:

void HandleNoteOn(byte channel, byte pitch, byte velocity) {
 // check your pitch, velocity, and channel here
 // turn on the LED matching pitch
void HandleNoteOff(byte channel, byte pitch, byte velocity) {
 // check your pitch, velocity, and channel here
  // turn off the LED matching pitch

Now your loop function is simple:
void loop() {;
14  Using Arduino / Audio / Re: Open Hardware Music Synthesizer Shield project on: December 19, 2011, 04:40:36 pm
Thank you Keith for putting this project on Kickstarter. It is something I have been dreaming about (even studied the SAM2195) but it's way beyond my skills. For now I'm sticking to simpler MIDI projects.
15  Using Arduino / Audio / Can DC BoArduino (without USB/FTDI) do MIDI? on: December 19, 2011, 04:33:00 pm
I got a BoArduino ( to use in a MIDI project I am doing. I have the project almost working but the BoArduino is acting very strangely.
When the FTDI Friend is plugged in, the code runs flawlessly (with or without the external power supply, but setting the jumper accordingly and all the grounds are tied together). But when I unplug the FTDI the code runs erratically.
Without the FTDI friend, the box starts dropping messages and garbage starts appearing on the LCD. MIDI messages are dropped. For example I start to get a lot of "stuck" notes, notes that don't play at all, and even a random note once in awhile that I didn't play!
I used a 9V power supply and have tried other power supplies. The jumper is set to ext only when the power supply is plugged in. Other test code I run on the BoArduino seems to be OK (blink sketches etc.) without the FTDI, so I think the BoArduino is put together correctly.
The link below is to a picture of the display. The bargraph at the bottom (and the red LED) should only show when a note is on; here I have no hands on the keyboard.
I'm wondering do I need to wire something up to mimic something the FTDI is providing? Can BoArduino even do serial in/out without it?
The project has MIDI in/out, a 20x4 LCD (ID: 198) and a rotary encoder. The code and schematic is here:
Any ideas what could be going on?
Pages: [1] 2