![]() We've integrated a special button on the top right side of the Eduponics mini board, it's just a simple button that is connected to IO PIN number 36, technically this button can be used for anything but we've decided to dedicate it for a special use which is waking up from deep sleep.īefore we go into deep sleep we must set a wake up input, failing to do so will cause our board to go into infinite loop where it wakes up and goes back to sleep. In our tutorial we'll focus on waking up by push of a button, this is useful if you want to check sensors data on the Eduponics mini board by pressing it from time to time let's say when you come home every day, this can be extremely beneficial for the battery life if you power the board with an external battery. touch pins - waking up by connecting touch button to the board.External wakeup - we'v dedicated a "wakeup" button on the Eduponics mini board for this purpose.Timer - using ESP32 internal RTC to count and wakeup after x seconds.There are multiple ways that ESP32 can wakeup from a deep sleep, such as: This feature is very specific to the ESP32 other boards such as Arduino or Raspberry Pi don't have this deep sleep functionality thus not suitable for outdoor / battery powered applications. With a custom and carefully designed board you can get a minimal consumption of about 5 μA. When operating in deep sleep mode, the board have a current consumption on the μA range. ![]() Having the board in deep sleep mode means cutting with the activities that consume more power while operating but leave just enough activity to wake up the processor when something interesting happens. If you put the board in deep sleep mode, it will reduce the power consumption and your batteries will last longer. Having the Eduponics Mini ESP32 board running on active mode with batteries it’s not ideal, since the power from batteries will drain very quickly.
0 Comments
Leave a Reply. |