Author Topic: Arduino USB_ID circuit?  (Read 4336 times)

0 Members and 1 Guest are viewing this topic.

Offline JesterTopic starter

  • Frequent Contributor
  • **
  • Posts: 859
  • Country: ca
Arduino USB_ID circuit?
« on: January 06, 2019, 05:21:43 pm »
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?
« Last Edit: January 06, 2019, 05:27:50 pm by Jester »
 

Offline ataradov

  • Super Contributor
  • ***
  • Posts: 11248
  • Country: us
    • Personal site
Re: Arduino USB_ID circuit?
« Reply #1 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.
Alex
 
The following users thanked this post: Jester

Offline JesterTopic starter

  • Frequent Contributor
  • **
  • Posts: 859
  • Country: ca
Re: Arduino USB_ID circuit?
« Reply #2 on: January 06, 2019, 10:01:32 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.

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?
 

Offline ataradov

  • Super Contributor
  • ***
  • Posts: 11248
  • Country: us
    • Personal site
Re: Arduino USB_ID circuit?
« Reply #3 on: January 06, 2019, 10:07:36 pm »
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.
Alex
 
The following users thanked this post: Jester


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf