The speedometer and odometer at least could be fully mechanical: they used to be gear reduced from a cable to the wheels or transmission.