1

Device (microcontroller) is powered by battery or USB, through load sharing circuit. When no USB, operates on battery. When USB applied, USB powered.

I want device to reset once when USB power applied. I've found voltage supervisor IC's but all I've found hold reset low when no power. This would block device from operating on battery power. The battery may be in charged or fully discharged state when USB is inserted - either way, reset pulse is desired. Low cost would be ideal.

Schematic of reset part of circuit below.

schematic

simulate this circuit – Schematic created using CircuitLab

Load sharing circuit is below.

enter image description here

Calum Nicoll
  • 452
  • 2
  • 12

1 Answers1

1

Add a 1-shot monostable pulse generator. Connect the input to the USB input. Connect the output to the reset input of U1.

A cheap way to implement that, though not terribly reliable, is a capacitor in series, followed by an inverter gate.

schematic

simulate this circuit – Schematic created using CircuitLab

Davide Andrea
  • 16,164
  • 4
  • 33
  • 62