1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Conversion to 8.68us units

  1. Sep 24, 2010 #1
    Hi all,

    I'm running a microcontroller that has me program times in 8.68microsecond units, and I'm having an issue converting 10ms to 8.68us units, then counting a number (scalar) then taking that number and getting RPMs from it.

    Here's what I have so far:

    10ms = 10,000us

    10,000us/8.68 ~ 1152 (8.68us units) --> Is this right?

    The program counts a number of pulses for 10ms, and returns that value, for example, in 10ms at 6,000 RPM I should see

    6,000RPM = 100R/s (Hz) = 1R/10ms = 1 pulse

    Then I want to convert from the one pulse back up to RPMs, so I need a scalar, I guess 6000 would be correct across all RPMs?


    I feel like I've made a mistake here somewhere, but have I done this correctly?
     
  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted