

The TTP233H-HA6 touch sensor, manufactured by Tontek Design Technology, is a capacitive touch sensor designed to detect physical touch and activate an LED indicator. This component is widely used in interactive devices, user interfaces, and touch-based control systems. It offers a simple and reliable way to replace traditional mechanical buttons with a touch-sensitive interface.








The TTP233H-HA6 touch sensor is a low-power, high-sensitivity device with the following key specifications:
| Parameter | Value |
|---|---|
| Operating Voltage | 2.0V to 5.5V |
| Operating Current | < 8µA (at 3V, no load) |
| Response Time | ~60ms (fast mode) |
| Output Type | Active Low (default) |
| Touch Sensitivity | Adjustable via external capacitor |
| Operating Temperature | -40°C to +85°C |
| LED Indicator | Built-in |
The TTP233H-HA6 is typically available in a 6-pin SOT-23-6 package. Below is the pinout and description:
| Pin | Name | Description |
|---|---|---|
| 1 | VDD | Power supply input (2.0V to 5.5V). Connect to the positive terminal of the power source. |
| 2 | OUT | Output pin. Goes LOW when touch is detected. Can drive an LED or interface with a microcontroller. |
| 3 | AHLB | Active High/Low selection. Connect to GND for active LOW output (default). |
| 4 | MODE | Mode selection. Connect to GND for fast mode or VDD for low-power mode. |
| 5 | VSS | Ground. Connect to the negative terminal of the power source. |
| 6 | TPAD | Touchpad input. Connect to a conductive touch surface (e.g., copper pad). |
Below is a simple circuit to use the TTP233H-HA6 with an LED indicator:
VDD (3.3V/5V) ----+----[10kΩ]---- MODE (GND for fast mode)
|
+---- AHLB (GND for active LOW)
|
+---- VDD Pin (Power Input)
|
[LED]----[330Ω]---- OUT Pin
|
GND ---- VSS Pin
The TTP233H-HA6 can be easily interfaced with an Arduino UNO. The OUT pin can be connected to a digital input pin on the Arduino to detect touch events. Below is an example Arduino sketch:
// Define the pin connected to the TTP233H-HA6 OUT pin
const int touchPin = 2; // Digital pin 2
const int ledPin = 13; // Built-in LED on Arduino UNO
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 == LOW) { // Active LOW output indicates touch detected
digitalWrite(ledPin, HIGH); // Turn on the LED
Serial.println("Touch detected!");
} else {
digitalWrite(ledPin, LOW); // Turn off the LED
}
delay(100); // Small delay for stability
}
Sensor Not Responding:
False Touch Detection:
LED Not Lighting Up:
Intermittent Behavior:
Q: Can I use the TTP233H-HA6 with a 3.3V microcontroller?
A: Yes, the TTP233H-HA6 operates within a voltage range of 2.0V to 5.5V, making it compatible with 3.3V systems.
Q: How do I adjust the touch sensitivity?
A: The touch sensitivity can be adjusted by changing the value of the external capacitor connected to the TPAD pin. Refer to the manufacturer's datasheet for recommended values.
Q: Can I use multiple TTP233H-HA6 sensors in the same circuit?
A: Yes, but ensure each sensor has its own touchpad and does not share the same conductive surface to avoid interference.
Q: What is the maximum distance for touch detection?
A: The detection distance depends on the size and material of the touchpad. Larger conductive surfaces typically allow for greater detection distances.