Skip to content

Commit 0268c21

Browse files
authored
Merge pull request #1731 from arduino/Hannes7eicher/Power-Consumption-Article-Unlist
Add Power Consumption Article
2 parents 81f72f5 + 9a90730 commit 0268c21

File tree

6 files changed

+7
-29
lines changed

6 files changed

+7
-29
lines changed

content/_unlisted/11.power-consumption/power-consumption.md renamed to content/learn/04.electronics/11.power-consumption/power-consumption.md

Lines changed: 7 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -72,24 +72,23 @@ The profiler we used is the [Power Profiler Kit II](https://www.nordicsemi.com/P
7272

7373
![Connect the power profiler to the board.](./assets/circuit.png)
7474

75-
**_Important note! In the software setup, you enable the "Power Output" of the power profiler. Make sure that the voltage (3.3 V or 5 V) matches the voltage on the power pin of the board. Applying 5 V to a 3.3 V pin will damage your board._**
75+
***Important note! In the software setup, you enable the "Power Output" of the power profiler. Make sure that the voltage (3.3 V or 5 V) matches the voltage on the power pin of the board. Applying 5 V to a 3.3 V pin will damage your board.***
7676

7777
## Power Consumption Test
7878

7979
With the hardware and software set up, let's take a look at how to record the power consumption of your device.
8080

81-
1. Open the **nRF Desktop App**
82-
2. instructions for setting up the PP
83-
3. Enable the power output, by clicking the "Enable Power Output" option.
81+
1. Open the **nRF Desktop App**.
82+
2. Enable the power output, by clicking the "Enable Power Output" option.
8483

8584
![Enable power output.](./assets/powerOutput.png)
8685

87-
4. Select sample period (60 seconds) and number of samples (100k).
88-
5. Click on "Begin Sampling" to start the power consumption test.
86+
3. Select sample period (60 seconds) and number of samples (100k).
87+
4. Click on "Begin Sampling" to start the power consumption test.
8988

9089
![Start sampling.](./assets/startSampling.png)
9190

92-
6. During the test, you can see the power consumption in real-time. After 60 seconds (or when the specified sample period ends), you will have the data, which includes the **max** and **avg** consumption. You can also zoom in to view the data.
91+
5. During the test, you can see the power consumption in real-time. After 60 seconds (or when the specified sample period ends), you will have the data, which includes the **max** and **avg** consumption. You can also zoom in to view the data.
9392

9493
![Power consumption data.](./assets/consumption.png)
9594

@@ -125,20 +124,6 @@ In the table below, you can see the results of each board tested with the sketch
125124
The **Arduino Cloud Basic** sketch sends sensor data to the Arduino Cloud and turns on the built-in LED whenever activated from a dashboard.
126125

127126
```arduino
128-
/*
129-
Sketch generated by the Arduino IoT Cloud Thing "Cloud Blink"
130-
131-
Arduino IoT Cloud Variables description
132-
133-
The following variables are automatically generated and updated when changes are made to the Thing
134-
135-
bool led;
136-
137-
Variables which are marked as READ/WRITE in the Cloud Thing will also have functions
138-
which are called when their values are changed from the Dashboard.
139-
These functions are generated with the Thing and added at the end of this sketch.
140-
*/
141-
142127
#include "thingProperties.h"
143128
144129
void setup() {
@@ -153,13 +138,6 @@ void setup() {
153138
// Connect to Arduino IoT Cloud
154139
ArduinoCloud.begin(ArduinoIoTPreferredConnection);
155140
156-
/*
157-
The following function allows you to obtain more information
158-
related to the state of network and IoT Cloud connection and errors
159-
the higher number the more granular information you’ll get.
160-
The default is 0 (only errors).
161-
Maximum is 4
162-
*/
163141
setDebugMessageLevel(2);
164142
ArduinoCloud.printDebugInfo();
165143
pinMode(LED_BUILTIN, OUTPUT);
@@ -191,4 +169,4 @@ In the table below, you can see the results of each board tested with the sketch
191169

192170
## Summary
193171

194-
In this guide, we have learned how to use a power profiler to record power consumption data. This is an incredibly good utility, as it helps you identify the power needs of your application, which can aid your decision in selecting the right power source.
172+
In this guide, we have learned how to use a power profiler to record power consumption data from an Arduino board. This is an great utility, as it can help you identify the power requirements of your application, helping your decision in selecting the right power source.

0 commit comments

Comments
 (0)