Narcoleptic library by Peter Knight
Caveats:
Library implementing sleep modes, allowing extremely low power consumption on Arduino based projects.
Narcoleptic
uses the sleep functionality of the AVR microcontroller to almost
completely shut down the entire CPU, just leaving a low power timer
running to trigger the wake up.
Extract the download, and install
in your Arduino Libraries directory. Restart Arduino and you will see
the Narcoleptic library appear in the menus.
Syntax:
Narcoleptic.delay( time in milliseconds )
Note
that Narcoleptic timings are only accurate to a few percent. Whilst
sleeping, everything is stopped - including PWM outputs, the millis()
timer, serial ports - everything. So code with this in mind.
Showing posts with label power save. Show all posts
Showing posts with label power save. Show all posts
Tuesday, October 23, 2012
Tuesday, December 1, 2009
Arduino watchdog and sleep functions
Make use of the Watchdog and Sleep functions provided by the ATMEGA 168 chip . These functions are useful if you want to build low power consuming devices operated by battery or solar power
Subscribe to:
Posts (Atom)