Hi!
I've been wanting to wake up an attiny85 on movement detected by the adxl345.
The problem I'm facing is that the adxl345 doesn't differentiate between "external" forces and gravity and in my use case (a bike light) it won't be possible to mount the sensor perfectly (or even roughly) perpendicular to the ground to separate the gravity values.
As a result I don't know how I can detect movement without using the attiny to calculate the sum of forces (which is problematic as I want it to sleep).
Is it just not possible with the adxl345? If so, is there any other sensor that will better fit my needs?