Quantcast
Channel: Counter/Timer topics
Viewing all articles
Browse latest Browse all 1271

Using the 6525 counter to measure frequency: is there a neater way?

$
0
0

I'm currently using the high speed counter on the a USB 6525 module to measure the frequency of a spinning object via a hall effect sensor.

 

I was wondering if there was a simpler/ more effective way of coding it than this?

 

Currently all I do is take the current counter reading, wait a second, take another reading and subtract one from the other. The result is the frequency, in hertz.

 

Is there a way of getting the 6525 to return the count/ change in count after 1 second?

 

Thanks

 

Untitled.png


Viewing all articles
Browse latest Browse all 1271

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>