Can anyone help a newcomer?


Closed Thread
Results 1 to 19 of 19

Hybrid View

  1. #1
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    Look at Table 4.3 and Table 9.2 of the 16F84A datasheet. When configured as an External Interrupt, RB0 has a Schmitt Trigger input buffer which needs 0.8*Vdd for a logic high and 0.2*Vdd for logic low. Your voltages appear to be marginal.
    Last edited by dhouston; - 18th October 2009 at 19:36.

  2. #2
    Join Date
    Oct 2009
    Posts
    13


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by dhouston View Post
    Look at Table 4.3 and Table 9.2 of the 16F84A datasheet. When configured as an External Interrupt, RB0 has a Schmitt Trigger input buffer which needs 0.8*Vdd for a logic high and 0.2*Vdd for logic low. Your voltages appear to be marginal.
    Thanks Dave, I'll check the voltages again but from your post, the problem may be on the logic low.

  3. #3
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by scopit View Post
    Thanks Dave, I'll check the voltages again but from your post, the problem may be on the logic low.
    I agree - after sensing the first high, it never senses a low, so it cannot sense another low-to-high transition.

  4. #4
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by scopit View Post
    Thanks Dave, I'll check the voltages again but from your post, the problem may be on the logic low.
    It appears that after sensing the first high, it never senses a low, so it cannot sense another low-to-high transition.

  5. #5
    Join Date
    Oct 2009
    Posts
    13


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by dhouston View Post
    It appears that after sensing the first high, it never senses a low, so it cannot sense another low-to-high transition.
    Thanks Dave you were right. I removed the pull up and in the process found a dry joint. This may have been the source of the issue in the first place, but was causing the intermittent behaviour.

    Interrupt is working now and I can continue working through the testing.

    Thanks everyone for your help.
    Danny

Similar Threads

  1. Hlp - newcomer getting confused
    By chunk in forum General
    Replies: 1
    Last Post: - 23rd January 2006, 18:47
  2. 12F629 config help for newcomer
    By RFsolution in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 4th January 2004, 22:03

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