I am attempting to put together a simple program to vary the timing of the fade of an LED to the velocity of a biker. aka the faster they bike the faster the LED fades in and out. I'm pretty new to programming and Arduino is this do able?
I think what I have to do is some hoe integrate the data coming out of the accelerometer but I'm not sure exactly how to do this. Does anyone have a simple tutorial I could go through?
I'm mounting the accelerometer to the person's arm with the x-axis facing forward. Do I need more than one axis if I'm only interested in linear movement forward? One of my issues is I'm not positive what the datat I'm getting is telling me.
One of my issues is I'm not positive what the datat I'm getting is telling me.
The output from the accelerometer is the instantaneous rate of acceleration. Acceleration is change in velocity. Velocity is rate of change of position, in a given direction. What integrating the acceleration values gives you is velocity.