Sinewaves using interrupts.


Results 1 to 26 of 26

Threaded View

  1. #14
    Join Date
    Mar 2009
    Posts
    653


    Did you find this post helpful? Yes | No

    Default

    Thanks Henrik & Mike.

    I've no specific goal in mind here...just to have a play (a man can never have too many sine wave tools at his disposal!) ....that said I would like to be able to resolve any generated frequency to two decimal places between say 50Hz-5Khz .... upon reflection, since making my initial post at the top of this thread I'm actiually not too worried about phase wrt generating sine waves with PICs.

    I have to say, I'm having a right old head trip to to what Oscillator setup (& PIC) I need to be able to get that aforementioned two decimal place frequency resolution for that region - I need to cordon off the dining room while I have a think about this! What a nightmare it is trying to configure all this for the required frequency ...& presumably to make .01Hz increments possible, it would need a counter (accumalator?) that's in decimal along with an array dividable by 10 - not to mention a clock cycle that's also divideable by 10?!!



    oh, btw....Does anyone else get tired of typing coffee, red, Tesla, bread etc? (at least change the questions once in a while lol)
    Last edited by HankMcSpank; - 1st October 2010 at 16:36.

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