WiFi Door Sensor
Table
| Mode | Runtime range |
|---|---|
| WiFi, 2 s event | about 154-199 days |
| BLE conservative, 2 s event | about 297-546 days |
| BLE optimized, 0.2 s event | about 1453-2191 days |
Table
| WiFi scenario | Datasheet condition | Current used |
|---|---|---|
| WiFi low | 802.11n HT20 MCS7 @ 17.5 dBm | 290 mA |
| WiFi mid | 802.11g 54 Mbps @ 18 dBm | 295 mA |
| WiFi high | 802.11b 1 Mbps @ 20.5 dBm | 350 mA |
Table
| BLE scenario | Datasheet condition | Current used |
|---|---|---|
| BLE low | Bluetooth LE @ -15 dBm | 100 mA |
| BLE mid | Bluetooth LE @ 0 dBm | 170 mA |
| BLE high | Bluetooth LE @ 9 dBm | 190 mA |
| BLE max note | Bluetooth LE @ 20 dBm | 340 mA |
| BLE RX | Bluetooth LE RX | 86 mA |
Table
| Parameter | Value |
|---|---|
| ESP32-C3 deep sleep | 5 µA typ |
| TPS613221A quiescent current into VOUT | 6.5 µA typ |
| Base sleep current at 3.3 V | 11.5 µA |
| R2 reed pull-up | 1 MΩ |
| R2 conducting current | 3.3 µA |
| AA capacities shown | 1500 / 2000 / 2500 mAh |
| Runtime conversion voltage | 1.5 V nominal AA |
| Boost output | 3.3 V |
| LED | Off in normal operation |
Table
| Mode | Event time assumption | Why |
|---|---|---|
| WiFi | 2.0 s per open/close report | Matches previous WiFi report assumption. |
| BLE conservative | 2.0 s per open/close report | Apples-to-apples with WiFi active duration. |
| BLE optimized | 0.2 s per open/close report | More realistic for a local BLE hub if advertising/connection/notification is optimized. |
Table
| Mode | Sleep case | TX current | Event time | Active mAh/day | Sleep mAh/day | Total mAh/day | Runtime @ 2000 mAh |
|---|---|---|---|---|---|---|---|
| WiFi low | base sleep | 290 mA | 2.0 s | 9.452 | 0.607 | 10.059 | 199 d / 0.54 y |
| WiFi low | with R2 | 290 mA | 2.0 s | 9.452 | 0.781 | 10.233 | 195 d / 0.54 y |
| WiFi mid | base sleep | 295 mA | 2.0 s | 9.615 | 0.607 | 10.222 | 196 d / 0.54 y |
| WiFi mid | with R2 | 295 mA | 2.0 s | 9.615 | 0.781 | 10.396 | 192 d / 0.53 y |
| WiFi high | base sleep | 350 mA | 2.0 s | 12.222 | 0.607 | 12.829 | 156 d / 0.43 y |
| WiFi high | with R2 | 350 mA | 2.0 s | 12.222 | 0.781 | 13.003 | 154 d / 0.42 y |
| BLE conservative -15 dBm | base sleep | 100 mA | 2.0 s | 3.056 | 0.607 | 3.662 | 546 d / 1.50 y |
| BLE conservative -15 dBm | with R2 | 100 mA | 2.0 s | 3.056 | 0.781 | 3.837 | 521 d / 1.43 y |
| BLE conservative 0 dBm | base sleep | 170 mA | 2.0 s | 5.328 | 0.607 | 5.935 | 337 d / 0.92 y |
| BLE conservative 0 dBm | with R2 | 170 mA | 2.0 s | 5.328 | 0.781 | 6.109 | 327 d / 0.90 y |
| BLE conservative 9 dBm | base sleep | 190 mA | 2.0 s | 5.954 | 0.607 | 6.561 | 305 d / 0.84 y |
| BLE conservative 9 dBm | with R2 | 190 mA | 2.0 s | 5.954 | 0.781 | 6.735 | 297 d / 0.81 y |
| BLE conservative 20 dBm max | base sleep | 340 mA | 2.0 s | 11.873 | 0.607 | 12.480 | 160 d / 0.44 y |
| BLE conservative 20 dBm max | with R2 | 340 mA | 2.0 s | 11.873 | 0.781 | 12.654 | 158 d / 0.43 y |
| BLE optimized -15 dBm | base sleep | 100 mA | 0.2 s | 0.306 | 0.607 | 0.913 | 2191 d / 6.00 y |
| BLE optimized -15 dBm | with R2 | 100 mA | 0.2 s | 0.306 | 0.781 | 1.087 | 1840 d / 5.04 y |
| BLE optimized 0 dBm | base sleep | 170 mA | 0.2 s | 0.533 | 0.607 | 1.140 | 1754 d / 4.81 y |
| BLE optimized 0 dBm | with R2 | 170 mA | 0.2 s | 0.533 | 0.781 | 1.314 | 1522 d / 4.17 y |
| BLE optimized 9 dBm | base sleep | 190 mA | 0.2 s | 0.595 | 0.607 | 1.203 | 1663 d / 4.56 y |
| BLE optimized 9 dBm | with R2 | 190 mA | 0.2 s | 0.595 | 0.781 | 1.377 | 1453 d / 3.98 y |
| BLE optimized 20 dBm max | base sleep | 340 mA | 0.2 s | 1.187 | 0.607 | 1.794 | 1115 d / 3.05 y |
| BLE optimized 20 dBm max | with R2 | 340 mA | 0.2 s | 1.187 | 0.781 | 1.969 | 1016 d / 2.78 y |
Table
| Level | Sleep case | WiFi mAh/day | BLE optimized mAh/day | Improvement factor |
|---|---|---|---|---|
| Low: WiFi low vs BLE -15 dBm | base sleep | 10.059 | 0.913 | 11.02x |
| Low: WiFi low vs BLE -15 dBm | with R2 | 10.233 | 1.087 | 9.41x |
| Mid: WiFi mid vs BLE 0 dBm | base sleep | 10.222 | 1.140 | 8.97x |
| Mid: WiFi mid vs BLE 0 dBm | with R2 | 10.396 | 1.314 | 7.91x |
| High: WiFi high vs BLE 9 dBm | base sleep | 12.829 | 1.203 | 10.67x |
| High: WiFi high vs BLE 9 dBm | with R2 | 13.003 | 1.377 | 9.44x |
Table
| Cycles/day | Sleep case | Case | Runtime range |
|---|---|---|---|
| 2 | base sleep | WiFi 2 s low-mid-high | 492-1001 d / 1.35-2.74 y |
| 2 | base sleep | BLE conservative 2 s -15/0/9 dBm | 834-2052 d / 2.29-5.62 y |
| 2 | base sleep | BLE optimized 0.2 s -15/0/9 dBm | 2065-3741 d / 5.66-10.25 y |
| 2 | with R2 | WiFi 2 s low-mid-high | 465-936 d / 1.27-2.56 y |
| 2 | with R2 | BLE conservative 2 s -15/0/9 dBm | 761-1795 d / 2.08-4.92 y |
| 2 | with R2 | BLE optimized 0.2 s -15/0/9 dBm | 1666-2967 d / 4.56-8.13 y |
| 5 | base sleep | WiFi 2 s low-mid-high | 223-469 d / 0.61-1.28 y |
| 5 | base sleep | BLE conservative 2 s -15/0/9 dBm | 418-1171 d / 1.15-3.21 y |
| 5 | base sleep | BLE optimized 0.2 s -15/0/9 dBm | 1658-3290 d / 4.54-9.01 y |
| 5 | with R2 | WiFi 2 s low-mid-high | 218-454 d / 0.60-1.24 y |
| 5 | with R2 | BLE conservative 2 s -15/0/9 dBm | 399-1083 d / 1.09-2.97 y |
| 5 | with R2 | BLE optimized 0.2 s -15/0/9 dBm | 1390-2676 d / 3.81-7.33 y |
| 10 | base sleep | WiFi 2 s low-mid-high | 117-249 d / 0.32-0.68 y |
| 10 | base sleep | BLE conservative 2 s -15/0/9 dBm | 229-683 d / 0.63-1.87 y |
| 10 | base sleep | BLE optimized 0.2 s -15/0/9 dBm | 1247-2739 d / 3.42-7.50 y |
| 10 | with R2 | WiFi 2 s low-mid-high | 115-244 d / 0.32-0.67 y |
| 10 | with R2 | BLE conservative 2 s -15/0/9 dBm | 223-652 d / 0.61-1.79 y |
| 10 | with R2 | BLE optimized 0.2 s -15/0/9 dBm | 1089-2300 d / 2.98-6.30 y |
| 20 | base sleep | WiFi 2 s low-mid-high | 60-128 d / 0.16-0.35 y |
| 20 | base sleep | BLE conservative 2 s -15/0/9 dBm | 120-372 d / 0.33-1.02 y |
| 20 | base sleep | BLE optimized 0.2 s -15/0/9 dBm | 834-2052 d / 2.29-5.62 y |
| 20 | with R2 | WiFi 2 s low-mid-high | 59-127 d / 0.16-0.35 y |
| 20 | with R2 | BLE conservative 2 s -15/0/9 dBm | 118-363 d / 0.32-0.99 y |
| 20 | with R2 | BLE optimized 0.2 s -15/0/9 dBm | 761-1795 d / 2.08-4.92 y |
Summary
Datasheet currents used
WiFi TX currents
BLE TX currents
Sleep and boost converter assumptions
Event assumptions
Practical comparison: 2000 mAh AA, 10 cycles/day
BLE optimized improvement factor vs WiFi, 10 cycles/day
Runtime ranges across all AA capacities
Interpretation
If BLE event time is still 2 seconds
If BLE hub enables short local reporting
Hardware implications
Recommendation