Electronic – arduino – the purpose of the Arduino Uno power pins section

arduino

I have an Arduino Uno, and from what I understand, the digital I/O pins on the side of the uno each have 5V and can be controlled from the Arduino software.

I am pretty sure from reading the documentation and testing it out with a 9V battery (Please correct me if I am wrong) that the VIM and ground pins on the opposite side of the uno are used for powering the uno from an external, non-USB power source.

What I find a bit hard to understand from the uno's documentation, is the purpose of the 5V and 3.3V pins. I tried hooking up a hobby motor to the 5V and ground pins, and it spun – so am I correct in deducing that the 5V and 3.3V pins are used to power external components that don't need to be controlled from the Arduino software?

Best Answer

The 5V pin is the output of the on-board 5V regulator. Yes, you are correct that it can be used to power external components which use a 5V connection.

The 3V3 pin is the output of the on-board 3.3V regulator. Same as above as for powering components from it.

The VIN pin is slightly more complicated. If you are not powering it from USB but rather from an external power supply, that supply is directly available on VIN. However, the ATmega328 is still powered from 5V which is available on the 5V pin after being passed through the regulator. So the VIN pin is unregulated (unless your external supply is regulated) and should probably not be used to power external components.

Unfortunately, I believe all the pins on the arduinos are only rated for 40mA. So while your power supply might be able to provide more, if you take it from the power pins you should not draw more than that.