• Power Switch Go!

    morgan4 days ago 0 comments

    Little video of my test circuit in action. I still need to do a little testing to verify that the button is actually functioning once the circuit is powered on, it appears a little flaky but that could easily be due to the fact I slapped the code together in roughly 5 minutes.

    The circuit powers the ESP32 on which immediately pulls the button input pin high, grounding the P-FET via an NPN.

    Link to PeerTube video for those (like me, but they're no emmbedable) that prefer to avoid YT.

  • Soft Power Switch, almost ready for boards

    morgan08/16/2019 at 04:49 2 comments

    Now that babies first Def Con is in the bag and I can slow a bit on #The Cacoffiny I want to revisit this project. Last I left it it was in pretty good shape but I've had a couple more considerations over the last month. The first is wanting to give #SOICbite Programming/Debug Connector Footprint a try and as I wanted to forgo the USB interface for this project anyhow it seemed like a good fit. That change was put in a couple weeks ago.

    The other change I only thought of on my way home from Vegas, after listening to the latest Hackaday Podcast (#30). The discussion on the soon to be defunct Ama$on Dash got me thinking about soft power switching. I feel like this is a good fit, it could potentially go 3 or 4 weeks between uses, it doesn't need to do anything while not directly in use so why waste power on deep sleep at all?

    The entire schematic has been uploaded but here's the relevant part. There's a somewhat janky Falstad simulation so I guess it'll work. Any thoughts? Has anyone else done a soft power switch with an ESP32? And being that I'm going to use this button during normal use, I'm guessing I should still debounce it but am having trouble figuring out how/where (in Falstad at least). I'm thinking a cap between BTN and R4 connected to ground should do but not 100% sure.