Stop in for a cup of coffee

That was not the question. How does it know what speed you are going?
Hell I don’t know. Speedo cable goes to it, then a second cable goes from the cruise unit under the hood to the Speedo on the dash