1 microsecond rising edge pulse detection


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2016
    Location
    Plainfield, Illinois
    Posts
    73

    Default 1 microsecond rising edge pulse detection

    Can anyone think of how to detect a TTL 1 microsecond pulse using just a PIC? I'm not measuring the width - just the rising edge. I dont think I can do it using a 16f616. I'm afraid I'll have to use a 555 timer to do this but dont want to yet.
    My dad never liked you...

  2. #2
    Join Date
    Apr 2014
    Location
    OK
    Posts
    557


    Did you find this post helpful? Yes | No

    Default Re: 1 microsecond rising edge pulse detection

    I've never worked with that part number, but it should have an INT or INT0 function. Somewhere (INTCON is where I find it on the PICs I play with) there is a bit to determine if you get an Interrupt on Rising or Falling Edge. On that old of a chip, the pin will probably be specific and non-transferable (ala PPS).

  3. #3
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,520


    Did you find this post helpful? Yes | No

    Default Re: 1 microsecond rising edge pulse detection

    Yes, the datasheet specifies INT pin input high or low time: Minium 25ns so should be no problem with 1us. Question then becomes how much latency you can accept, how fast do you need to "react" on that pulse? Either you'll setup an actual interrupt OR you simply poll the interrupt flag.

    /Henrik.

Similar Threads

  1. Shiftout data needs to be sent on rising edge of clock
    By JimAvanti in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 10th December 2012, 22:43
  2. Need some suggestion ignition coil pulse detection
    By phoenix_1 in forum Schematics
    Replies: 8
    Last Post: - 28th April 2009, 23:34
  3. newbie Q - edge detection?
    By RMCRAVEN in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 9th October 2006, 08:20
  4. Best way to find a rising edge?
    By jcsquire in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 31st May 2006, 15:11
  5. Replies: 2
    Last Post: - 5th June 2005, 19:55

Members who have read this thread : 1

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