12f683 variable HPWM and fixed pulse tick thickness


Results 1 to 5 of 5

Threaded View

  1. #3
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Default Re: 12f683 variable HPWM and fixed pulse tick thickness

    Hi,

    With the internal osc , even @ 8Mhz, HPWM definitly is not what to use ... so is pure basic ...

    with 10ms steps ... you'd better use PAUSEUS to generate the pulse ( need 16 Mhz ext osc ! ... or 8 asm NOP's @ 8Mhz ), and a timer to generate an interrupt every 10 ms that will change the pause beetween pulses ...

    see Darrel's Instant Interrupts for easy interrupts ...

    May be also a very very smart solution with the COMPARE mode of the CCP that can change the CCP outpin and set the CCPIF just when pause ends ...

    Alain
    Last edited by Acetronics2; - 20th February 2015 at 08:24.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

Similar Threads

  1. Measuring a variable freq/length pulse and generating more pulses.
    By retepsnikrep in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 18th September 2014, 09:10
  2. AND HPWM with variable
    By dnyanesh in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 25th March 2013, 10:55
  3. Maximum HPWM freq. 12F683
    By Ryan7777 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 12th August 2008, 15:55
  4. 12F683 HPWM Usage
    By MARAD75 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 15th November 2007, 02:16
  5. Time delay by incrementing a variable using incoming pulse
    By jmgelba in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 28th October 2005, 03:50

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