HPWM Help


Closed Thread
Results 1 to 4 of 4

Thread: HPWM Help

  1. #1
    Join Date
    Jan 2005
    Location
    Puerto Rico
    Posts
    133

    Exclamation HPWM Help

    Who i set my PWM to by exact 980 or close cycles per second
    with 4.0Mhz clock.
    My Hobbies is PicBasic PRO

  2. #2
    Join Date
    Feb 2003
    Location
    Sydney, Australia
    Posts
    126


    Did you find this post helpful? Yes | No

    Default

    I assume you want a 50% duty cycle (50% on / 50% off)?

    Using Mr E's PicMultiCalc PWM tool (a google search will find it for you) I get the values attached.

    Depending on the PIC chosen it may have 8 bit or 10 bit HWPWM.

    bill
    Attached Images Attached Images  

  3. #3
    Join Date
    Jan 2005
    Location
    Puerto Rico
    Posts
    133


    Did you find this post helpful? Yes | No

    Talking

    Thanks for the Help
    My Hobbies is PicBasic PRO

  4. #4


    Did you find this post helpful? Yes | No

    Default

    I use this simple command for HPWM output on CCP1 on 16F819.

    HPwm 1,127,980 'PWM OUTPUT 980hz 50% duty cyle

Similar Threads

  1. need help on hpwm
    By helmut in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 28th August 2007, 15:49
  2. HPWM of the port of two HPWM
    By ja2rqk in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 25th April 2007, 15:05
  3. sound command & music
    By trying in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 26th May 2006, 14:14
  4. HPWM and A to D interaction question 18F252
    By tcbcats in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 10th May 2006, 03:50
  5. 3 HPWM channels
    By docwisdom in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 4th April 2006, 02:43

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