NanoElectroMechanical Devices (NEMS) involve the relative motion of one interface past a second. The properties of this interface, including its electrical, mechanical and tribological characteristics, ultimately depend on the arrangement of the atoms. Recently, we have shown how the alignment of two atomic lattices has dramatic effects on the friction and dynamics of the objects in contact. Through atomic force microscopy manipulation, we have shown the carbon nanotubes show the full range of dynamics including sliding and rolling. On graphite, the atomic lattices can come into registry, and the interlocking atoms cause the nanotube to roll. The atomic lattices also dictate the electronic states at the interface. We have measured the electrical properties of atomic lattices in contact and show a change in the contact resistance of over one decade as the lattices move in and out of registry. The further implications of the mechanical and electrical properties of contacting lattices in NEMS devices will be explored, including applications in actuators, encoders and oscillators.