USB1287 both bus and self powered.

1 post / 0 new
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi Folks,

My AT90USB1287 is normally working on battery power, self powered.
When it will be connect to an usb port it's should be powered from the usb port. To achieve this my idea was to add some fet's.
The fet(N-channel) on the left should connect VCC to VBUS and the fet (P-channel) on the right must disconnect the battery from VCC.

Is the idea good and should it work without frying everything.