need help on comparator


Closed Thread
Results 1 to 2 of 2
  1. #1
    bertus's Avatar
    bertus Guest

    Default need help on comparator

    HI,
    i am struggling to count the high's of the input frequency in my frequency counter. im using pic16F628. i also heard that u can use the built-in comparator. any help would be appreciated!!
    Last edited by bertus; - 20th October 2003 at 10:47.

  2. #2
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    The comparator can only be used to vary the threshold level at which your input signal registers a ‘1’ or a ‘0’ to be counted by the PIC. Therefore if the level of your input is too low to successfully be counted by the PIC (eg your input is going 0-1v rather than 0-5v), the Comparator can be used to condition the input and bring it up to a full 0-5v swing for the PIC’s logic to process. None of this will have any effect on the PIC’s top-end frequency response though, so if previously you could only count up to say 1MHz, then that will not have magically improved any.

    Melanie

Similar Threads

  1. Comparator circuit thoughts....
    By kevlar129bp in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 24th October 2009, 06:04
  2. Help with Comparator and Timer0
    By dbachman in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 14th February 2009, 20:19
  3. Replies: 4
    Last Post: - 5th October 2008, 09:11
  4. 18F2620 Comparator Problems
    By Joe Rocci in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 4th August 2008, 22:53
  5. 12F683 Comparator Problems
    By morethanenuf in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 9th September 2005, 15:36

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