-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathelectronics-capsense-simple-qtouch
executable file
·49 lines (40 loc) · 1.84 KB
/
electronics-capsense-simple-qtouch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#!/bin/bash
cat <<'EOT'
Capacitive sensor unit with Active Shield (Driven Shield)
(Simple OPAMP with QTouch SNSK and SNS lines)
From:
Atmel QTAN0087 Proximity Design Guide
https://ww1.microchip.com/downloads/en/Appnotes/doc10760.pdf
Figure 6-3. QTouch-based driven shield
*-----------* SNSK Rsns
| |-------*---------*-----\/\/----------[Electrode]
| | | |
| QT Device | --- Cs | *----[Driven Shield]
| (any) | --- | .\ | |
| | SNS | | | \| |
| |-------* *--|+ \ |
*-----------* | \_____|
| / |
*--|- / |
| | /| | Unity Gain
| '/ | | Buffer
| |
*------------*
"This circuit may also be used for QTouchADC, the only difference in the
circuit would be Cs – it is not required when using QTouchADC.
...
• QTouch requires two processor pins, one optional series resistor (used to
reduce emissions conducted noise) and one capacitor per sensor
• QTouchADC requires one processor pin and one optional resistor (used to
reduce emissions and conducted noise) per sensor
QTouch proximity sensors are touch keys deliberately made over-sensitive. This can be
accomplished using a combination of the following:
• Make the sensing electrode larger
• Increase the value of the sampling capacitor [33;1mCs[;m
• Decrease the touch detection threshold
• Reduce ground loading effects
"
Higher [33;1mRsns[;m results in higher sensitivity sensor *I think*.
For long leads (ex. 1.2m), coax cable can be used, with shielding attached to
driven shield, with electrode lead on center conductor
EOT