Frequency detection (audio)


Results 1 to 23 of 23

Threaded View

  1. #5
    Join Date
    Mar 2009
    Posts
    653


    Did you find this post helpful? Yes | No

    Default Re: Frequency detection (audo)

    Quote Originally Posted by cncmachineguy View Post
    Are my eyes lying to me or are they the same-ish as for 1K? One must ask them selves How can this be?
    Good spot!

    Here's approx the Timer counts I'm seeing for different frequencies...

    82.4Hz (lowest note on a guitar) - 42,900 (ish)
    330Hz (top E) - 7,300(ish)
    600Hz - 1800 (ish)

    650Hz -1200(ish)

    & then when I go higher in frequency, the timer1 counts start going all over the place ..

    Here's 800 hz...

    4924
    177
    4940
    177
    4965
    179
    4987

    Oddly, when I dial 1000hz in, yep the counts go to 3,200 again ....so clearly something is wrong with my detection method using interrupts & timer1 counts

    (btw I know the frequencies the PIC is handling internally are correct, as I'm outputting the PIC's comparator output to an external pin & attaching a frequency counter to the pin)

    Hmm [strokes chin]
    Last edited by HankMcSpank; - 7th June 2012 at 17:05.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts