Results 1 to 3 of 3

Thread: Calculating frequency in RPM with JAVA

  1. #1
    Join Date
    Apr 2008
    Posts
    49

    Calculating frequency in RPM with JAVA

    Hello,

    I want to calculate the frequency of the signal from a computer fan which should be convertible to RPM in Java. Instead of using Counter-function, i would like to use analog input and i think this should be possible as i could get a proper square wave in LJscope. I want to know that how to start some kind of timer for this application.

    The signal will be periodic and i know that i must sample it in the interval of some time. Can i check if it is Rising edge or Falling edge?

  2. #2
    Join Date
    Apr 2008
    Posts
    2,005
    As you are using analog input, some frequency determining software has to be written which will process the waveform. It seems like you are working on U12. You have one option of feeding a signal through FFT, which is at the bottom graph of LJscope. Second option of processing the data point by point, looking for a threshold or a change of slope.

  3. #3
    Join Date
    Apr 2008
    Posts
    49
    Yeah, I am using the U12 . As you said about calculating FFT, i need to study that more clearly. Or some other methods of calculating frequency in RPM should be found out that are existing.

Similar Threads

  1. Need help calculating Age in FileMaker Pro
    By NathanDS in forum Windows Software
    Replies: 4
    Last Post: 29-05-2010, 05:16 PM
  2. Problem calculating duration in java
    By Gunner 1 in forum Software Development
    Replies: 5
    Last Post: 05-02-2010, 04:56 AM
  3. Calculating Age in java
    By Miles Runner in forum Software Development
    Replies: 5
    Last Post: 03-02-2010, 01:54 AM
  4. Calculating the sum of two polynomials
    By Liquid Shadow in forum Software Development
    Replies: 3
    Last Post: 30-11-2009, 12:12 PM
  5. Calculating Matrix Determinant in C
    By Rilex in forum Software Development
    Replies: 3
    Last Post: 09-05-2009, 08:27 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,907,495.51924 seconds with 16 queries