For the last 3 years I have been on and off a project and it I still think about getting it finished.
I started a post a while back trying to use a linear encoder to record the suspension
movement.
I am now going to go down a different method which will be fitting two Adafruit MMA8451 accelerator to see if playing with the suspension makes the suspension better or worse by reading both results. Then get the result average to see if the force on the handle bars closer to the force on the lower fork leg.
Please look at my older post to see if this helps you understand.
I am at the early stages of writing the codes so any help would be much appreciated.
The dream would be to have a switch which would wake up the arduino, when riding the bike when the force on the handle bar reaches a set amount it would record both forces a second before and after. At the end of the race/ride i could get all the data from both and see a figure. Over time the rider should be able to see if the changes made are going in the correct way. I am also thinking about making a linear potentiometer on the inside of the fork leg which then would give me an idea what the fork was going at the time of the big forces at the handle bars.
Morning Perehama, I am struggling with the coding side.
I have purchased a Nano IOT and two MMA8451. I am currently trying to learn the coding side but it is a little over whelming at the min.
In the dream world i would love for the device to be attached to the motocross bike. When the force on the handle bat reaches a set value it will record the results before and after. Then we will be able to see why we got the force and set the suspension so we can try and adjust it to prevent that force happening again.
@lawton74 I understand your words. There are a few types of people that come here seeking answers. Among them are people who want to learn to code and the project they are working on is a means to that end. Also among them are the people who see a need for some item to exist that does not and coding is a means to that end. Whichever you are, learning to code starts at getting an LED to blink and progresses from there. If you are the latter, there are several ways to short-circuit the learning to code process. You can post in the Jobs and Paid Consultancy and contract out the coding work. If you are hear to learn to code, you are a freshman working on a senior thesis. You will need to spend a few hours on more basic projects and build up to where you want to be for this project.