Multi slow speed PWM


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Sure, you could use the CCP modules. But you'd need to run the pic at 4mhz to get it down to a minimum frequency of 245hz. And then you would only have 2 channels. So it would take 3 PICs to get all 5 channels.

    You could use 12F683's that have one CCP module each. Used along with timer1 they can produce 16-bit PWM. But it would take 5 - 12F683's to get your required 5 PWM's.

    You might take a look at the PIC18F4331.

    It has 4-14bit pwm's and 2 normal CCP modules. The chip is supported by PBP, but the 14-bit PWM modules are not. So you would need to manipulate the registers manualy. But at least you could get all 5 PWM's from the same chip.

    DT

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Another good chip is the 18F6720 which has 5 CCP modules

    DT

  3. #3
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Darrel.. FYI, Microchip says...Please consider using device PIC18F6722

    Nice PIC so far... probably enough to fade 5 leds and 2-3 other task
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  4. #4
    willem's Avatar
    willem Guest


    Did you find this post helpful? Yes | No

    Thumbs up

    Dear Darrel, Steve,

    Thanks again for your info and suggestions!
    It maybe good for me to have a look at the problem from the other side; i.e.
    the PWM requirements for my dimming device.
    If I can make a setup accepting PWM over the full 5ms for a 0-100% light control it would be perfect to and Multi-SPWM could do the job.

    I'll keep you informed.

    Willem

Similar Threads

  1. Multi Slow speed PWM and Instant Interrupts
    By DaveC3 in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 2nd November 2010, 12:50
  2. Variable PWM PIC18F2431
    By trr1985 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 12th June 2009, 06:03
  3. 16-48 pin Multi slow PWM
    By krohtech in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 28th March 2009, 03:28
  4. DT's Slow PWM
    By fbraun in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 27th June 2008, 15:50
  5. Replies: 14
    Last Post: - 26th September 2007, 05:41

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