understanding the pulse.


Results 1 to 37 of 37

Threaded View

  1. #34
    Join Date
    Aug 2006
    Posts
    91


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by skimask View Post
    WHAT? I missed it! Hey, where was I anyways?
    Have you seen me lately? 'cause I owe me some money...and I'm going to kick myself when I find me...

    What was the end result?
    Well we differ on what we see when looking at the standard signal so I will leave that alone

    I measure 1 signal pulse off one channel every 20ms no matter how long the pulse width is.
    So say we have a 1.5ms HIGH pulse width. we get a rising edge and high for 1.5ms then for 18.5 its low. then repeats. If the high pulse is 1ms then its low for 19 so the new rising edge is always at the 20ms mark. that make sense? Talking single channel here no reset pulse when channels are done.

    The new signal im messing with I can get a pulse that repeats between 5ms and 20ms depending on how long the pulse width is... and the pulse is low.
    Hard to explain.
    The new one has much longer pulses and they are LOW. (so I guess not really pulses just delays between the 1ms pulse)
    Say we have a 10ms pulse... It goes low for 10ms then high for set time think its 1ms. then low to 10ms again. That would make 2 pulses in a 21ms range instead of 2 pulses in a 20ms range. With a 15ms pulse it would equal 2 pulses in a 31ms range.

    Maybe im not explaining it correctly but on a standard the rising edge always starts at a set point every 20ms measuring 1 channel.

    So basically I am using the freq off the new one and thats working instead of the width. I don't know how else to explain it. If I knew the proper terms maybe it would make more sense lol.

    I do have another question tho

    On a 4mhz chip how long would this take to add 1 and get back to while?

    while GPIO.4=0
    Nosig = Nosig + 1
    wend
    Last edited by geckogrotto; - 27th February 2007 at 03:00.

Similar Threads

  1. Pulse Capture and byte building
    By boroko in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 21st July 2009, 01:59
  2. Single digit 7 Seg LED clock - PIC16F88
    By thirsty in forum Code Examples
    Replies: 4
    Last Post: - 17th July 2009, 08:42
  3. Replies: 3
    Last Post: - 13th September 2008, 17:40
  4. Better understanding PULSIN
    By Wirecut in forum mel PIC BASIC
    Replies: 12
    Last Post: - 29th June 2008, 10:17
  5. Pulse Frequency Multiplication
    By jamie_s in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 21st August 2005, 10:39

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