The Madrid Codices I and II are two collections of Leonardo da Vinci's manuscripts found in a collection in the National Library of Madrid at the end of the 1960s. In particular, the Madrid Codex I consists of 382 pages of notes accompanied by something like 1600 between sketches and drawings and addresses a problem for which Leonardo is in some way particularly known as an engineer and designer: gears.
Leonardo's starting point is the study of friction. This is a force that opposes motion, but thanks to its opposition it is possible for us to walk without slipping or losing balance. As we all know today, however, the intensity of the frictional force depends on the surfaces that are in contact with each other, on how smooth or rough they are, which is independent of the area in contact and which can be reduced by using, for example, a lubricant or cylinders. All this, however, was already known to Leonardo, as it is possible to observe from the reading of the Madrid Code I. Furthermore, it is always Leonardo who introduced the concept of friction coefficient, defining it as the ratio between the force required to slide two surfaces horizontally on top of each other and the pressure between the two surfaces. Leonardo also estimated the value of this friction coefficient in 1/4, consistent with the materials best known to the florentine and with which he could carry out experiments (wood on wood, bronze on steel, etc.)(1).
At this point Leonardo is ready to develop a series of gears capable of carrying mechanical energy and producing motion, minimizing friction with the use of spheres and cylinders, as can be seen from his numerous drawings. In particular, however, it is Leonardo's mechanical use of two particular geometric shapes that is striking, because it anticipates their actual adoption by centuries: the epicloidal teeth and the globoidal gear.