-55-
v6.3
Energy System
Hibernate mode requires the hibernate switch to be turned off correctly. It is necessary to follow the next steps when executing
the program for first time after uploading it to Waspmote:
1. Connect the battery
2. Switch Waspmote on.
3. Wait for the red led to light on and turn off the “Hibernate switch” while the red led is on.
4. Once the “Hibernate switch” is off, the green led must blink to indicate the program is running.
The following example would set Waspmote in the Hibernate mode for 2 days, 1 hour and 30 minutes. The microcontroller
would be switched off waiting for the RTC to switch the device on again with a synchronous interruption.
{
PWR.hibernate(“02:01:30:00”, RTC_OFFSET, RTC_ALM1_MODE2);
}
Note:
when the hibernate switch is off, RTC alarms must only be used to set the wake up from hibernate. See more details in the
Programming Guides for the RTC and Power Modes.
Related API libraries:
WaspPWR.h
,
WaspPWR.cpp
All information about the programming and operation of sleep modes can be found in the document:
Energy and Power
Programming Guide.
All the documentation is located in the
in the Libelium website.
Содержание Waspmote
Страница 1: ...Waspmote Technical Guide ...
Страница 11: ... 11 v6 3 Waspmote Kit Connect the battery in Waspmote Connect the sensor board Switch it on ...
Страница 59: ... 59 v6 3 Sensors Vibration Acceleration Free fall ...
Страница 79: ... 79 v6 3 LoRa Figure Channel frequencies in the 868MHz band Figure Channel frequencies in the 900MHz band ...
Страница 98: ... 98 v6 3 RFID NFC ...