

The TP233 is a capacitive touch sensor designed to detect touch input and convert it into an electrical signal. It is widely used in user interfaces for electronic devices, offering a simple and reliable way to replace traditional mechanical buttons. The TP233 is compact, energy-efficient, and highly sensitive, making it ideal for applications such as touch panels, home automation systems, and wearable devices.








The TP233 touch sensor is designed for low-power operation and high sensitivity. Below are its key technical details:
| Parameter | Value |
|---|---|
| Operating Voltage | 2.0V to 5.5V |
| Operating Current | < 8 µA (at 3V) |
| Response Time | ~60 ms |
| Output Type | Digital (Active High/Low) |
| Touch Sensitivity | Adjustable via external resistor |
| Operating Temperature | -40°C to +85°C |
The TP233 is typically available in an SOT23-6 package. Below is the pinout and description:
| Pin Number | Pin Name | Description |
|---|---|---|
| 1 | VDD | Power supply (2.0V to 5.5V) |
| 2 | OUT | Digital output pin (Active High/Low) |
| 3 | VSS | Ground (0V reference) |
| 4 | TTPAD | Touch input pad (connect to touch electrode) |
| 5 | AHLB | Output mode selection (Active High/Low control) |
| 6 | REXT | External resistor pin for sensitivity adjustment |
The TP233 touch sensor is straightforward to use in a circuit. Follow these steps to integrate it into your project:
VDD pin to a 2.0V–5.5V power source and the VSS pin to ground.TTPAD pin to act as the touch-sensitive area.AHLB pin to configure the output mode:AHLB to VDD for active-low output.AHLB to VSS for active-high output.REXT pin to adjust the touch sensitivity. Lower resistance increases sensitivity.OUT pin provides a digital signal that changes state when a touch is detected.Below is a basic circuit diagram for using the TP233 with an Arduino UNO:
VDD to the Arduino's 5V pin.VSS to the Arduino's GND pin.OUT pin to a digital input pin on the Arduino (e.g., D2).TTPAD pin.The following code demonstrates how to use the TP233 with an Arduino UNO:
// Define the pin connected to the TP233 OUT pin
const int touchPin = 2; // Digital pin 2
const int ledPin = 13; // Built-in LED pin
void setup() {
pinMode(touchPin, INPUT); // Set touchPin as input
pinMode(ledPin, OUTPUT); // Set ledPin as output
Serial.begin(9600); // Initialize serial communication
}
void loop() {
int touchState = digitalRead(touchPin); // Read the touch sensor state
if (touchState == HIGH) {
// If touch is detected, turn on the LED
digitalWrite(ledPin, HIGH);
Serial.println("Touch detected!");
} else {
// If no touch is detected, turn off the LED
digitalWrite(ledPin, LOW);
}
delay(100); // Small delay to stabilize readings
}
REXT) based on the size and material of the touch electrode.False Triggers or No Response
REXT resistor value. Use a lower resistance for higher sensitivity or a higher resistance for lower sensitivity.Unstable Output
VDD and VSS.No Output Signal
Q: Can the TP233 detect multiple touches simultaneously?
A: No, the TP233 is designed to detect a single touch input at a time.
Q: What materials can be used for the touch electrode?
A: Conductive materials such as copper foil, aluminum tape, or conductive ink can be used.
Q: How do I increase the detection range?
A: Increase the size of the touch electrode and adjust the REXT resistor for higher sensitivity.
Q: Can the TP233 work with a 3.3V system?
A: Yes, the TP233 operates within a voltage range of 2.0V to 5.5V, making it compatible with 3.3V systems.
By following this documentation, you can effectively integrate the TP233 touch sensor into your projects and troubleshoot common issues with ease.