This tutorial will guide you through the process of building a tachometer around an Arduino ... calculate RPM. Another alternative would have been to use a reflectance sensor which allows to ...