Need to get 4 independently controllable frequency outputs, PBP can do that?


Closed Thread
Results 1 to 15 of 15

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,133


    Did you find this post helpful? Yes | No

    Default Re: Need to get 4 independently controllable frequency outputs, PBP can do that?

    If you can accept frequencies up to only 1KHz, then the PCA9685 chip can output 16 pwm channels and is controlled by I2C bus.

    Ioannis

  2. #2
    Join Date
    Feb 2013
    Posts
    1,124


    Did you find this post helpful? Yes | No

    Default Re: Need to get 4 independently controllable frequency outputs, PBP can do that?

    I need 4 outputs simultaneously, at different frequencies and w/o putting any load into "main" code execution.

    PCA9685 can output different dutycycle, but not frequency. There are a lot of such IC's with adjustable separate duty cycle, but not frequency (I even have 48 channel monster - LT8500)

  3. #3
    Join Date
    Feb 2013
    Posts
    1,124


    Did you find this post helpful? Yes | No

    Default Re: Need to get 4 independently controllable frequency outputs, PBP can do that?

    The only suitable chips I've found are FM synthesis chips from early computer soundcards, like Yamaha YMF262 or AY-3-8910 But they require extra periphery and are loaded with unnecessary bells and whistles. Looks like CD4536B (4 of them) is the best choice so far.

  4. #4
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,133


    Did you find this post helpful? Yes | No

    Default Re: Need to get 4 independently controllable frequency outputs, PBP can do that?

    Nice chip this seems. But could not figure out how to use it as an PWM.

    Ioannis

  5. #5
    Join Date
    Feb 2013
    Posts
    1,124


    Did you find this post helpful? Yes | No

    Default Re: Need to get 4 independently controllable frequency outputs, PBP can do that?

    I don't need PWM, I need frequency

  6. #6
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default Re: Need to get 4 independently controllable frequency outputs, PBP can do that?

    4 separate PIC's with NCO modules. Done..... Why add unnecessary hardware?
    Dave Purola,
    N8NTA
    EN82fn

  7. #7
    Join Date
    Apr 2014
    Location
    OK
    Posts
    557


    Did you find this post helpful? Yes | No

    Default Re: Need to get 4 independently controllable frequency outputs, PBP can do that?

    Quote Originally Posted by Dave View Post
    4 separate PIC's with NCO modules. Done..... Why add unnecessary hardware?
    I have a project I was using 3 PICs for 3 NCOs. I updated it adding a touch screen to replace buttons & LEDs, and while at it, replaced 3 PICs with a single PIC18F27Q43 (have to use MPLABX & XC8 since PBP doesn't yet cover that part). That still leaves one more NCO for you.

Similar Threads

  1. Single PIC to Blink 5 LEDs Independently?
    By RossWaddell in forum mel PIC BASIC Pro
    Replies: 68
    Last Post: - 18th July 2015, 16:56
  2. 4 x PWM outputs
    By Scampy in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 7th February 2012, 06:40
  3. help with multiple outputs...
    By rickvan in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 25th November 2007, 17:34
  4. frequency meter in PBP
    By savnik in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 13th June 2007, 06:34
  5. PIC16F62X outputs
    By Deadeye in forum General
    Replies: 6
    Last Post: - 31st May 2005, 21:20

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