

The TTP223B is a capacitive touch sensor IC designed to detect touch input and output a digital signal. It is widely used in touch-sensitive applications, enabling the creation of touch buttons and interfaces without the need for mechanical switches. This component is compact, reliable, and easy to integrate into various electronic projects.








The TTP223B touch sensor module is typically available as a breakout board for easy integration. Below are its key technical details:
| Parameter | Value |
|---|---|
| Operating Voltage | 2.0V to 5.5V |
| Operating Current | ~1.5µA (low power mode) |
| Response Time | ~60ms (fast mode) |
| Output Type | Digital (Active High) |
| Output Voltage (High) | VCC |
| Output Voltage (Low) | 0V |
| Touch Sensitivity | Adjustable via PCB design |
| Operating Temperature | -30°C to +70°C |
The TTP223B module typically has 3 pins. Below is the pinout description:
| Pin Name | Pin Number | Description |
|---|---|---|
| VCC | 1 | Power supply input (2.0V to 5.5V) |
| GND | 2 | Ground connection |
| OUT | 3 | Digital output pin (HIGH when touched, LOW otherwise) |
VCC pin to a 3.3V or 5V power source and the GND pin to ground.OUT pin to the input pin of a microcontroller or other digital logic circuit.OUT pin will output a HIGH signal (equal to VCC). When not touched, the OUT pin will output a LOW signal (0V).Below is an example of how to connect and use the TTP223B with an Arduino UNO:
VCC → 5V on ArduinoGND → GND on ArduinoOUT → Digital Pin 2 on Arduino// TTP223B Touch Sensor Example with Arduino UNO
// Connect the OUT pin of the TTP223B to digital pin 2 on the Arduino.
#define TOUCH_PIN 2 // Define the pin connected to the TTP223B OUT pin
void setup() {
pinMode(TOUCH_PIN, INPUT); // Set the touch pin as input
Serial.begin(9600); // Initialize serial communication
}
void loop() {
int touchState = digitalRead(TOUCH_PIN); // Read the state of the touch sensor
if (touchState == HIGH) {
// If the sensor is touched, print a message
Serial.println("Touch detected!");
} else {
// If the sensor is not touched, print a different message
Serial.println("No touch detected.");
}
delay(100); // Add a small delay to avoid spamming the serial monitor
}
Sensor Not Responding
False Triggers
Low Sensitivity
Unstable Output
Q: Can the TTP223B detect multiple touches simultaneously?
A: No, the TTP223B is designed to detect a single touch at a time.
Q: Can I use the TTP223B with a 3.3V microcontroller?
A: Yes, the TTP223B operates within a voltage range of 2.0V to 5.5V, making it compatible with 3.3V systems.
Q: How can I adjust the sensitivity of the TTP223B?
A: The sensitivity is primarily determined by the PCB design and the thickness of the overlay material. For breakout boards, sensitivity adjustments are not typically available.
Q: Is the TTP223B waterproof?
A: No, the TTP223B is not waterproof. If you need waterproof functionality, you must use a waterproof overlay material and ensure proper sealing of the sensor.
This concludes the documentation for the TTP223B touch sensor.