Fons:
On Thu, Mar 04, 2010 at 11:39:40AM +0000, Jonathan
Gazeley wrote:
Nick Copeland suggested simulating the force
applied to the pedals by
calculating the rate of change of the cadence. I reckon that might do
the trick.
It doesn't. Just consider going uphill 5% or downhill 5% at
the same and constant cadence. Makes some difference to your
legs and to a motor.
Well, then you need an accelerometer [1]. [2] is said to be in the
iPhone, but you probably want something easier to solder.
With it you could get the inclination angle and then get the applied
force. If you do it right you could even get a crashing sound when
falling...
Regards,
/Karl
[1]
http://en.wikipedia.org/wiki/Accelerometer
[2]
http://www.st.com/stonline/products/literature/ds/12726/lis302dl.htm
-----------------------------------------------------------------------
Karl Hammar Aspö Data karl(a)aspodata.se
Lilla Aspö 148 Networks
S-742 94 Östhammar +46 173 140 57 Computers
Sweden +46 70 511 97 84 Consulting
-----------------------------------------------------------------------