Speedometer Pinion Gear

Then why do underinflated tires cause your engine to run at a higher rpm? And overinflated tires cause your engine to run at a lower rpm.