Cap Sense ...getting a drowsy PIC to wake out of sleep!!


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,172


    Did you find this post helpful? Yes | No

    Default Re: Cap Sense ...getting a drowsy PIC to wake out of sleep!!

    Quote Originally Posted by HankMcSpank View Post
    ...
    5. Any external interrupt
    ...
    (that's my bold too - is a Timer interrupt deemed an 'external interrupt'?)
    ...
    I'm just reading up on this now too, using the PIC 16F877 as example, check pin RB0/INT.


    3.2 PORTB and the TRISB Register
    ...
    RB0/INT is an external interrupt input pin and is configured using the INTEDG bit (OPTION_REG<6>).
    ...
    p. 33/218

    I wished I had more, like a code example, but it's all I found so far (quickie search).

    (just one more feature on my list of things to play with)
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  2. #2
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,172


    Did you find this post helpful? Yes | No

    Default Re: Cap Sense ...getting a drowsy PIC to wake out of sleep!!

    A very well-written tutorial:

    http://www.hobbyprojects.com/pic_tut...utorial11.html

    ...The PIC has 4 sources of interrupt. They can be split into two groups. Two are sources of interrupts that can be applied externally to the PIC, while the other two are internal processes. We are going to explain the two external ones here.
    ...


    And a step-by-step tutorial with code examples from Nuts & Volts:

    http://www.precision.net.in/picbasic/PIC_INT.PDF
    Last edited by Demon; - 9th May 2011 at 16:45.

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