Capacitive sensors on a wire?

Status
Not open for further replies.

StefanPetrick

Well-known member
Hi,

I would need some capacitive sensors 50 cm next to the Teensy, but it seems impossible to get repeatable readings then.

My guess is, that the additional capacity makes it difficult to track minimal changes of the total capacity.

Cat 6 cable does not help. A "well grounded" Teensy does not help. Differnet resistor values change the sensitivity, but not the repeatability.

Any thoughts, what I could try? Is it even possible?

I use the CapacitiveSensor library, 1k resistors at the reading pins, 4.7M at the shared send pin.

Thanks, Stefan.
 
On Teensy 3.1, use touchRead(pin), where pin is one of the pins with touch sensing. It works much better than CapacitiveSensor.
 
Thank you, Paul! That works way better.

May I ask how it technically works with just one pin? Is the pin toggeled to be send and receive pin?
 
Status
Not open for further replies.
Back
Top