i am working onan length calculator project i am using 89c8252 could any body help in this regard i am calculating the length by measuring the rpm the length is .75 meters for 1 rpm
Use a rotary encoder ..
You can make one (old computer mouse), or buy one (rather expensive option) ..
A little bit of theory and 8051-based practical example is here:
**broken link removed**