You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/learn/04.electronics/07.low-power/low-power.md
+11-9Lines changed: 11 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,14 +3,14 @@ title: 'The Arduino Guide to Low Power Design'
3
3
description: 'Learn the basics of low-power design using Arduino hardware and software.'
4
4
tags:
5
5
- Low Power
6
-
- LoRa®
6
+
- LoRa® Technology
7
7
- Voltage Detection
8
8
author: 'Taddy Chung, José Bagur'
9
9
---
10
10
11
11
The objective of **Low Power** is to reduce the device’s power consumption by controlling its behavior to extend its operation lifetime. Electronic devices fed directly from a power source usually do not require the implementation of Low Power or similar techniques to extend their life. On the other hand, it is necessary to save its power consumption to expand its operation lifetime for the devices running from a power source such as batteries.
12
12
13
-
The present guide for achieving low power system are applicable for every Arduino boards. For example, [Arm Cortex-M0 32-bit SAMD21](https://content.arduino.cc/assets/mkr-microchip_samd21_family_full_datasheet-ds40001882d.pdf) processor based Arduino boards can take advantage of low-power features. The Arduino SAMD21 boards with wireless protocol with LoRaWAN® network capability, with module as [Murata CMWX1ZZABZ](https://content.arduino.cc/assets/mkrwan1310-murata_lora_module-type_abz.pdf) featured from [MKR WAN 1310](https://docs.arduino.cc/hardware/mkr-wan-1310), can be combined with low power features to operate for an extensive period. With advanced techniques, such tools as power source guide and self-discharge rates design applies to every Arduino boards for designing power efficient systems. You can check out [Arduino Documentation Hardware](https://docs.arduino.cc/) page to find out about Arduino boards.
13
+
The present guide for achieving low power system are applicable for every Arduino boards. For example, [Arm Cortex-M0 32-bit SAMD21](https://content.arduino.cc/assets/mkr-microchip_samd21_family_full_datasheet-ds40001882d.pdf) processor based Arduino boards can take advantage of low-power features. The Arduino SAMD21 boards with wireless protocol using LoRa® technology, with module as [Murata CMWX1ZZABZ](https://content.arduino.cc/assets/mkrwan1310-murata_lora_module-type_abz.pdf) featured from [MKR WAN 1310](https://docs.arduino.cc/hardware/mkr-wan-1310), can be combined with low power features to operate for an extensive period. With advanced techniques, such tools as power source guide and self-discharge rates design applies to every Arduino boards for designing power efficient systems. You can check out [Arduino Documentation Hardware](https://docs.arduino.cc/) page to find out about Arduino boards.
14
14
15
15
## Low Power Library
16
16
@@ -28,8 +28,6 @@ To learn more about the Arduino IDE, follow the links below:
28
28
-[Arduino IDE 1](https://docs.arduino.cc/software/ide-v1)
29
29
-[Arduino IDE 2](https://docs.arduino.cc/software/ide-v2)
30
30
31
-
32
-
33
31
## Low-Power Design Techniques
34
32
35
33
There are several different options to reduce the power consumption in microcontrollers:
Callback functions are to be used when the system wakes up from sleep state via configured interruption. In this function, and as an entire software architecture, usually it is a good practice to avoid using delay() and long running functions. This is to avoid what is called **Blocking Operation** and to be designed in **Non-Blocking Operation** fashion, which very helpful for this types of design cases. In this instances, this will help design power efficient system in parallel being a responsive system.
272
270
273
-
### LoRa Transmitter With Low Power Example
271
+
### Low Power Example Using LoRa® Technology Transmitter
274
272
275
273
- Hardware Needed: MKR WAN 1300/1310 (On-Board Murata Module)
276
274
277
-
***Extended detail and example about LoRa® using MKR WAN 1310 with its Murata Module, please check [Send Data Using LoRa® with MKR WAN 1310](https://docs.arduino.cc/tutorials/mkr-wan-1310/lora-send-and-receive)***
275
+
***For extended detail and example about LoRa® Technology using MKR WAN 1310 with its Murata Module, please [this documentation](https://docs.arduino.cc/tutorials/mkr-wan-1310/lora-send-and-receive)***
278
276
279
277
This example shows MKR WAN1300/1310 as a remote transmitter device that sends alive beacon status message periodically. This is to simulate a device broadcasting beacon data every certain amount of time and requires extensive operation lifetime. The receiver device will be stationary as reception tower. The remote transmitter device will have the SAMD21 go into sleep state, but also the On-Board Murata module to remove unnecessary power consumption.
280
278
281
-
***For more information on the LoRa library, please visit the [Arduino LoRa](https://github.com/sandeepmistry/arduino-LoRa) repository on GitHub.***
279
+
***For more information on the `LoRa` library, please refer to [this library](https://github.com/sandeepmistry/arduino-LoRa) repository on GitHub.***
282
280
283
281
```arduino
284
282
// Low Power Library
@@ -334,7 +332,7 @@ void GoToSleep(){
334
332
335
333
It is important to know that the Low Power task applies only to microcontroller. This means that external modules such as Murata module we used here, found on MKR WAN 1310 board, must be coded in the task separately to make the module go into sleep state.
336
334
337
-
***If external modules such as Murata (LoRa) Module and sensors are to be used, please remember to put into sleep state before making the MCU go into sleep. Otherwise the device will not go into complete sleep state and maximum power saving will not be possible. This includes turning off for example peripheral interfaces such as TWI and SPI.***
335
+
***If external modules such as Murata (LPWAN) Module and sensors are to be used, please remember to put into sleep state before making the MCU go into sleep. Otherwise the device will not go into complete sleep state and maximum power saving will not be possible. This includes turning off for example peripheral interfaces such as TWI and SPI.***
338
336
339
337
### Simple Low Voltage Detection Example
340
338
@@ -695,4 +693,8 @@ void setup ()
695
693
void loop () { }
696
694
```
697
695
698
-
***To read more about the Low Power systems topic In-Depth, you can check the following link: https://www.gammon.com.au/power***
696
+
***To read more about the Low Power systems topic In-Depth, you can check the following link: https://www.gammon.com.au/power***
697
+
698
+
## Trademark Acknowledgments
699
+
700
+
-**LoRa®** is a registered trademark of Semtech Corporation.
0 commit comments