I've designed this circuit for my small project that uses an RTC,MCU and a display.
My goal is to use a 20mmx20mm pcb and I don't want to include a separate battery for the rtc.
The IN is the 5V from usb and the BAT is the battery 3.7-4.2V. I've connected the 5v to a mosfet and directly to the regulator. My objective is that when I connect the usb that the electronics will run of the 5V and it will disconnect the 3.7 and let it charge.
While switching states (mosfet) will the electronics reset?
Link to 'Cheerleaders' replaced - JGM