Victor
Victor
``` #include #include "tl_common.h" #include "drivers.h" #include "vendor/common/user_config.h" #include "app_config.h" #include "drivers/8258/gpio_8258.h" #include "drivers/8258/pm.h" #include "stack/ble/ll/ll_pm.h" #include "i2c.h" #include "sensor.h" #define GPIO_WAKEUP_SENS GPIO_PC3 // GPIO_PC2 or GPIO_PC3 ? int32_t temp;...
Is timer used in the original firmware? The current power diagram does not show wake up from GPIO.
Turning on and switching the power supply in chip -> pulse on SCL -> bit 15 Temperature lost. SCL/SDA - PullUp 1M:  SCL/SDA - PullUp 10K:  Operation is...
Test version with Sensirion SHTC3 humidity sensor working in deep sleep. Timer wake-up.  Source - https://github.com/pvvx/ATC_MiThermometer Average consumption 17 μA (ATC - 19). Polling of all sensor every 10..11...
Current consumption in the optimized version: CR2032 - Start 3.314V 200 mAh. Adv.Interval ~1.9 sec (3000*0.625 = 1875 ms) Measured average consumption (1 h, 3.3V): 17.4 uA 200/0.0174/24/30.5 = **15.7025...
> Need to buid your Power meter so i can meassure such thinks as well, do you have it documented somewhere? For debugging I use: https://github.com/pvvx/UBIA/tree/master/PowerProfiler 
Chrome, USB-COM navigator.serial (experimental-web-platform-features) https://github.com/pvvx/UBIA/blob/master/WebSerialUSB/tst_wso_adcs_GY-169_power_BLE.gif Сan write a USB-COM programmer (com-sws) for Chrome and similar explorer...
> Will definitely adapt your changes to make the power consumption go down, or do you want to create a PR? I just shared information. I don’t create final custom...
Power Consumption my new testing (if 2 sec update LCD, measure 10 sec): Advertising Interval 2 sec - 17..18 uA Connection (16,16, 99, 800 -> real interval 2 sec, 3...
Maybe. But for the test, relative values are used - comparison with the original. And less needs to be done. CR2032 also has internal resistance. And operating voltage range device...