HELP, solve my coursework dilema please

Soldato
Joined
6 Sep 2005
Posts
3,815
Location
Cambridge
Im just finishing my electronics coursework (1 week overdue)
anyway, i built a digital rev count and what it does is it counts the number of 'revs' of the motor for a duration of 0.6seconds and displays it for the next 0.6seconds until new value is calculated.
so, as a part of the coursework im displaying the numbers in RPM(rotations per minute) and the dilema is.. where does the decimal point come in the digit?

theres 3 digits like this 999kr/m.
The count from the motor goes straight to the display without any numbers getting devided. so if the motor spins 999times in 0.6s the display will count 999RPM but my question is where does the decimal point come to make it RPM?
eg 9.99? 99.9?

EDIT; where are my manners :rolleyes: Thankyou
 
Last edited:
If im uderstanding this right you have a 3 digit counter that goes up to 999 and at the moment it directly outputs the revolutions per 0.6 sec. To get the number per minute you would just times by 100. If your rev counter represents thousends in the least significant digit and so forth then your decimal point would sit inbetween the 2nd and 3rd digits. I.e 99.9k RPM
 
ah thanks you two. i will go with this, the reason i had a sneaking suspicion it wasnt was because the readings i thought was a little too big.
but i guess thast something else i can write.
 
Back
Top Bottom