Products > Embedded Computing

Arduino USB_ID circuit?

(1/1)

Jester:
Can anyone explain this USB_ID circuit?  (this is an open source Arduino MkrZero board USB power circuit)

This entire circuit seems more complicated than it needs to be:  6 FET's to choose USB or external power?

I prototyped a project using an official MkrZero board and now need to shrink the circuit onto a new board, getting rid of the unnecessary components; battery charger, SD cards etc. while maintaining compatibility with the code I wrote. I don't need the USB power source, but do need to be able to use the USB port with the Arduino IDE for future firmware tweaks.

If I simply eliminate the entire 6 FET circuit and provide power via an existing 3v3 power supply, does anyone see a problem with this?

ataradov:
This circuit is for the OTG functionality. It makes it provide 5V on the USB connector when the board acts as a host. If you don't use this functionality, then yes, you can remove all of this.

Jester:

--- Quote from: ataradov on January 06, 2019, 08:53:33 pm ---This circuit is for the OTG functionality. It makes it provide 5V on the USB connector when the board acts as a host. If you don't use this functionality, then yes, you can remove all of this.

--- End quote ---

ataradov,

Thanks for the quick response.

I'm about to delete it, is there any chance the Arduino IDE needs this signal to operate, for regular program loading etc?

ataradov:
I don't think so. If there is some dependency, it would be in error.

But also, if you just left it unconnected, it all should default to the device state where the power is not provided to the external device. So I'm not sure how there can even be a dependency.

Navigation

[0] Message Index

There was an error while thanking
Thanking...
Go to full version