Speedometer pick up/sensor? Where?

Where does the speedometer pick up it's voltage data from? Rear wheels? front wheels? ABS sensors? a transmission sensor somewhere?
Your help would be much appreciated

The reason I was asking was in relation to rolling circumference of tyres. So the Star (SDS) can adjust for roll. circ. changes. Thank you - you have answered all my questions




