Skip to content

Commit

Permalink
docs (power): remove HTML and convert content to only markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
sayanee committed Apr 11, 2024
1 parent 9e5e673 commit 2e38bb8
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 104 deletions.
2 changes: 1 addition & 1 deletion _includes
Submodule _includes updated 1 files
+36 −5 head.html
2 changes: 1 addition & 1 deletion _layouts
Submodule _layouts updated 1 files
+7 −1 power.html
145 changes: 43 additions & 102 deletions power.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,107 +15,48 @@ power:
charging_instruction: Plug in the USB cable to charge. <code>Yellow</code> LED will be on while it is charging.
---

<section class="section is-small">
<div class="container">
<h2 class="title is-1">Power consumption of main components</h2>
<table class="table is-fullwidth">
<thead>
<tr>
<th>Chip #</th>
<th>Chip</th>
<th>Operating Voltage</th>
<th>Advertising mode (<code>152.5ms</code>)</th>
<th>Transmission mode</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="https://www.adafruit.com/product/3406">nRF52832</a></td>
<td>BLE + MCU</td>
<td><code>1.7v</code> to <code>3.3v</code></td>
<td><code>60 µA</code></td>
<td><code>216 µA</code></td>
</tr>
<tr>
<td><a href="https://www.vishay.com/docs/84304/veml6075.pdf">VEML6075</a></td>
<td>UV Sensor</td>
<td><code>1.7V</code> to <code>3.6V</code></td>
<td></td>
<td><code>480uA</code> at <code>1.8V</code></td>
</tr>
</tbody>
</table>
</div>
</section>
# Power consumption of main components

