Capacitive TouchRead() Range/Sensitivity?

Status
Not open for further replies.

helium

Member
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:
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.
 
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
 
Status
Not open for further replies.
Back
Top