HPWM problems


Closed Thread
Results 1 to 4 of 4

Thread: HPWM problems

  1. #1
    Join Date
    Jan 2006
    Location
    Slovenia EU
    Posts
    32

    Default HPWM problems

    Hello,

    does anybody know the usage of CCP1(PWM) modul in PIC16F876?

    I have some problems, which I can not solve by myself.

    1. I can reach frequency 100Hz on channel 1 only by 455KHZ resonator (HPWM pin,var,850). Does it exist some software solution (i.e. with timer settings by 4 MHZ clock)?

    2. I would like to synhronize beginning of PWM pulse with outside frequency 50 HZ. Can CCP modul be activated with outside pin (INT)? I have tried to set register CCP1CON=11, but times of activation were not constant.
    Can anybody explain all other settings for HPWM?

    Thank you for your help in advance.

    Samo, Slovenia
    Last edited by Samoele; - 8th November 2006 at 07:18.

  2. #2
    Join Date
    Oct 2004
    Location
    Hangover, Germany
    Posts
    289


    Did you find this post helpful? Yes | No

    Default

    If you want to serve such slow frequencies, it might be better to do it by software with a INT-routine and timers.

    You want to do a dimmer for 50Hz ?
    PBP 2.50C, MCS+ 3.0.0.5, MPLAB 8, MPASM 5.14, ASIX Presto, PoScope, mE mikroBasic V7.2, PICKIT2

  3. #3
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    Hi Samo,

    Check this link;
    http://www.picbasic.co.uk/forum/showthread.php?t=4994

    and download the nice program of mister_e's.

    It will give you what you need.


    -----------------------
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  4. #4
    Join Date
    Jan 2006
    Location
    Slovenia EU
    Posts
    32


    Did you find this post helpful? Yes | No

    Default

    Yes bigWumps, this will be a used for 50 Hz heater regulator. Do you have any working schema for this application?

    Samo

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