

The TTP223 is a touch sensor IC manufactured by TouchSensor with the part ID TTP223-Touch. This component is designed to detect touch input and output a digital signal, making it an ideal choice for touch-sensitive applications. It enables the creation of touch-activated switches, controls, and interfaces, offering a modern and user-friendly alternative to traditional mechanical buttons.








The TTP223 is a compact and efficient touch sensor IC with the following key specifications:
| Parameter | Value |
|---|---|
| Operating Voltage | 2.0V to 5.5V |
| Operating Current | 1.5µA (typical at 3V) |
| Response Time | ~60ms (fast mode) |
| Output Type | Digital (Active High) |
| Output Drive Capability | Up to 8mA |
| Touch Detection Distance | Up to 5mm (depending on material) |
| Operating Temperature | -40°C to +85°C |
| Package Type | SOT-23-6 or DIP-6 |
The TTP223 IC typically comes in a 6-pin package. Below is the pin configuration:
| Pin Number | Pin Name | Description |
|---|---|---|
| 1 | VDD | Power supply pin (2.0V to 5.5V). Connect to the positive terminal of the power source. |
| 2 | OUT | Digital output pin. Outputs HIGH when touch is detected, LOW otherwise. |
| 3 | AHLB | Active High/Low selection pin. Connect to GND for active high output. |
| 4 | MODE | Mode selection pin. Connect to GND for toggle mode or leave floating for momentary mode. |
| 5 | VSS | Ground pin. Connect to the negative terminal of the power source. |
| 6 | TP | Touch input pin. Connect to the touch-sensitive electrode or pad. |
Below is a simple circuit diagram for using the TTP223 with an Arduino UNO:
// TTP223 Touch Sensor Example with Arduino UNO
// This code reads the digital output from the TTP223 and toggles an LED.
#define TOUCH_PIN 2 // TTP223 OUT pin connected to Arduino digital pin 2
#define LED_PIN 13 // Built-in LED pin on Arduino UNO
void setup() {
pinMode(TOUCH_PIN, INPUT); // Set TOUCH_PIN as input
pinMode(LED_PIN, OUTPUT); // Set LED_PIN as output
Serial.begin(9600); // Initialize serial communication for debugging
}
void loop() {
int touchState = digitalRead(TOUCH_PIN); // Read the state of the touch sensor
if (touchState == HIGH) {
// If touch is detected, turn on the LED
digitalWrite(LED_PIN, HIGH);
Serial.println("Touch detected!");
} else {
// If no touch is detected, turn off the LED
digitalWrite(LED_PIN, LOW);
}
delay(50); // Small delay to debounce the touch input
}
No Response from the Sensor:
False Touch Detection:
Output Signal is Unstable:
Touch Detection Distance is Too Short:
Q1: Can the TTP223 detect multiple touches simultaneously?
A1: No, the TTP223 is designed to detect a single touch input at a time.
Q2: What is the maximum detection distance?
A2: The detection distance can reach up to 5mm, depending on the size of the touch electrode and the overlay material.
Q3: Can I use the TTP223 with a 3.3V microcontroller?
A3: Yes, the TTP223 operates within a voltage range of 2.0V to 5.5V, making it compatible with 3.3V systems.
Q4: Is the TTP223 waterproof?
A4: The IC itself is not waterproof, but you can design a waterproof touch electrode by using a sealed overlay material.
Q5: Can I use the TTP223 for gesture recognition?
A5: No, the TTP223 is a simple touch sensor and does not support advanced features like gesture recognition.