12F683 2 x PWM Outputs


Closed Thread
Results 1 to 30 of 30

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Talking Thanks

    Thanks to all those who helped with this i have had this breadboarded and working in my pic on bench today, it works great. What a forum incredible. Now to design my pcb.

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: 12F683 2 x PWM Outputs

    Daryl

    I bought Proteus and can now load your program but get 1 error on simulation which says.

    "Not Built requires PBPW"

    Any ideas?

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


    Did you find this post helpful? Yes | No

    Default Re: 12F683 2 x PWM Outputs

    I think I had it pointing to PBPW at the time.
    Proteus saves the compiler path in the .dsn file.

    Go to ... Source > Add/Remove Source code files..
    Change the "Code Generation Tool" drop-down box so it points to your installation. (PBPMPLAB)
    DT

  4. #4


    Did you find this post helpful? Yes | No

    Default Re: 12F683 2 x PWM Outputs

    Nope same error

    Can you post exactly whats in your source code boxes?

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


    Did you find this post helpful? Yes | No

    Default Re: 12F683 2 x PWM Outputs

    Here's the way that one was setup. But you should change it to use COF instead of HEX and add the -K# command line option.
    And make sure your compiler setup is working with a new design.

    Name:  Source.JPG
Views: 10013
Size:  65.3 KB
    Last edited by Darrel Taylor; - 18th February 2011 at 15:45.
    DT

  6. #6


    Did you find this post helpful? Yes | No

    Default Re: 12F683 2 x PWM Outputs

    Thanks working now.

  7. #7


    Did you find this post helpful? Yes | No

    Default 16f88

    I've upgraded to a 16F88 chip now.

    Just a thought, is it possible for SSPWM to use TMR0 instead of TMR1 on the 16F88 bearing in mind my 2khz
    PWM requirement with variable 10-90% duty in 1% steps?

    I'm not complaining SSPWM works well but freeing up TMR1 would let me use it for my
    speedo routine.

Similar Threads

  1. Variable PWM PIC18F2431
    By trr1985 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 12th June 2009, 06:03
  2. 2 PWM in 16F690 problems
    By ciendavila in forum mel PIC BASIC
    Replies: 9
    Last Post: - 27th April 2008, 09:03
  3. 12f683 comparator and pwm
    By Automan in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 23rd May 2007, 18:05
  4. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 17:27
  5. Variable PWM on 2 Channels using software.
    By Tissy in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 23rd September 2006, 01:34

Members who have read this thread : 2

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