View Single Post
Old 01-26-2022, 04:50 PM   #10
nsocwx
Registered User
 
nsocwx's Avatar
 
Join Date: Jan 2022
Location: NE
Posts: 9
Re: Digital Speedometer, a homebrew idea

Quote:
Originally Posted by aknovaman View Post
Can someone send me a pic or determine the degree swing on the speedo needle cluster?

I can adjust the code to make it work almost as a plug and play.

Are you talking about the sweep of the factory gauge? Keep in mind, it is not linear as the E/W positions are compressed compared to the N. The total sweep is 270 degrees pretty much spot on. If you look at my code for the stepper position variables, divide each position by 3 to get the degrees. This is because the stepper has 3 steps per degree.

int out[] = {0,75,155,245,325,408,486,568,658,740,810}; //stepper positions for each 10mph
int in[] = {0,1000,2000,3000,4000,5000,6000,7000,8000,9000,10000}; //each 10mph x 100
nsocwx is offline   Reply With Quote