Hi,
I'm trying to build something really simple with an esp32 but i have been relying on AI due to my lack of electronics knowledge to help and i've finally had enough and decided i need some human help.
The basic task is that i need to detect usb / mains power disconnection, use a supercapacitor power momentarily to save info, esp32 to resume to normal state when power returns.
Initially a voltage divider was suggested but it seemed to be too noisy and unreliable to eventually switched to a mcp111. Gemini AI had me buy this parts list below then seemed to forget how it should be put together, having me rearrange it a load of times.
Its currently at a state where the supercapacitor seems to work fine, it keeps the esp32 running for quite a while and the voltage drop detection from the mcp111 also works correctly but when i reconnect usb power the esp32 doesn't seem to reset itself back to its normal state.
Can anyone please take a look at the components i bought and see if everything makes sense? I've got very little confidence on what i have put together so far.
Component list:
2x 511-1N5817 Block supercap backflow to USB power; block USB power rushing to supercap instantly.
1x 579-MCP111-450E/TO Detects voltage drop below 4.38V; actively pulls signal pin LOW.
1x 576-1.5KE6.8A Shunts destructive voltage spikes >6.8V immediately to ground.
1x 667-EEU-FR1C471B Smoothes micro-fluctuations and noise on the main power rail.
1x 603-MFR-25FRF52100R Forces supercap to charge slowly, preventing USB overload.
1x 603-MFR-25FRF5210K Holds signal pin at 3.3V (HIGH) so MCP111 can pull it LOW.
1x 80-FU0H105ZF Stores energy to power ESP32 after USB disconnection.
detect power loss & save with super capacitor help
Re: detect power loss & save with super capacitor help
A schematic would probably be of more help than just a component listing.
Who is online
Users browsing this forum: ChatGPT-User, Semrush [Bot] and 4 guests
