0
\$\begingroup\$

In esp wroom-32 all the VDD pins has a common connection. It includes VDD_RTC too. So in case of power failure if I switch the power between main DC source and coin cell using a mosfet, will it create any interrupt on updating the RTC time?

I haven't done any practical on this topic. I got this doubt while going through the internal connection of wroom-32. So please share if there is any proper solution.

\$\endgroup\$
1
\$\begingroup\$

A diode steering type setup is common. As long as the supply voltage is slightly higher than the battery voltage the diode will stay reverse biased. If the supply voltage drops out then the battery will take over automatically. Using a Schottky type diode can help reduce the forward voltage drop. Also, the device would have to detect the missing power supply and go into a hibernation type mode not to kill the battery too fast.

schematic

simulate this circuit – Schematic created using CircuitLab

\$\endgroup\$
  • \$\begingroup\$ 0.5V drop in case of Schottky diode. If I add MOSFET there will be a less drop around 90mV, isn't it a better option ? \$\endgroup\$ – PCBLearner182 Oct 30 '18 at 17:25
  • \$\begingroup\$ With the diodes, the switch happens automatically with no other control necessary. What is your plan for using and switching the mosfet? Could you include a schematic? \$\endgroup\$ – vini_i Oct 30 '18 at 17:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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