The encoder is an electromechanical device that allows the conversion of a mechanical movement, in this case linear, into digital electrical signals. Through this device, it is possible to detect the position and penetration speed of the rods and the piezocone in the ground.