Go Down

Topic: what circuit layout does capsense use? (Read 1 time) previous topic - next topic

aefields

Oct 30, 2011, 11:10 pm Last Edit: Oct 30, 2011, 11:14 pm by aefields Reason: 1
Using capsense library with multiple inputs, do you use this layout?


Or this one?


Or something else?

edit:  On the second drawing I meant to have the third input after the resistor.

johnwasser

If you look at the demo sketch on http://www.arduino.cc/playground/Main/CapSense you will see that it describes the circuit for a single send pin and multiple receive pins:

Code: [Select]

CapSense   cs_4_2 = CapSense(4,2);        // 10 megohm resistor between pins 4 & 2, pin 2 is sensor pin, add wire, foil
CapSense   cs_4_5 = CapSense(4,5);        // 10 megohm resistor between pins 4 & 6, pin 6 is sensor pin, add wire, foil
CapSense   cs_4_8 = CapSense(4,8);        // 10 megohm resistor between pins 4 & 8, pin 8 is sensor pin, add wire, foil


One resistor per sense pin.
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

tkbyd

'Way down at the bottom of....

http://sheepdogguides.com/arduino/art3capsen.htm

.. you'll find a diagram... red, teardrops.

(Other stuff in that may help, too.)

Go Up