6

I read the following online: If you plug in both USB power (say from a pc) and external power via the 2.1mm jack, the Arduino chooses power source automatically.

If the external 2.1mm DC is providing greater than 6.6V, the Arduino will take power from it instead of the USB.

Firstly, is this accurate?

Secondly, my real question: If I am powering my Arduino via external DC, can I still communicate with my Raspberry Pi using serial via the USB?

c_breeez
  • 349
  • 1
  • 3
  • 9

1 Answers1

10

Yes you can. It still leaves the data/ground lines intact, it just doesn't bridge the 5V line.

Arduino Uno Schematic v.3:

The USBVCC is directly from the 5V on the USB jack (well, technically there's a fuse there). It then goes through a transistor (T1) that only allows power through when there is no power coming from the 5V regulator (that regulates the VIN voltage).

The USB jack:

You can see pin 1 of the USB jack (5V) goes through the fuse to USBVCC. The next ones D+/D- are the data lines that go through resistors to the ATMEGA16U (used for USB to UART). The last one just ties into ground.

Anonymous Penguin
  • 6,365
  • 10
  • 34
  • 62