Doubling the pusle count


Closed Thread
Results 1 to 40 of 44

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    I think if there are antenna's (a.k.a. long wires) hooked up to the option pins, the internal pull-ups may not be good enough. Small jumpers or dip switches should be ok though. No problem adding external pull-ups if desired. Or you can tie them directly to VDD or VSS.

    With the IdleState pin left open, the program will assume the input idles HIGH, with negative going pulses, which is the opposite of the 0-12-0 polaraity described before. So I'd start with that pin grounded.

    The Invert input should be left open, without any wires, since that circuit uses the NPN transistor that inverts the output. It was just an option available for anyone else that might pick up the code from the forum. The output follows the same polarity as the input Idlestate, so there shouldn't be a need to change it with that circuit.

    When you programmed the chip, did you uncomment the ANSEL line?
    I was using a 12F629, but I think you're using a 675.
    <br>
    DT

  2. #2
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Thanks for the feedback.

    I did see you note on the use of the chip, and missed it completely when I programed the ver3 of the code ! Bu99er !!!

    With the ansel line remmed out and using a 12F675 - how would that effect the way the unit performed... (Brian - if you are reading this I'll send a new PIC to you if I screwed up !!)

  3. #3
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    With the ansel line remmed out and using a 12F675 - how would that effect the way the unit performed
    Without it, there won't be a performance.
    The digital Input latches are disabled while in analog mode. So it can't see the pulses, or the options.

    Sorry, I should have left it un-commented.
    DT

  4. #4
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    [sware] beep beep beeeeeP [/sware]

    I thought as much... I'll re-code and send him a replacement PIC

    Next time I'll wear my glasses !!

  5. #5
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    HI Malcolm,

    Stumbled across this thread again.
    Just wondering if he ever got it working?
    <br>
    DT

  6. #6
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Hi Darrel,

    I sent a couple of PICs to him and I think that from memory he was not able to get it working and gave up in the end. Thanks for the interest and your support with the original code

  7. #7
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Bummer.
    <br>
    DT

Similar Threads

  1. COUNT is not counting again
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 33
    Last Post: - 19th June 2009, 05:52
  2. Can't get COUNT to count
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 24th March 2009, 00:14
  3. Count pulses between VARIABLE TIME
    By RodSTAR in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 15th October 2007, 13:44
  4. Multiplex Display with count comand
    By mdaweb in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 16th October 2005, 05:09
  5. Count command
    By hawk72501 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 6th September 2005, 20:04

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