Hello, I was wondering if it is correct if the USB port ground pin is connected directly to the all ground pins of the Uno board ?
For example, if I use the Uno board for an application and I power it through the USB port from the 5V output of a 7805 regulator and the ground of the 5V regulator is connected to ground of the USB port and to all other grounds available on the pins of the Arduino.
Please have a look at the attached schematic...
Depends ..all are equally valid options , there is no best way .
The Vin allows you to use a wider range of voltages ( see spec) . The USB is useful for powering off your computer when you want to Program it or run it . You need around a min of 7.5v if using Vin.
Note there are power limitations in both options , you should not be using the Arduino itself to supply “ significant” power to other devices.
Should it be a good idea to power the Arduino Uno via de 5V pin ?
I read somewhere that it is not recommended, but it is good to connect the output of an 7805 regulator directly to the 5V pin to power on the Arduino Uno ?
There are some regulators that are not happy (i.e. fail) when the output is reverse driven with 5V; their datasheet showed adding a diode from the output (anode) to the input (cathode) so that the input didn't see less than ~ 0.5 to 0.7V volts below the output.
I believe this was a problem on early Mega2560 boards when folks tried powering the board from 5V on the Power Header. I wrote about this years ago, one can probably find it in the Old Forum (the one that is read only now).
Take a look at the 5V regulator on your board, and look up it's datasheet to see if a diode is recommended for protection.
The diagrams in the datasheet all show Gnd from the USB connector going to the board Gnd, and with UGND and GND connected for 5V operation, with 5V coming from USB, or from the board.
I don't know the reason for the solder jumper in the Uno schematic, or if boards are delivered with the jumper soldered.
I was thinking about a regulated voltage.
But if I power it from USB, then there is a fuse on the schematic (500mA), does it matter ? In other words, it is better to power the Arduino through the USB port because the fuse will protect it if something go wrong ?
Or it is better to power it through the 5V pin ?
... in terms of "phantom powering" it is better to supply the Arduino with regulated 5V through the 5V pin or through the USB port ?