Arduino Leonardo Power Adapter being powered without being plugged in

Hi,
I have 2 official leonardo boards. I've tested on both.

When I have the USB plugged into a computer and the board, and a power supply plugged into the power barrel on the board, the power adapter reads 4V on the LED panel. Note: I DO NOT have the power adapter plugged into the wall.

If I do plug the power into the wall it doesn't allow me to set the voltage. Can you not use a multi-voltage power supply with an Arduino?

Try unplugging the power supply from the Arduino, plugging it into the wall, setting it to 8V, and then plugging it back into the Arduino. There's some auto power source switching that happens when Vin is above 6.6V (7.3-7.6V at the barrel connector).

Interesting, I'll try that out. Thanks.

Also, it's ok to continue using the USB right? I'm sending MIDI data over USB, but I'll need the higher voltage for other components I'll add.

Short answer, yes, that'll be fine.

With 8V ish at the barrel connector, that will disconnect the USB voltage from being the 5V source for the board, and 5V will be provided by the onboard 5V regulator (fed by the barrel connector voltage).

SOLUTION:

That was the issue! The order of operations is as follows:

With and unpowered arduino plug in the power adapter to the wall to the arduino power barrel.

Then, plug in the usb to the computer.

Didn’t realize there was a piece of electronics on the boards to do this switch. Thanks

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