Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 4 of 4

Thread: Capacitive TouchRead() Range/Sensitivity?

  1. #1
    Junior Member
    Join Date
    Jul 2013
    Posts
    6

    Capacitive TouchRead() Range/Sensitivity?

    Hi,

    I've been playing around with Teensy 3.0's touch sensing feature – touchRead() –*and it works well. However, I'd like to detect changes in capacitance from around 6 inches away. Apparently the CapactiveSensing library can change range, but I'd like to use the Teensy's built-in touch sensing feature. How can I change the 'range' or distance that the capacitive sensing can detect within?


    Thanks.
    Last edited by helium; 11-30-2013 at 12:21 AM.

  2. #2
    Junior Member
    Join Date
    Jul 2013
    Posts
    6
    Anyone have any ideas?

  3. #3
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    24,251
    You'll need to edit the touchRead() code hardware/teensy/cores/teensy3/touch.c.

    There are 3 constants in that code you can change, each with a comment explaining the range. Perhaps try tweaking those numbers.

  4. #4
    Quote Originally Posted by PaulStoffregen View Post
    You'll need to edit the touchRead() code hardware/teensy/cores/teensy3/touch.c.

    There are 3 constants in that code you can change, each with a comment explaining the range. Perhaps try tweaking those numbers.
    Anyone successful in getting proximity sensing to work by modifying these constants? I just saw Touch board and conductive paint (http://www.bareconductive.com/) at Maker Faire and would love to do the same with my teensys

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •