The basic principle involves elongating a metallic wire until it eventually breaks, creating a gap that narrows down to a few nanometers. The process can be controlled precisely using a piezoelectric actuator. The conductance through the junction is measured as a function of the distance between the two ends, enabling the study of quantum conductance steps and the formation of atomic contacts.