February 2014
I finally picked up the
bike data logger
again and added a 10def breakout board.
I thought it would be relatively easy to filter the accelerometer signal and derive bike inclination,
but there is so much road vibration it's going to need a pretty cunning algorithm to sort that one out.
I've even added the gyro signal via a
Kalman filter algorithm
I found on the web so I can show heading by
tilt compensating
the magnetometer. But it's the same challenge, filtering...
Calibrating all three sensors correctly is key too.
Meanwhile I have found a useful way to reference the
vBattery ADC using the
328's internal reference quoted by
Hardware Hacking, which
I'll include in the logger code at some point.