Hi Firemann00b,
Just a few design considerations before you max out on the ADC.
- Do you really need to sample that fast. Controlling stuff is about controlling or changing the state they are in. Speed is a state. What is important is how fast does your robot CHANGE speed / steer. I take it it is not going to make a U-turn with a radius of 1 cm if it's doing 2 m/s. There is no point in having a very fast controller if the robot cannot comply with the commands its been given. It will cause the controller to oversteer, and can cause stability issues (oscillations)
- Fast sampling creates noisy readings. You will have to filter the readings.
- Fast sampling creates lots of data. Arduinos do not have lots of memory to store that information, nor do they have a lot of CPU power to process it in real time.
- Look ahead. Knowing what's coming gives you more time to react. Faster sampling won't.
regards,
Pieter