Please check my schematic

Hi!

I try to hook up my controller to my Arduino Mega 2560, and then use it with JunXion to convert the serial data to MIDI.

  1. Please see attached IMAGE to see me schematic. Should my two circuits on the bottom right work as a pull-down resistor for all my buttons?

  2. Does Arduino have built in pull-downs/pull-ups that I can disable? How do I do that in the code if so?

I have also attached my Arduino JunXion code!

When I have it hooked up as this, the signals gets all flimmering and when I push ONE button, sometimes TWO buttons shows up as pushed and so on... Very wierd.

Thanks for your help!

/ TNDR

junXionArduino16a54d.pde (12.1 KB)

Sorry but I can't see how this circuit is supposed to work. What is the point of the transistors? It looks all wrong, I can't even begin to say how to put it right, it is so wrong.

Oh. I think i should have explained better those two circuits controls the brigthness of the two led groups. :slight_smile:

Yes but they also affect the voltage level being fed into the inputs.
You need pull down resistors and if the brightness is set too low then there is not enough voltage to register as a logic one.
I need to see component values but it looks like a not very good design.