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
    Mar 2009
    Posts
    653


    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 bogdan View Post
    Do you guys use the:
    a) Timer1 Gate Interrupt (triggered by the overflow of the timebase timer )
    or
    b) Timebase timer Interrupt (overflow)
    ...and when one of those interrupts is serviced checking the counts on the timer1
    b) - I use timer2 interrupt (via DT's interrupts) as the timebase... & in the interrupt routine, I check the actual timer1 counts (ie as received from the cap sense module).

    When I put the PIC to sleep, because timer2 can't be used while it's sleeping, I use the WDT as the necessary timebase.

  2. #2
    bent10's Avatar
    bent10 Guest


    Did you find this post helpful? Yes | No

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

    Im also using the Pic16f1824 and would liek to capsense working for a SLEEP/ WAKEUP button. I understand the flow of how yo uare using the WDT to do this however I am having trouble getting the capsense to work in general. Would you be able to give light on config bits for using timer1 and capsense channel 2?

    Thanks for all the help.

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