Product Description (Detailed Description):
Elevate your electronics projects with modern, sleek input methods using our Touch Sensor Capacitive Touch Switch Module DIY for Arduino (Digital TTP223B A6T2). This compact and highly responsive module offers a seamless way to replace traditional mechanical buttons with intuitive, capacitive touch sensing, making your designs more elegant, durable, and user-friendly.
At its core, the TTP223B A6T2 module operates on the principle of capacitive touch detection. It senses changes in capacitance when a conductive object, like a human finger, approaches or touches its sensor pad. This change is then converted into a clear digital output signal (HIGH when touched, LOW when not touched, in its default mode), which can be easily read by any microcontroller, including Arduino, ESP32, ESP8266, and Raspberry Pi.
This digital touch switch is incredibly versatile and features:
-
Simple 3-Pin Interface: With VCC, GND, and a digital output (SIG) pin, connecting it to your Arduino is straightforward, requiring minimal wiring.
-
Low Power Consumption: Ideal for battery-powered projects, consuming very little power in its standby state.
-
Momentary or Toggle Mode: Depending on the specific configuration pads (often marked A/B or TOG/AHLB, typically solder jumpers or pads for external capacitors), you can set the sensor to behave as a momentary switch (output active only while touched) or a toggle switch (output changes state with each touch, like a flip-flop).
-
Sensitivity Adjustment: Some versions allow for fine-tuning sensitivity by adding an external capacitor, enabling detection through non-conductive materials like glass, acrylic, or thin paper.
-
Onboard LED Indicator: A small LED on the module provides immediate visual feedback when a touch is detected.
The TTP223B capacitive touch sensor is perfect for a myriad of DIY projects for Arduino, including:
-
Smart Lamps: Touch-activated on/off switches or dimmers.
-
Interactive Art Installations: Create responsive displays.
-
Hidden Buttons: Embed switches behind panels of non-conductive material for a clean look.
-
Wearable Technology: Integrate touch input into garments or accessories.
-
Robotics: Simple touch feedback for obstacle detection or user interaction.
Embrace the future of human-machine interaction.
The TTP223B Digital Capacitive Touch Sensor Module is a compact, high-performance electronic touch switch used to detect human touch on its surface. Replacing traditional push-buttons, this module uses capacitive sensing to detect a touch input, offering a more reliable, elegant, and modern solution.
Featuring the TTP223 touch IC, the module outputs a digital HIGH signal when touched and LOW when released (in momentary mode). You can also change it to toggle (latching) mode by modifying the onboard configuration pad.
It is compatible with a wide range of microcontrollers like Arduino, Raspberry Pi, ESP8266, ESP32, STM32, and supports both 3.3V and 5V systems, making it perfect for DIY electronics, home automation, and interactive installations.
Technical Specifications:
Specification |
Details |
Model |
TTP223B |
Sensor Type |
Capacitive Touch Switch |
Operating Voltage |
2V to 5.5V DC |
Operating Current |
~2μA (standby), ~12μA (touch active) |
Output Type |
Digital (High when touched) |
Touch Surface |
PCB electrode (red/blue color may vary) |
Output Voltage |
HIGH: ~VCC, LOW: ~0V |
Response Time |
~60ms (touch), ~220ms (release) |
Board Dimensions |
~15mm x 11mm x 3mm |
Output Pin |
Active High |
I/O Compatibility |
3.3V / 5V microcontrollers |
How to Use (Wiring + Example):
Connections with Arduino:
TTP223 Pin |
Connect To Arduino |
VCC |
5V |
GND |
GND |
OUT |
Digital Pin (e.g., D2) |
Sample Arduino Code:
const int touchPin = 2;
void setup() {
pinMode(touchPin, INPUT);
Serial.begin(9600);
}
void loop() {
int touchState = digitalRead(touchPin);
if (touchState == HIGH) {
Serial.println("Touch Detected");
} else {
Serial.println("No Touch");
}
delay(200);
}
Applications:
-
Touch-activated switches
-
Capacitive button replacements
-
Interactive installations and lighting
-
Home automation panels
-
Wearable tech input
-
Robotics and gesture-based input systems
Package Includes: