Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A TTP223 touch switch detects a finger at its electrode and produces a logic signal; it is not, by itself, a safe power switch for motors, LED strips, relays, or other substantial loads. For a typical breakout, identify its supply, ground, and signal pins, use a voltage supported by that board, connect its signal to a compatible digital input, and check the idle and touched readings before building around it.

What a TTP223 touch switch is

The TTP223 is a single-key capacitive touch detector IC designed to replace a conventional push button. Tontek’s current product listing gives an operating supply range of 2.0–5.5 V for the TTP223-BA6 and TTP223-HA6; it lists a typical operating current of 1.5 μA at 3 V. Those are IC specifications, not guaranteed consumption figures for a completed breakout, which may include other components. Tontek’s TTP223 series listing

A breakout board adds a touch electrode and usually provides power, ground, and a digital signal pin. It makes prototyping easier, but its pin labels, voltage compatibility, output polarity, and operating mode depend on the particular board and revision. For example, the HandsOn Technology TTP223B+ guide documents a breadboard-friendly module configured for momentary, active-high output; that configuration should not be assumed for every board. HandsOn Technology TTP223B+ guide

Identify the board pins and configuration

Before connecting anything, read the labels printed on your module and consult its maker’s documentation. A common three-pin layout uses VCC for supply, GND for ground, and SIG or OUT for the signal, but labels and layout are not universal. Check the board’s rated supply rather than relying only on the IC’s 2.0–5.5 V range: components and design choices on a finished module can affect what voltage it accepts. Some boards also expose solder bridges or other configuration options; others are fixed to one mode and polarity.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
ALAMSCN 20PCS TTP223 Capacitive Touch Switch Button Sensor Module Self Locking for Arduino…
  • The module is based on a touch-sensing IC TTP223 capacitive touch switch module, it allows you to avoid the trouble of conventional push-type buttons.
  • Size: 15*11mm
  • Modes: jog, self-locking
  • Power Supply: 2.5V-5.5V
  • Package Include: 20PCS TTP223 Capacitive Touch Switch Sensor

The AZ-Delivery manual, for example, shows a module with VCC, GND, and SIG and a microcontroller input connection. Treat it as a board-specific example, not a universal pinout. AZ-Delivery module manual

Wire a TTP223 module to a controller

  1. Power off the prototype. Confirm the module’s supply range in its own documentation.
  2. Connect supply and ground. Wire the board’s VCC to a compatible supply and GND to the controller’s ground. The shared ground gives the controller a reference for reading the signal.
  3. Connect the signal. Wire SIG or OUT to a compatible digital input. The HandsOn Technology example reads its module on Arduino digital pin 2; that is an example pin choice, not a requirement for other boards or controllers.
  4. Power up without touching the electrode. The TTP223 specification describes about 0.5 seconds of stable-time after power-up, during which touch detection is disabled. Leave the sensing area alone during startup.
  5. Read both states. Use a minimal serial-print or LED test to record the input when untouched and when touched. Confirm the actual polarity and whether the output returns to idle on release before using it in a larger program.

For the documented HandsOn Technology board, the signal is active-high and momentary: it reads HIGH during a touch and LOW when idle. Other modules can be active-low or configured to toggle, so testing your own board is essential.

Rank #2
5PCS TTP223 Capacitive Touch Switch Module TTP223B Digital Touch Sensor Module Capacitive Touch Sensor Switch
  • Capacitive type touch switch module The module is based on a touch detection IC (TTP223B)'s. Under normal conditions, the module output low, low-power mode to mode; touch of a finger when the corresponding position, the module will output high, the mode is switched to fast mode; when for 12 seconds without touching, the mode and switch to low power mode.
  • For Jog type: the initial state is low, high touch, do not touch is low (similar touch of a button feature)
  • Power supply for 2 ~ 5.5V DC
  • Control Interface: A total of three pins (GND, VCC, SIG), GND to ground, VCC is the power supply, SIG digital signal output pin;
  • Power Indicator: Green LED, power on the right that is shiny;

Understand the output modes

The TTP223 specification describes several selectable behaviors. A breakout may make only one of them available, and its seller’s board documentation takes precedence over assumptions based on the IC alone.

Choice What it means
Direct (momentary) or toggle In direct mode, output follows touch detection. In toggle mode, successive touches change the retained output state.
Active-high or active-low Active-high uses a high logic level for the active condition; active-low uses a low level. Verify which level your board reports during touch.
Fast or low-power Fast mode prioritizes response time; low-power mode reduces IC current and can delay first-touch response.
CMOS Q or open-drain OPDO These are different output interfaces. An open-drain output needs an appropriate external pull-up or interface and should not be treated as a push-pull logic output.

For the TTP223 Version 1.0 specification dated 2007-04-08, maximum response time at 3 V is about 60 ms in fast mode and 220 ms in low-power mode. In the same specification, typical IC current at 3 V with no output load and SLRFTB=1 is 3.5 μA in fast mode and 1.5 μA in low-power mode. These are specified IC figures under the stated conditions, not measurements of a finished module. TTP223 Version 1.0 preliminary specification

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Lonely Binary 12-Pack TTP223 Capacitive Touch Sensor for C++ & ESP32
  • 【PACK OF 12 MODULES】12 TTP223 touch sensor modules for prototyping, repairs, or multiple projects — suitable for hobbyists, makers, and educators.
  • 【GOLD EDITION ENIG FINISH】Immersion gold (ENIG) plating for good conductivity and corrosion resistance. Lead-free, RoHS-compliant manufacturing.
  • 【WIDE VOLTAGE COMPATIBILITY】Supports both 3.3V and 5V MCU systems — works with Raspberry Pi Pico, ESP32, ESP32-S3, and other microcontroller projects.
  • 【CAPACITIVE TOUCH SENSITIVITY】Single-channel TTP223 IC for touch detection — replaces mechanical buttons in IoT devices, smart switches, lamps, and interactive electronics.
  • 【EASY INTEGRATION】Compact size with clear pinouts (VCC, GND, I/O) and low power consumption for DIY applications.

Use the signal to control a load safely

Use SIG or Q as a logic signal for a controller input or a suitable driver. The datasheet’s source and sink test characteristics do not establish a safe load rating for every breakout board. If the project needs to switch a motor, LED strip, relay, or other meaningful load, choose a properly rated transistor, MOSFET, relay module, or dedicated driver and follow that component’s input and current requirements. Do not connect a TTP223 module directly to hazardous voltage or treat it as mains-rated.

Adjust sensitivity and address missed or false touches

Touch response depends on the electrode, its trace capacitance, the cover material, wiring, and nearby conductive objects. The manufacturer’s specification says that, with other factors fixed, a larger electrode increases sensitivity and a thinner nonmetal cover generally increases it. For a custom PCB, an optional capacitor Cs from the sensing node to ground can reduce sensitivity; the specification describes an adjustment range of 0–50 pF. Those are circuit-design options, not necessarily controls available on a ready-made breakout.

Rank #4
D-FLIFE 100pcs TTP223 Touch Switch Module Capacitive Sensor Switch DIY for Arduino Raspberry Pi
  • 100pcs TTP223 Capacitive Switch Button Module Self-Lock Switch Button Module High Low Level Output
  • TTP223 Capacitive Switch Button Module
  • The power supply of the TTP223 touch switch button module is 2.5 to 5.5V.
  • These TTP223 touch switch button modules are made of CCL with premium quality and long service life.
  • If touches are missed: check supply and ground, confirm the input is interpreted with the correct polarity, and check whether the electrode is too small or obscured by the cover. Make sure the controller and sensor share ground.
  • If it triggers without a touch: inspect wiring and nearby conductive material. Reduce sensitivity only if the board design provides a suitable adjustment.
  • If behavior changes with the enclosure: test the final physical assembly. The manufacturer advises against covering material containing metal or electrical elements, and supply disturbances can contribute to sensitivity anomalies or false detections.
  • If startup seems unresponsive: allow the roughly 0.5-second power-up stable-time to pass with the electrode untouched. The specification also describes automatic recalibration about every 4 seconds while the key is not touched.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Know the maximum-on behavior

The IC’s configuration can enable or disable a maximum-on timer. When enabled, the specification describes a maximum duration of about 100 seconds; after a timeout, output returns to its initial inactive state until a new detection. A breakout may fix this setting, so consult its documentation if a long continuous touch matters to the application.

Quick Recap

Bestseller No. 1
ALAMSCN 20PCS TTP223 Capacitive Touch Switch Button Sensor Module Self Locking for Arduino…
ALAMSCN 20PCS TTP223 Capacitive Touch Switch Button Sensor Module Self Locking for Arduino…
Size: 15*11mm; Modes: jog, self-locking; Power Supply: 2.5V-5.5V; Package Include: 20PCS TTP223 Capacitive Touch Switch Sensor
$6.99
Bestseller No. 2
5PCS TTP223 Capacitive Touch Switch Module TTP223B Digital Touch Sensor Module Capacitive Touch Sensor Switch
5PCS TTP223 Capacitive Touch Switch Module TTP223B Digital Touch Sensor Module Capacitive Touch Sensor Switch
Power supply for 2 ~ 5.5V DC; Power Indicator: Green LED, power on the right that is shiny;
$5.99
Bestseller No. 4
D-FLIFE 100pcs TTP223 Touch Switch Module Capacitive Sensor Switch DIY for Arduino Raspberry Pi
D-FLIFE 100pcs TTP223 Touch Switch Module Capacitive Sensor Switch DIY for Arduino Raspberry Pi
TTP223 Capacitive Switch Button Module; The power supply of the TTP223 touch switch button module is 2.5 to 5.5V.
$10.99
Best Value
HiLetgo 10pcs TTP223B Capacitive Touch Switch Module Touch Sensor Switch Digital Capacitive Touch Sensor Switch DC 2~5.5V
  • This is the "momentary" variety of the touch sensor - touch and it turns on, release and it turns off.
  • Positive and negative can be used as a touch surface,can replace the traditional touch button.
  • Four M2 screws positioning holes for easy installation.Module can be installed in such as surface plastic, glass of non-metallic materials.
  • In addition to the thin paper ( non-metallic ) covering the surface of the module , as long as the correct location of the touch , you can make hidden in the walls, desktops and other parts of buttons.
  • The module is based on a touch-sensing IC (TTP223B) capacitive touch switch module. In the normal state, the module output low, low power consumption; When a finger touches the corresponding position, the module output high, if not touched for 12 seconds, switch to low-power mode.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.