Wake on shake
Have you ever wanted your project to just "hibernate" until someone picks it up or moves it? It's a great strategy for dramatically extending the battery life of a widget that doesn't need to be active all the time. The Wake-on-Shake board is designed to make it really simple to do just that!
The Wake-on-Shake, based on a concept by Nitzan Gadish of Analog Devices, combines the ATTiny2313A with the ADXL362 low-power MEMS accelerometer to cut power to your project for long periods of time, all the while waiting for a shake or a bump and sipping <2uA at 3.7V! With power consumption that low, the limiting factor for lifespan in most devices will be aging-related self-discharge of the batteries.
The board is easy to use, you basically connect it as a power switch between your device and a power source (2.0-5.5V). By default, the board will activate the load when it experiences a mild bump or tilt; the load will be powered for 5 seconds after that. Using a serial data connection, the sensitivity can be increased or decreased, as can the delay time. Additionally, the “WAKE” pin allows the load to control when it goes back to sleep. By pulling the wake signal high (to at least 2.7V), the load will remain energized until it releases the pin.
Note: While it is possible to connect the load to the on-board serial port, allowing the load to access the ADXL362 and EEPROM storage of the ATTiny2313A, caution must be exercised when doing this to avoid sourcing current to the load through the serial port data lines on the ATTiny2313A, which could damage the ATTiny2313A as well as causing excessive off-state power dissipation.