Skip to content

Commit 5bf59a2

Browse files
committedMar 6, 2024
Update capacitive touch with specific example
1 parent f42d6b9 commit 5bf59a2

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed
 

‎examples/ingredients/capacitive_touch.md

+15-4
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,24 @@ A capacitive touch sensor allows you to sense the presence of fingers near a lar
66

77
Some microcontrollers (like the ESP32 series) have capacitive touch sensors built in, or you can add a capacitive touch integrated circuit.
88

9+
> Recommended part: TTP233H-HA6
10+
>
11+
> Recommended pad: "TOUCHPAD 12mm circle nopaste nomask"
12+
913
## Example Circuit
1014

11-
### Specific part with pinout!
15+
![](https://cloud-q3gbbbgp4-hack-club-bot.vercel.app/0screenshot_2024-03-04_at_17.09.03.png)
16+
17+
## Pinout
1218

13-
The TTP233H-HA6 is a great IC available on JLCPCB that can do capacitive touch sensing.
19+
- Q: The signal output. Whatever you're trying to control should connect to Q.
20+
- TOG: This is the toggle pin. If you connect this to VCC, the IC will toggle between on and off. If you connect this to GND, the IC is only on when you're actively touching it.
21+
- VSS: Ground
22+
- VDD: Power
23+
- I: Input from the touchpad. This can be any type of conductive material.
24+
- AHBL: Active high/low setting. If connected to VCC, Q will be charged when you're touching the pad. If connected to GND, Q will do the opposite.
1425

15-
## LED Example
26+
<!-- ## LED Example
1627
1728
For the sensing touchpad, we use the part "TOUCHPAD 12mm circle nopaste nomask" from the EasyEDA User Contributed library. It's essentially a 12mm diameter circle in the copper layer of your PCB, with a circular silkscreen to show where it is.
1829
@@ -22,7 +33,7 @@ In addition, there's a decoupling capacitor next to each TTP233H, because this i
2233
2334
The IC is driving a P-channel MOSFET, which allows you to drive high power loads from this IC.
2435
25-
When AHLB is connected to VCC, Q is low when you are touching the pad, and Q is high when you are not touching the pad. Because this is a P-Channel MOSFET, in this configuration, it allows current to flow through the LED when Q (connected to the MOSFET's base) is ground (i.e. you are touching the pad). (see ./MOSFET.md).
36+
When AHLB is connected to VCC, Q is low when you are touching the pad, and Q is high when you are not touching the pad. Because this is a P-Channel MOSFET, in this configuration, it allows current to flow through the LED when Q (connected to the MOSFET's base) is ground (i.e. you are touching the pad). (see ./MOSFET.md). -->
2637

2738

2839

0 commit comments

Comments
 (0)
Please sign in to comment.