Time measuring precision

I'm about to build a robot that requires very tiny time measuring. So I was wondering how precise are time measurements in arduino. How many decimal numbers can you get? Are they really precise?

jfons: I'm about to build a robot that requires very tiny time measuring. So I was wondering how precise are time measurements in arduino. How many decimal numbers can you get? Are they really precise?

Unfortunately (or maybe fortunately) "very tiny time measuring" is not a specification of any value to us. Can you better put a real number to your requirement? Using just the standard arduino library functions there is a +/- 4 microsecond resolution steps using the micros() function.

Lefty

retrolefty: Unfortunately (or maybe fortunately) "very tiny time measuring" is not a specification of any value to us. Can you better put a real number to your requirement? Using just the standard arduino library functions there is a +/- 4 microsecond resolution steps using the micros() function.

Lefty

I don't need a specific value I just wanted to know the smallest value Arduino can measure. The smaller times it can notice the better for my project. If it can distinguish microseconds it's great for me.

Thanks for your information

If it can distinguish microseconds it's great for me.

Well as I said it can with standard supplied software functions get you down to 4 microsecond counts. Writing your own low level C/C++ or assembly language functions may be able to improve on that.