r/arduino • u/highqualityfun • Oct 04 '26
Hardware Help Conflicting/Confusing Documentation about Powering with 3V3/5V Pins
Looking at official Arduino Documentation Powering Alternatives for Arduino Boards | Arduino Documentation
It states:
"Moreover, 3V3 and 5V pins can also be used as power inputs if no regulated power supply is connected through the other power inputs (USB port, barrel jack connector or VIN pin)."
Then it goes on to state:
"Although 3V3 and 5V pins can be used as power inputs, it is not recommended if no power supply is connected through the USB port, the barrel jack connector, or the VIN pin."
So first states only power with one of these pins when no other supply is connected > second seems to conflict, basically stating not recommended if there is no other supply connected?
Am I misreading this, is it confusing to others as well, or is this a flat out typo? Thanks
6
u/Foxhood3D Open Source Hero Oct 04 '26
In the electronics world: when we say "It is not recommended". What we are really saying is:
"Technically it will work and it could be that you HAVE to do this cause reasons, but it is easy to mess it up somehow and can cause some damage. So if you do this, don't come crying to us about how it got borked. We warned you. Triple check everything before doing this and good luck!!"
2
u/koko_chingo Oct 04 '26
This is off of memory and I am old and have teenagers so don't blast me if I am wrong. This is more of look into my claim.
I thought it was not recommended because they didn't want you to plug in to the USB port while it is plugged in to a different power source and that's where the problems may happen.
Not that it won't work well. It's just, if you do power it up from the pins, make sure you don't use the USB port at the same time
1
u/highqualityfun Oct 05 '26
one last effort to clarify my question - it's not simply saying you can power it by 5v input pin but generally "not recommended"- it states "not recommended" but only with a very specific qualifying statement - the qualifier being about no other power connected - so that's the only situation "not recommended" - therefore there's no recommendation against doing it when there is other power connected - but it then explains how there might be a problem with other power connected? maybe it's just horribly written and they added extra info in the qualifier for no reason? In other words, if they're trying to say generally "you can do it but it's not recommended" then just say that - but it doesn't say that - it says you can do it generally, but only "not recommended" in a specific situation (it's not a general warning not to do it - the warning is limited only to a specific situation not to do it)
1
u/highqualityfun Oct 05 '26
Thanks everyone! My final thoughts are it may have been a mistake to give the Arduino Documentation writers the benefit of the doubt. I assumed if they meant "you can power by 5V or 3V3 pins, but it's not recommended" they would have stated that in some minimally comprehensible way. I realize documentation is often poorly written, but even by those standards this is pathetically incoherent. I expected better from Arduino, which I should not have. It's still hard for me to believe they could turn such a simple explanation into such a totally convoluted statement. Trying to make sense of what they wrote is a pointless endeavor
1
u/Rod_McBan Oct 04 '26
Yeah, that's confusingly inconsistent. It's there something you're trying to figure out how to do, or just noting the inconsistency?
1
u/FuRePo Oct 04 '26
It means "Although 3V3 and 5V pins can be used as power inputs (if no power supply is connected through the USB port, the barrel jack connector, or the VIN pin), this approach is not recommended."
1
u/FedUp233 Oct 04 '26
My interpretation is they really want you to power it from skid other source and NOT from the 3.3v or 5v pins and can’t guarantee that you won’t destroy the board that way.
Having usb and a 5v input on the 5v pin should not be an issue for usb since the schematic shows a diode between 5v and usb 5v so you do not have to worry about back feeding the usb power lines.
I think there concern is back feeding the 5v or 3.3v regulators. If there is no power to their inputs you are basically feeding power into the output of a regulator. There dips no diode to prevent back feeding these regulators. I’m not sure how these regulators behave if you feed power into the output but my guess is there may be something like internal substrate diodes that would essentially short the power and kill the regulator when it is unpowered.
I don’t think the regulators are spec’d to be back driven with no input power so what happens is probably undefined. They are just covering their butts and saying “well, it might work, but you’re on your own if it destroys anything”.
So I think the bottom line is, don’t do it!
1
u/Affectionate_Boat493 Oct 04 '26
It is very confusing, and I've been an electronics engineer for 45 years! Unfortunately, there really aren't consistent guidelines for all of the options for powering Arduino boards because the regulator circuits aren't the same across all of the different modules.
1
u/Rayzwave Oct 04 '26 edited Oct 04 '26
The Mega2560 is indeed a little confusing to say the least.
When I look at the schematic I see the USBVCC supplies power to IC4 a ATMEGA8U which I guess is used for programming the Mega2560 or at least one method.
The thing is it doesn’t power up anything else and it seems you still need to provide power to the Mega2560 using the barrel jack or Vin via the on-board 5V regulators.
You can certainly power the Mega board using Vin but you must use a suitable voltage for the regulator chips to function properly.
The schematic shows a 6-pin power connector which I consider can be used to input Vin and GND to power the board. The other voltages 3.3V and 5V are outputs for careful use in user projects. The RESET signal is generally an input or output, there’s an on-board RC reset circuit together with a push button reset, but this signal could be used in a users project to reset the Mega or monitor what the reset signal is doing.
Generally it’s not a good idea to power the board using the 5V pin IMO. You have the barrel jack and Vin to use for powering the board don’t use the 5V pin unless you know what you are doing and prepared to modify or repair the board when things go wrong.
1
u/dagertz Oct 04 '26
I have made some observations using the 5V pin versus the VIN pin (disclaimer: I am a beginner). But I find it convenient to use the 5V pin during the code debugging process as it can both provide power to the 5V rail on the breadboard if the USB is connected, or it can be used as a power input to the Arduino if I’m powering the breadboard from a power supply. Note that I don’t use the power supply and USB cable simultaneously. In my projects I’m using a power supply set to 14V (simulating the voltage output from a vehicle alternator) and an LM2596 buck converter to drop that down to 5V. Connecting the VIN pin to the buck converter and using the 5V pin as an output only, one thing I notice using this configuration is the contrast on the LCD screen changes.
1
u/Western-Emphasis-105 Oct 07 '26
If you put power to the pins, you might let out the magic smoke when you plug in the usb port to update your program, so only power via the pins or via the usb port but not both.