Frequency counter

Discussion in 'Embedded Systems and Microcontrollers' started by Neyolight, Jan 22, 2012.

  1. Neyolight

    Thread Starter Member

    Dec 13, 2011
    54
    3
    Hi all

    I am using PICDEM2 plus board with PIC18F4620 to develop a frequency counter. My frequency input is on RC1 of the PIC.
    My frequency counter displays 0 when i connect my frequency source to the PIC. Withnothing connected it displays 1958 on the hyperterminal!

    Any suggestion as to where the problem lies?

    Thanks
     
  2. hexreader

    Active Member

    Apr 16, 2011
    250
    82
    What is your frequency source? PIC RC1 will be expecting 0V or +5V - is that what you are giving it?

    If the input is 5V TTL levels, then the problem is probably with your code.
    Post your code and forum members will no doubt tell you where the problems lie.

    Either way - we need more information in order to help you

    Oh... and are you using the 2002 board (usually red) or the later board (usually green)?
     
  3. Neyolight

    Thread Starter Member

    Dec 13, 2011
    54
    3
    The voltage across the frequency source output is 1.6 V.

    Im using 2010 board- its black/green
     
Loading...