Example: enable sleep mode
In this example, you will learn how to use sleep mode to extend the battery life of an XBee module in the context of the greenhouse example explained earlier. Note that since the kit does not include a temperature sensor, you will use the potentiometer that is already connected to the board. One of the modules will sleep for nine seconds, wake for one second to obtain and send the temperature value, and repeat that pattern. The cycle will continue until sleep mode is deactivated.
Note
Tip Several steps contain videos to help you successfully complete the example. If you get stuck, go to the Troubleshooting links at the end of the example.
PDF
