Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/22/03 07:57
Read: times


 
#46350 - RE: - Abhishek
Responding to: ???'s previous message
Abhishek -

I guessed that he would be using assembly, and hoped the signal period would fall within the range of a single 16-bit timer overflow. My approach would not need any greater-than or less-than comparison to code in assembly, so I thought it might be easier to implement.

Your pulsewidth measurement approach, followed by a comparison against a threshold value is a better approach. I suppose if the pulsewidth is a multibyte value, you could simply check the highest byte. That would probably give adequate resolution for an app like this and is easy to code.

- Lee

List of 9 messages in thread
TopicAuthorDate
Measuring frequency using 8051            01/01/70 00:00      
   RE: Measuring frequency using 8051            01/01/70 00:00      
      RE: Measuring frequency using 8051            01/01/70 00:00      
         RE: Measuring frequency using 8051            01/01/70 00:00      
            RE: - Abhishek            01/01/70 00:00      
               RE: - Abhishek            01/01/70 00:00      
   RE: Measuring frequency using 8051            01/01/70 00:00      
      RE: Measuring frequency using 8051            01/01/70 00:00      
      Thanks a lot..            01/01/70 00:00      

Back to Subject List