Micro Pro power problem with matrix and 3 pots

I need advice with a power problem on a Micro Pro before I blow something up
, I have tried many ways to power the Arduino Micro Pro with a 6x6 matrix and 3 pots, everything is fine and working with the 6x6 and one pot, but when I add 2 or more pots, the Arduino shuts down. So I added a 5v 4 amp external supply to Raw and connected the netive to GND.

(note: I disconnected the red wire from the red busbar before taking the photo)

The Arduino still shuts down. Do I need to move over to the Lenardo or increase the voltage at raw? the code is simple but I added it anyway with a photo of the setup I am still working on.
IMG_3133 Medium

#include <Control_Surface.h>
 
USBMIDI_Interface midi;
 
// The note numbers corresponding to the buttons in the matrix
const AddressMatrix<6, 6> addresses {{
    {1, 2, 3, 4, 5, 6},
  {7, 8, 9, 10, 11, 12},
  {13, 14, 15, 16, 17, 18},
  {19, 20, 21, 22, 23, 24},
  {25, 26, 27, 28, 29, 30},
  {31, 32, 33, 34, 35, 36},
}};

NoteButtonMatrix<6, 6> buttonmatrix {
  {2, 3, 4, 5, 6, 7}, // row pins
  {8, 9, 10, 16, 14, 15 },    // column pins
  addresses,    // address matrix
  Channel_1,    // channel and cable number
};
CCPotentiometer potentiometers[] {

  {A0, 0x12}, 
  {A2, 0x13},
  {A1, 0x14},
 
};
void setup() {
  Control_Surface.begin();

}
 
void loop() {
  Control_Surface.loop();
}

IMG_3134 Medium

That's the mistake. According to the datasheet, RAW needs 6 - 16 volt. Apply the 5 volt power to Vcc!

ah, forgot about looking that up on the datasheet, will add 12v and let you know.

ok, I put 12v on the Raw and it let, the Arduino, let out the white smoke. i do have 2 more cheap Arduinos to try out, is check out the transformer I used, ad it was reading 13v, there might be something wrong with it.

What devices did You power with the 5 volt pin? More then a few LEDs equals overload of the onboard 5 volt converter.

nothing more than 36 buttons, and 3 pots, the leds that come on with the button are not powered by the arduino.

just so you know, the power supply I used was very faulty, as soon as a load was applied to it, it would jump up well past 12 volts. I did get my problem fixed, thank you. if you want to know a little more about this project you can see a preview of it here on a nother post:Midiusb.h and matrix buttons integration.

The pots are 10k or more I suppose. That is safe.
Looks like You are tracking the reason for the smoke and things will work.

1 Like

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