Pulse Narrower


Closed Thread
Results 1 to 5 of 5

Thread: Pulse Narrower

  1. #1
    matth's Avatar
    matth Guest

    Default Pulse Narrower

    I need to input a 1PPS 100ms long positive pulse and output an approximate 130 microsecond negative pulse in sync with it. I am just modifying the incoming pulse to be narrower. Is there a simple way to do this without timers?

    Matthew

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


    Did you find this post helpful? Yes | No

    Default

    what else the PIC do??? Should the input pulse lenght be measure ???
    Steve

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

  3. #3
    matth's Avatar
    matth Guest


    Did you find this post helpful? Yes | No

    Default

    The pulse is coming from a GPS unit hopefully precision at 1PPS with a width on a 100ms. I just need to narrow the pulse to approximately 130 microseconds. The start points of both pulses need to be the same or very close.

    Matthew

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


    Did you find this post helpful? Yes | No

    Default

    i'm not 100% sure of the purpose of this but, is this input pulse will also be used for something else too??? if not why not just using an RC circuit with a voltage comparator, op-amp, FET, MOSFET or else to do the job? OR an OLD NE555 as monostable??


    Also you can use interrupt to generate your pulse with PAUSEUS or PULSOUT. Depending of what else the PIC is doing, it could work really well.

    It's possible that i don't understand... if so, just tell me.
    Steve

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

  5. #5
    matth's Avatar
    matth Guest


    Did you find this post helpful? Yes | No

    Default

    >>>if not why not just using an RC circuit with a voltage comparator, op-amp, FET, MOSFET or else to do the job? OR an OLD NE555 as monostable??

    You are right any of those would likely work. Just thought Picbasic might be easier. Any good references on doing something like this with a 555?

    Need to get my old tech school books out.

    Matt

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. pulse simulation
    By nicolasronan in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 14th August 2006, 17:55
  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