<section class="section is-small">
<div class="container">
<h2 class="title is-1">Power calculation</h2>
<h3 class="title is-3">Advertising Mode</h3>
<p class="subtitle">From <a href="https://devzone.nordicsemi.com/nordic/power">online power profiler</a></p>
<div class="content">
<ul>
<li>Chip <code>nRF52832</code></li>
<li>Voltage <code>3.3V</code></li>
<li>Radio TX Power <code>0dBm</code></li>
<li>Role: Advertising (Connectable)</li>
<li>TX payload (Byte)<code>0 byte</code></li>
<li>Advertising interval (ms): <code>152.5 ms</code> as recommended in <a href="https://developer.apple.com/library/archive/qa/qa1931/_index.html">Apple developer guide</a></li>
<li><code>120mAh</code> battery capacity</li>
</ul>
<img src="{{site.url}}/images/online-profiler-advertising.png" alt="Online profiler">
<h3 class="title is-3">Transmission Mode</h3>
<p class="subtitle">From <a href="https://devzone.nordicsemi.com/nordic/power">online power profiler</a></p>
<div class="content">
<ul>
<li>Voltage <code>3.3V</code></li>
<li>Role: Connection (peripheral)</li>
<li><code>3 byte</code> TX payload</li>
<li>Connection interval (ms): <code>1000 ms</code></li>
</ul>
<img src="{{site.url}}/images/online-profiler-peripheral.png" alt="Online profiler">
</div>
<h3 class="title is-3">Summary</h3>
<div class="content">
<ul>
<li>If transmitting 100% of the time: ~781 days</li>
<li>If advertising 100% of the time: ~83 days</li>
<li>if CPU running 100% of the time: ~12.5 hours</li>
</ul>
</div>
</div>
</div>
</section>
| Chip # | Chip | Operating Voltage | Advertising mode (`152.5ms`) | Transmission mode |
|--------|------|------------------|-----------------------------|-------------------|
| [nRF52832](https://www.adafruit.com/product/3406) | BLE + MCU | `1.7v` to `3.3v` | `60 µA` | `216 µA` |
| [VEML6075](https://www.vishay.com/docs/84304/veml6075.pdf) | UV Sensor | `1.7V` to `3.6V` | | `480uA` at `1.8V` |

<section class="section is-small">
<div class="container">
<h2 class="title is-1">Other potential batteries</h2>
<table class="table is-fullwidth">
<thead>
<tr>
<th>Name</th>
<th>Capacity</th>
<th>Voltage</th>
<th>Dimension</th>
<th>Buy from</th>
</tr>
</thead>
<tbody>
<tr>
<td>CR2450</td>
<td><code>120mAh</code></td>
<td><code>3.6V</code></td>
<td><code>4cm</code> x <code>2cm</code>x <code>2cm</code></td>
<td><a href="https://www.aliexpress.com/item/Rainpro-2PCS-LOT-LIR2450-horizontal-welding-foot-battery-3-6V-rechargeable-coin-cell-battery-charging-2450/32853897751.html?spm=2114.search0104.3.8.189ed9beMuzTzf&ws_ab_test=searchweb0_0,searchweb201602_6_10065_10068_319_10059_10884_317_10887_10696_321_322_10084_453_10083_454_10103_10618_10307_537_536,searchweb201603_52,ppcSwitch_0&algo_expid=48ce131f-0f3b-433f-9bb9-f5874e08c121-1&algo_pvid=48ce131f-0f3b-433f-9bb9-f5874e08c121&transAbTest=ae803_4">AliExpress</a></td>
</tr>
<tr>
<td>LiPo</td>
<td><code>380mAh</code></td>
<td><code>3.7V</code></td>
<td><code>37mm</code> x <code>19mm</code> x <code>8mm</code></td>
<td><a href="https://www.aliexpress.com/item/Limskey-3-7V-380mAh-25C-Lipo-Battery-for-For-Hubsan-X4-H107-H107L-H107D-JD385-JD388/32846516934.html?spm=2114.search0103.3.69.12983204ovX5ra&ws_ab_test=searchweb0_0,searchweb201602_6_10065_10068_319_10059_10884_317_10887_10696_321_322_10084_453_10083_454_10103_10618_10307_537_536,searchweb201603_52,ppcSwitch_0&algo_expid=067ab389-d2ff-4f23-98e8-7aef2b13aeef-9&algo_pvid=067ab389-d2ff-4f23-98e8-7aef2b13aeef&transAbTest=ae803_4">AliExpress</a></td>
</tr>
</tbody>
</table>
</div>
</section>
# Power calculation

## Advertising Mode

From [online power profiler](https://devzone.nordicsemi.com/nordic/power)

- Chip `nRF52832`
- Voltage `3.3V`
- Radio TX Power `0dBm`
- Role: Advertising (Connectable)
- TX payload (Byte) `0 byte`
- Advertising interval (ms): `152.5 ms` as recommended in [Apple developer guide](https://developer.apple.com/library/archive/qa/qa1931/_index.html)
- `120mAh` battery capacity

![Online profiler]({{site.url}}/images/online-profiler-advertising.png)

## Transmission Mode
From [online power profiler](https://devzone.nordicsemi.com/nordic/power)

- Voltage `3.3V`
- Role: Connection (peripheral)
- `3 byte` TX payload
- Connection interval (ms): `1000 ms`

![Online profiler]({{site.url}}/images/online-profiler-peripheral.png)

## Summary

- If transmitting 100% of the time: `~781 days`
- If advertising 100% of the time: `~83 days`
- If CPU running 100% of the time: `~12.5 hours`

## Other potential batteries

| Name | Capacity | Voltage | Dimension | Buy from |
|------|----------|---------|-----------|----------|
| CR2450 | `120mAh` | `3.6V` | `4cm` x `2cm` x `2cm` | [AliExpress](https://www.aliexpress.com/item/Rainpro-2PCS-LOT-LIR2450-horizontal-welding-foot-battery-3-6V-rechargeable-coin-cell-battery-charging-2450/32853897751.html?spm=2114.search0104.3.8.189ed9beMuzTzf&ws_ab_test=searchweb0_0,searchweb201602_6_10065_10068_319_10059_10884_317_10887_10696_321_322_10084_453_10083_454_10103_10618_10307_537_536,searchweb201603_52,ppcSwitch_0&algo_expid=48ce131f-0f3b-433f-9bb9-f5874e08c121-1&algo_pvid=48ce131f-0f3b-433f-9bb9-f5874e08c121&transAbTest=ae803_4) |
| LiPo | `380mAh` | `3.7V` | `37mm` x `19mm` x `8mm` | [AliExpress](https://www.aliexpress.com/item/Limskey-3-7V-380mAh-25C-Lipo-Battery-for-For-Hubsan-X4-H107-H107L-H107D-JD385-JD388/32846516934.html?spm=2114.search0103.3.69.12983204ovX5ra&ws_ab_test=searchweb0_0,searchweb201602_6_10065_10068_319_10059_10884_317_10887_10696_321_322_10084_453_10083_454_10103_10618_10307_537_536,searchweb201603_52,ppcSwitch_0&algo_expid=067ab389-d2ff-4f23-98e8-7aef2b13aeef-9&algo_pvid=067ab389-d2ff-4f23-98e8-7aef2b13aeef&transAbTest=ae803_4) |

0 comments on commit 2e38bb8

Please sign in to comment.