Author Topic: How can I make a mobile power switch like latching switch for my esp32?  (Read 72 times)

0 Members and 1 Guest are viewing this topic.

Offline Rishles69@Topic starter

  • Contributor
  • Posts: 49
  • Country: in
So I wanted to make my esp32 project a latching switch using all smd components. What I want to do is to have a single power switch. (note: the same switch should work as a cancel button which is decided by the esp32 and my project has 4 buttons including this cancel button. The first two work as navigation or up and down, the third button is enter/OK  and finally the cancel/back switch) so before when I press this cancel button I mentioned before, the esp32 should be in full turned off state and there is no power consumption from the battery. If I pressed the cancel button, it should turn on. And if I pressed the cancel switch when in on state the esp32 should not turn off simply and it should only work as a back/cancel button. After navigating the custom menu on my esp32 with a display and the navigation buttons and when I select the "power off" option on my esp32, it should turn off. If it is on sleep mode or deep sleep mode, the circuit should NOT turn off the esp32.

If my esp32 is turned off, when I plug my charger through tp4056, the esp32 should automatically turn on to show in the display, it's charging just like on phones. Any ideas? Thanks
« Last Edit: Yesterday at 11:56:41 am by Rishles69@ »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf