Forum Rule: Always post complete source code & details to reproduce any issue!
-
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.
-
-
Senior Member
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.
-

Originally Posted by
PaulStoffregen
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
-
Forum Rules