diff --git a/examples/TBeamFactory/LoRaBoards.cpp b/examples/TBeamFactory/LoRaBoards.cpp index 53ff16e..9e8e721 100644 --- a/examples/TBeamFactory/LoRaBoards.cpp +++ b/examples/TBeamFactory/LoRaBoards.cpp @@ -340,6 +340,10 @@ void disablePeripherals() PMU->disablePowerOutput(XPOWERS_DCDC5); PMU->disablePowerOutput(XPOWERS_ALDO1); #else + PMU->disableSystemVoltageMeasure(); + PMU->disableVbusVoltageMeasure(); + PMU->disableBattVoltageMeasure(); + // LoRa VDD PMU->disablePowerOutput(XPOWERS_ALDO2); //GNSS VDD diff --git a/examples/TBeamFactory/README.MD b/examples/TBeamFactory/README.MD index 56646bd..0e21ef3 100644 --- a/examples/TBeamFactory/README.MD +++ b/examples/TBeamFactory/README.MD @@ -1,3 +1,4 @@ +# DATE: 20241119 # GPIO_WAKEUP_SLEEP_CUR diff --git a/examples/TBeamFactory/TBeamFactory.ino b/examples/TBeamFactory/TBeamFactory.ino index fd162e7..dd2d2ff 100644 --- a/examples/TBeamFactory/TBeamFactory.ino +++ b/examples/TBeamFactory/TBeamFactory.ino @@ -210,14 +210,14 @@ void handleEvent(AceButton *button, uint8_t eventType, uint8_t buttonState) // esp_sleep_enable_ext0_wakeup(GPIO_NUM_0, 0); - // TBeam-v1.2 ext1 sleep ~607uA , + // TBeam-v1.2 ext1 sleep ~540uA , // See sleep_current.jpg esp_sleep_enable_ext1_wakeup(_BV(BUTTON_PIN), ESP_EXT1_WAKEUP_ALL_LOW); - // GPIO WAKE UP + TIMER WAKE UP ~500uA - esp_sleep_enable_ext1_wakeup(_BV(BUTTON_PIN), ESP_EXT1_WAKEUP_ALL_LOW); - esp_sleep_enable_timer_wakeup(30 * 1000 * 1000); + // GPIO WAKE UP + TIMER WAKE UP ~530uA + // esp_sleep_enable_ext1_wakeup(_BV(BUTTON_PIN), ESP_EXT1_WAKEUP_ALL_LOW); + // esp_sleep_enable_timer_wakeup(30 * 1000 * 1000); esp_deep_sleep_start(); diff --git a/examples/TBeamFactory/images/GPIO_WAKEUP_SLEEP_CUR.jpg b/examples/TBeamFactory/images/GPIO_WAKEUP_SLEEP_CUR.jpg index 321e05d..00f4560 100644 Binary files a/examples/TBeamFactory/images/GPIO_WAKEUP_SLEEP_CUR.jpg and b/examples/TBeamFactory/images/GPIO_WAKEUP_SLEEP_CUR.jpg differ