Excerpt | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
The uC/OS-II library shipped with the
You Your application is not aware of these optimizations. In particular, your application does not have to do anything for the chip to go into low-power state, since this is handled entirely by the uC/OS-II library. |
...
Very often, your application will collect small samples from sensors, possibly only a handful of bytes for each sample.
Tip | ||
---|---|---|
| ||
We For applications collecting data frequently, we recommend that you group several sensor readings into a large packet be grouped into larger packets (which you send infrequently) , rather than frequently sending a small packetif at all possible. Sending packets into the network as infrequently as possible will minimize the amount of power used. |
For example, if your application collects a 2-byte reading from a flow sensor every second, we recommend you cache those readings, and send a packet with 80 bytes of application payload every 40 seconds, rather than sending one packet with 2 bytes of application payload every second.
...
Tip |
---|
Enable the battery load resistors only strictly when needed. |