1
\$\begingroup\$

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

\$\endgroup\$
2
  • \$\begingroup\$ You need to show us all the complete circuit, please. We need to see how USB and battery power U1. \$\endgroup\$ Sep 30, 2021 at 17:29
  • 1
    \$\begingroup\$ @DavideAndrea I've added the load sharing part. \$\endgroup\$ Sep 30, 2021 at 17:34

1 Answer 1

1
\$\begingroup\$

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

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.