Camera "stabilization" with attiny85 + LSM303DLHC

As a small proof of concept (stuborness about attiny tiny core capabilities) I made a small camera stabilizer using a Attiny85 and LSM303DLHC breakout board. 

To achieve this I needed to adapt an existing LSM303DLHC library to be used with the Attiny, and use a low pass filter with a very low alpha to clean out most of the accelerometer noise.

Follow the links for code and "how to"

 

https://www.youtube.com/watch?v=gavE81E1uQI