The Vin pin, if I've understood correctly, is connected directly to the +Ve of the barrel connector and so by passes the regulator. Putting 12V on the barrel connector will give me 12V on the output Vin pin. Is that right?
I've seen some posts about the Vin pin, and one says that I could draw up to a max of 1A.
I've had a look at the PC tracks for the Vin pin on an "UNO" and they don't seem very thick, is the 1A max correct? (Assume that the PSU can supply the Arduino with 1A left over).
I intend to use 250mA, but I like to have a large margin of error.
@hammy , but that pin is so convenient, physically. Otherwise I'd I have to add another connector. I think they put it there for that reason, no? Convenience.
The pin is really put there to be an alternative power input , not for supplying power to other devices . ( hence called “Vin” , not “Vout”. !) You can use it , For “accessing the voltage “, whatever that means, but I’d suggest not as a power supply ..
A read of the official documents , which should always be your reference ,says
“ The power pins are as follows:
Vin. The input voltage to the Arduino/Genuino board when it's using an external power source (as opposed to 5 volts from the USB connection or other regulated power source). You can supply voltage through this pin, or, if supplying voltage via the power jack, access it through this pin.”
So officially it can be used as an input or output. It would seem. From that phrase.
Yes, but only if power is applied to the barrel connector upstream from it and in that case the Vout will be about 0.7 Volt less that the supplied voltage. See the schematic Larry D posted in post #2 above. On an Arduino UNO board laying here if I apply 12.00 VDC to the barrel connector I get a Vout on the Vin pin of right at 11.20 VDC. I just see no reason to do anything this way.
Aside from what is drawing current through the Vin pin, what else is on the 5V rail. Do you know that the current that the 5V regulator can supply is limited when supplied by the power jack (or Vin)?
The on board 5V regulator is not heat sinked so will supply limited current before it overheats and shuts down. The amount of current depends on the voltage input to Vin or the power jack. The higher the voltage the less current can by supplied.
The "Vin" pin or in fact the "barrel jack" which is the same with a diode, was originally provided to demonstrate the Arduino. Once you start connecting things that draw current, and that includes connecting things to draw current from the "5V" pin, you are playing with fire - or not! This is even worse for the Mega as it has more pins to connect things to!
The on-board regulator - unless you use a variant such as the "RoboRed" (it has a proper switchmode regulator) - has no heatsink of significance. It may theoretically have a rating of 1 A, but only when bonded to a substantial heatsink. You can barely see it on the Arduino board. You will not get 1 A at 5 V from the board with any "Vin" voltage for more than a second or two before the regulator overheats - and hopefully shuts down peacefully. You may be lucky to get 150 mA.
I'm a slow learner but I think I got there in the end. Since I also have to power servos at 5V I decided to power the Arduino and the servos from the same 5V regulated power supply and put the 5V into the Arduino using the USB connector: