understanding the pulse.


Closed Thread
Results 1 to 37 of 37

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    >>How about using count... or an internal timer?
    I am not sure how to do that with the signal im getting.
    forget the frequency, from your picture, it's only the dutycycle that change.

    >>what's the most important? the frequency or the duty cycle?
    In this case I think its the frequency that matters. But I don't know how to get the freq from picbasic.
    to get frequency, you could use COUNT, but in your case it should always be the same.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  2. #2
    Join Date
    Aug 2006
    Posts
    91


    Did you find this post helpful? Yes | No

    Default

    forget the frequency, from your picture, it's only the dutycycle that change.
    are you sure? I don't know much about reading the scope but to me it looks like between signal 3 and 4 on my picture the freq of the pulse is changeing but not on 1 -2. I need to get this to work on the 2 and 3 example.

    Am I reading the scope wrong?

  3. #3
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    can you do some screen capture of it?

    Sorry but i have to ask, Do you know the difference between DutyCycle and frequency?

    F.EDIT : SORRY... yeah seems the last one is different.

    can't tell you if it's normal or what... the only thing i see is to do some error trapping, frequency/duty cycle, averaging etc etc etc.
    Last edited by mister_e; - 26th February 2007 at 04:38.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  4. #4
    Join Date
    Aug 2006
    Posts
    91


    Did you find this post helpful? Yes | No

    Default

    I can try taking a picture of the scope.

    I think I do, lol I may be wrong.

    The duty cycle is how much of the cycle is on vs off.
    The freq is how often the cycle restarts basically?

  5. #5
    Join Date
    Aug 2006
    Posts
    91


    Did you find this post helpful? Yes | No

    Default

    Edits

    Well the 2nd two signals are from a proprietary non uniform signal that im trying to figure out.

    I think its normal for it to be like that, I just didn't know how use it.

    From your previous post looks like count will help me here going to give it a go and let you know what happens

Similar Threads

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