摘要
为了控制Arduino的随机睡眠与唤醒,不采用"预定睡眠-随机唤醒"的常规设计模式,而是通过一个外部中断随机使Arduino进入睡眠,并且通过同一个外部中断随机唤醒Arduino。首先使用开源Enerlib和LowPower库对Arduino Pro Mini进行实验,然后应用于实际的工程设计中,取得了很好的效果。该方法可以作为成熟的方案推广到工程设计的实际应用当中。
In order to control the random sleep and wake-up of the Arduino,instead of "scheduled sleep-random wake-up" of the conven- tional design mode,an external interrupt is used to make the Arduino into sleep,and then the same external interrupt is used to random wake-up the Arduino. First,the open source Enerlib and LowPower library are used to test the Pro Mini Arduino, and then it is applied to the practical engineering design. It works fine,and the method can be used as a mature solution in the application of engineering design.
出处
《单片机与嵌入式系统应用》
2015年第11期8-10,14,共4页
Microcontrollers & Embedded Systems
基金
山东省高校证据鉴识重点实验室开放课题(信息隐蔽技术鉴定研究
KFKT-201410)