![](https://electroboat.in/uploads/media/2024/SEN2735-550x550.jpg)
![](https://electroboat.in/media/image?path=uploads/media/2024/61aBLfEXhaL__AC_UF350,350_QL50_.jpg&width=620&quality=80)
![](https://electroboat.in/media/image?path=uploads/media/2024/SEN2735-550x550.jpg&width=620&quality=80)
![](https://electroboat.in/media/image?path=uploads/media/2024/images7.jpeg&width=620&quality=80)
![](https://electroboat.in/media/image?path=uploads/media/2024/SEN2735-550x550.jpg&width=175&quality=80)
![](https://electroboat.in/media/image?path=uploads/media/2024/61aBLfEXhaL__AC_UF350,350_QL50_.jpg&width=172&quality=80)
![](https://electroboat.in/media/image?path=uploads/media/2024/SEN2735-550x550.jpg&width=172&quality=80)
![](https://electroboat.in/media/image?path=uploads/media/2024/images7.jpeg&width=172&quality=80)
![](https://electroboat.in/media/image?path=uploads/media/2024/SEN2735-550x550.jpg&width=300&quality=80)
![](https://electroboat.in/media/image?path=uploads/media/2024/61aBLfEXhaL__AC_UF350,350_QL50_.jpg&width=300&quality=80)
![](https://electroboat.in/media/image?path=uploads/media/2024/SEN2735-550x550.jpg&width=300&quality=80)
![](https://electroboat.in/media/image?path=uploads/media/2024/images7.jpeg&width=300&quality=80)
Digital Sensor TTP223B Module Capacitive Touch Switch
The TTP223B module is a widely used capacitive touch sensor module designed for detecting touch input. It operates on the principle of capacitive touch sensing, which allows it to detect the human body's influence on an electric field, even without direct contact (just a near proximity). Here’s a breakdown of its key features and how it works:
₹ 27 ₹48
48
![](https://electroboat.in/assets/front_end/classic/images/cod_logo.png)
![](https://electroboat.in/assets/front_end/classic/images/cancelable.png)
![](https://electroboat.in/assets/front_end/classic/images/returnable.png)
Made In : | India |
Add FAQ
The TTP223B module is a widely used capacitive touch sensor module designed for detecting touch input. It operates on the principle of capacitive touch sensing, which allows it to detect the human body's influence on an electric field, even without direct contact (just a near proximity). Here’s a breakdown of its key features and how it works:
Key Features of the TTP223B Module:
- Capacitive Touch Sensing: It detects the change in capacitance when your finger or any conductive object comes near the sensor pad.
- Low Power Consumption: It's designed to consume minimal power, making it suitable for battery-operated devices.
- Simple Interface: It typically has a simple connection interface for integration with microcontrollers (like Arduino, ESP32, Raspberry Pi, etc.).
- Single-Switch Operation: The TTP223B can control a single digital switch (on/off) based on the touch event.
- Adjustable Sensitivity: The sensitivity of the sensor can sometimes be adjusted, depending on the specific module.
- Active Low Output: The output of the module is generally active low, meaning it outputs a low signal when the touch is detected, and high when there's no touch.
- Operating Voltage: Typically operates on 2.0 to 5.5V, making it compatible with most microcontrollers.
- Easy Integration: The module includes both the TTP223B IC and necessary components, like resistors and capacitors, for easy use in a project.
Pinout of the TTP223B Module:
- VCC: Power supply (2.0V to 5.5V)
- GND: Ground
- OUT: Digital output signal (active low)
- SEN (Optional): Sensitivity pin (often used to adjust the sensor's sensitivity or behavior).
- IRQ (Optional): Interrupt pin (sometimes used in some versions to trigger an external interrupt when a touch is detected).
How it Works:
- Sensing Mode: When a person’s finger or hand approaches the sensor pad, the TTP223B detects the change in capacitance. The human body acts as a conductor and alters the electric field near the sensor.
- Output Signal: Once a touch is detected, the OUT pin is driven low (logic "0"). When no touch is detected, the OUT pin remains high (logic "1").
- Debounce: The TTP223B module has an internal debounce function, so it ignores minor fluctuations or false triggers caused by noise, providing stable touch detection.
Common Applications:
- Touch-sensitive switches for electronics.
- Home automation systems (e.g., controlling lights).
- Portable devices where traditional mechanical buttons are not ideal.
- DIY electronics projects involving microcontrollers like Arduino or ESP32.
Example Wiring with Arduino:
- VCC → 5V pin on Arduino
- GND → GND pin on Arduino
- OUT → Digital pin (e.g., pin 2) on Arduino
Example Code for Arduino:
int touchPin = 2; // Pin connected to the OUT of TTP223B
int ledPin = 13; // Pin connected to an LED (built-in)
void setup() {
pinMode(touchPin, INPUT); // Set the touch pin as input
pinMode(ledPin, OUTPUT); // Set the LED pin as output
Serial.begin(9600); // Start serial communication
}
void loop() {
int touchState = digitalRead(touchPin); // Read the touch sensor state
if (touchState == LOW) { // If touch is detected
digitalWrite(ledPin, HIGH); // Turn on the LED
Serial.println("Touched!");
} else {
digitalWrite(ledPin, LOW); // Turn off the LED
Serial.println("Not Touched!");
}
delay(200); // Small delay to prevent serial print overload
}
Troubleshooting Tips:
- No Output: Check that the module is powered correctly (VCC to 3.3V or 5V as required). Verify the wiring connections.
- False Triggering: Adjust the sensitivity (if supported) or check for external electromagnetic interference.
- Too Sensitive: If the touch sensor reacts too easily, you can try increasing the distance between the sensor and your hand or adjust the sensitivity.
Conclusion:
The TTP223B Capacitive Touch Switch is an easy-to-use, low-cost, and reliable touch detection module. It can be used in a wide variety of applications, from DIY projects to professional product designs, offering a great alternative to traditional mechanical switches.
0 Reviews For this Product
![](https://electroboat.in/uploads/seller/electroboat_logo3.jpeg)