TTP223 Capacitive Touch Sensor Module (Red)
TTP223 Capacitive Touch Sensor Module (Red)
Single-Key Touch Detection with Digital Output for Arduino and DIY Projects
Introduction
The TTP223 is a capacitive touch sensor module that detects human touch through a small metal pad. This low-power module provides a digital output signal when touched and is commonly used in touch-controlled projects.

Key Features
Touch Detection
Sensitive human touch recognition
Low Power
1.5-5.5V operation with low current consumption
Output Modes
Toggle or momentary output modes
Adjustable
Onboard sensitivity capacitor
Technical Specifications
Operating Voltage | 1.5V – 5.5V DC |
---|---|
Current Consumption | 2.5μA (standby), 8μA (active) |
Response Time | 60ms (typical) |
Output Type | Digital (HIGH/LOW) |
Output Mode | Toggle or momentary (jumper selectable) |
Operating Temperature | -20°C to +70°C |
PCB Dimensions | 15mm × 11mm |
Pin Configuration
Pin Label | Function | Connection |
---|---|---|
VCC | Power Supply (1.5-5.5V) | 3.3V/5V |
GND | Ground | GND |
OUT | Digital Output | Digital Pin |
A | Mode Selection | Jumper to GND/VCC |
Note: The “A” pin controls output mode – connect to GND for toggle mode or VCC for momentary mode
Wiring with Arduino

// Basic Digital Connection: // VCC → 5V // GND → GND // OUT → D2 (or any digital pin) void setup() { pinMode(2, INPUT); Serial.begin(9600); } void loop() { if(digitalRead(2) == HIGH) { Serial.println("Touch detected!"); } }
Mode Selection
- Locate the solder jumper labeled “A” on the back of the module
- For toggle mode (touch on/off): Connect “A” to GND
- For momentary mode (active while touched): Connect “A” to VCC
- Default configuration is usually momentary mode
Sensitivity Adjustment

- Locate the small capacitor near the touch pad (typically labeled C1)
- To increase sensitivity: Replace with a smaller capacitor value
- To decrease sensitivity: Replace with a larger capacitor value
- Default is usually 2.2nF (222 marking)
Advanced Applications
Touch-Activated Relay
const int relayPin = 3; const int touchPin = 2; bool relayState = false; void setup() { pinMode(relayPin, OUTPUT); pinMode(touchPin, INPUT); } void loop() { if(digitalRead(touchPin) { relayState = !relayState; digitalWrite(relayPin, relayState); delay(200); // Debounce } }
Capacitive Keyboard
void loop() { if(digitalRead(2)) { Keyboard.press('A'); delay(50); Keyboard.releaseAll(); } }
Multi-Touch Panel
const int touchPins[] = {2,3,4,5}; const int numPins = 4; void checkTouches() { for(int i=0; i<numPins; i++) { if(digitalRead(touchPins[i])) { Serial.print("Touch detected on pin "); Serial.println(i); } } }
Troubleshooting
No Response to Touch
- Verify power connections (1.5V minimum required)
- Check output mode jumper setting
- Try increasing sensitivity capacitor value
False Triggers
- Decrease sensitivity with larger capacitor
- Keep away from metal surfaces
- Add ground plane around touch pad
Inconsistent Behavior
- Ensure stable power supply
- Add 0.1μF decoupling capacitor near VCC/GND
- Check for loose connections
Related Posts
IC 74173 – 4-Bit D-Type Register with 3-State Outputs
IC 74173 - 4-Bit D-Type Register with 3-State Outputs
TTL Quad D Flip-Flop with Asynchronous Clear and Output Enable
...
DIY Metal Detector Kit
DIY Metal Detector Kit
DC 3V-5V Non-Contact Sensor Module with 60mm Detection Range
Introduction
The DIY Metal Detec...
CNC V3 Shield with 4 A4988 Drivers
CNC V3 Shield with 4 A4988 Drivers
Complete Arduino-compatible CNC controller for 3D printers and milling machines
...
CN3791 12V MPPT Solar Charger Module
CN3791 12V MPPT Solar Charger Module
Maximum Power Point Tracking Solar Charge Controller for Lead-Acid/Lithium Batteries
...
CJMCU-TRRS 3.5mm Jack AV Stereo Module
CJMCU-TRRS 3.5mm Jack AV Stereo Module
Compact breakout board for audio/video signal interfacing with TRRS connectors
...
TTP223 Capacitive Touch Sensor Module (Red)
TTP223 Capacitive Touch Sensor Module (Red)
Single-Key Touch Detection with Digital Output for Arduino and DIY Projects
...
Capacitive Soil Moisture Sensor
Capacitive Soil Moisture Sensor
Corrosion-Resistant Humidity Detection for Plants and Agricultural Applications
Intro...
VHM-314 Bluetooth Audio Receiver Board Module
VHM-314 Bluetooth Audio Receiver Board Module
High-fidelity stereo audio receiver with Bluetooth 5.0 and 3.5mm audio output
...
BD243 DIY Mini Tesla Coil Prototyping Kit
BD243 DIY Mini Tesla Coil Prototyping Kit
High-Voltage Wireless Power Demonstration - Build Your Own Spark Gap Tesla Coil
...
Recent Comments