@Hypermiler
Cool, nice to see my project is still being reused.
@Gabertzz
Sorry I didn't get back to you sooner, I don't monitor this thread.
Here's the link to the accelerometer I used:
The code is self explanatory, I think, but if anyone needs a schematic PM/email me and I'll draw one up.