Zbotic Logo Zbotic Logo
  • Home
  • Shop
  • Sale
  • 3D Print Service
  • PCB Service
  • B2B
  • Blogs
  • Contact Us
0 0

View Wishlist Add all to cart

0 0
0 Shopping Cart
Shopping cart (0)
Subtotal: ₹0.00

View cartCheckout

  • Shop
  • About Us
  • Contact Us
  • Reseller
  • Blogs
020 69134444
1800 209 0998
[email protected]
Help Desk
Facebook Twitter Instagram Linkedin YouTube
Zbotic Logo Zbotic Logo
0 0

View Wishlist Add all to cart

0 0
0 Shopping Cart
Shopping cart (0)
Subtotal: ₹0.00

View cartCheckout

All departments
  • 3D Print Service
  • 3D Printer
  • Batteries & Chargers
  • Development Boards
  • Drone Parts
  • EBike parts
  • Sensor Modules
  • Electronic Components
  • Electronic Modules
  • IoT and Wireless
  • Mechanical Parts and Workbench Tools
  • Motors & Drivers & Pumps & Actuators
  • DIY and Robot Kits
  • Show more
  • Home
  • Shop
  • Sale
  • 3D Print Service
  • PCB Service
  • B2B
  • Blogs
  • Contact Us
Return to previous page
Home Electronics Basics

Touch Switch TTP223: Capacitive Button Module

Touch Switch TTP223: Capacitive Button Module

April 1, 2026 /Posted by / 0

The TTP223 touch switch is a tiny capacitive touch sensor module that replaces mechanical buttons with a simple finger tap. At under ₹30, it is one of the easiest ways to add touch input to your Arduino or ESP32 projects.

Table of Contents

  • What Is the TTP223?
  • How Capacitive Touch Works
  • TTP223 Operating Modes
  • Wiring to Arduino
  • Creative Projects with TTP223
  • Recommended Products
  • Frequently Asked Questions

What Is the TTP223?

The TTP223 is a one-key capacitive touch detection IC made by Tontek Design Technology. The breakout module includes the IC, a touch pad, and supporting components on a small PCB. It operates on 2.0 V to 5.5 V, making it compatible with both 3.3 V and 5 V systems.

When you touch the pad, the module outputs a digital HIGH (or LOW, depending on configuration). No physical pressure is needed — just the proximity of your finger changes the capacitance on the pad, and the IC detects this change.

How Capacitive Touch Works

The touch pad forms one plate of a capacitor. Your finger, connected to earth ground through your body, forms the other plate. When your finger approaches the pad, the total capacitance increases. The TTP223 constantly measures this capacitance and triggers when it exceeds a threshold.

This is why capacitive touch works through thin non-conductive materials like acrylic, glass, or plastic — making it possible to create sealed, waterproof control panels.

TTP223 Operating Modes

The TTP223 module has two solder jumpers (A and B) that configure its behaviour:

Jumper A Jumper B Mode Output
Open Open Momentary Active HIGH
Open Bridged Momentary Active LOW
Bridged Open Toggle (latch) Active HIGH
Bridged Bridged Toggle (latch) Active LOW

The default (both open) is momentary with active HIGH output — output goes HIGH when touched and returns to LOW when released.

Wiring to Arduino

The TTP223 module has just 3 pins:

  • VCC → 3.3 V or 5 V
  • GND → GND
  • SIG (I/O) → Any digital input pin
const int touchPin = 2;
const int ledPin = 13;

void setup() {
  pinMode(touchPin, INPUT);
  pinMode(ledPin, OUTPUT);
}

void loop() {
  if (digitalRead(touchPin) == HIGH) {
    digitalWrite(ledPin, HIGH);
  } else {
    digitalWrite(ledPin, LOW);
  }
}

Creative Projects with TTP223

  • Touch-activated lamp — Use the toggle mode with a relay to switch a desk lamp on and off by tapping a wooden surface.
  • Secret door trigger — Hide the sensor behind a wall panel or bookshelf. Touch the right spot to trigger a servo-controlled latch.
  • Musical touch pads — Array of TTP223 modules, each triggering a different tone through a piezo buzzer.
  • Proximity hand sanitiser dispenser — Extend the touch pad with a wire antenna for contactless detection.
  • Smart mirror buttons — Mount TTP223 modules behind a mirror glass for invisible controls.

Recommended Products from Zbotic

Digital Sensor TTP223B Module Capacitive Touch Switch

View on Zbotic

Capacitive Touch Switch HTTM Touch Button Sensor Module – White

View on Zbotic

Capacitive Touch Switch HTTM Touch Button Sensor Module – RED

View on Zbotic

5V 1 Channel Relay Module

View on Zbotic

Frequently Asked Questions

Can the TTP223 work through glass or acrylic?

Yes, it can detect touch through non-conductive materials up to about 5 mm thick. For thicker materials, you may need to increase the sensitivity by adding a larger copper pad connected to the sensor.

Does the TTP223 work with gloves?

Thin gloves may work, but thick winter gloves will not trigger the sensor. The sensor needs the capacitive coupling of your body, which is blocked by thick insulating material.

How many TTP223 modules can I connect to one Arduino?

As many as you have digital input pins — typically 14 on an Arduino Uno. Each module needs just one data pin plus shared VCC and GND.

Is the TTP223 affected by humidity?

Extreme humidity or water droplets on the pad can cause false triggers. For outdoor installations, coat the PCB with conformal spray and use the module in toggle mode to reduce sensitivity to transient moisture.

Add Touch to Your Projects

Capacitive touch modules starting at ₹25 on Zbotic.in!

Shop Touch Sensors

Tags: electronics basics, Switches
Share Post
  • Facebook
  • Linkedin
  • Whatsapp
Tesla Coil Build: Musical Sing...
blog tesla coil build musical singing tesla coil 613088
blog van de graaff generator static electricity project 613096
Van de Graaff Generator: Stati...

Related posts

Svg%3E
Read more

Coffee Roaster: Temperature Profile Controller Build

April 1, 2026 0
Table of Contents Why Build a Coffee Roaster? Roasting Temperature Profiles Components for the Build Thermocouple Placement PID Profile Controller... Continue reading
Svg%3E
Read more

Sous Vide Cooker: Precision Temperature Water Bath

April 1, 2026 0
Table of Contents What Is Sous Vide Cooking? Precision Temperature Requirements Components for the Build PID Temperature Controller Water Circulation... Continue reading
Svg%3E
Read more

Kiln Controller: High-Temperature Pottery Automation

April 1, 2026 0
Table of Contents What Is a Kiln Controller? Temperature Requirements for Ceramics Components for High-Temperature Control K-Type Thermocouple and MAX6675... Continue reading
Svg%3E
Read more

Heat Gun Controller: Temperature and Airflow Regulation

April 1, 2026 0
Table of Contents What Is a Heat Gun Controller? Temperature and Airflow Regulation Components for the Build PID Temperature Control... Continue reading
Svg%3E
Read more

Soldering Iron Station: PID Temperature Controller Build

April 1, 2026 0
Table of Contents Why Build a Soldering Station? PID Temperature Control for Soldering Components Required Thermocouple Sensing at the Tip... Continue reading

Add comment Cancel reply

Your email address will not be published. Required fields are marked

Facebook Twitter Instagram Pinterest Linkedin Youtube

Get the latest deals and more.

Download on Google Play Download on the App Store

Call us: 020 69134444 / 1800 209 0998

Monday - Saturday 09:30 AM - 06:00 PM
For Technical Supports Email: [email protected]
For Sales / Enquiries Email: [email protected]

  • My Account

    • Cart

    • Wishlist

    • Checkout

    • My Orders

    • Track Order

    • My Account

  • Information

    • FAQs

    • Blogs

    • Career

    • About Us

    • Contact Us

    • Payment Options

  • Policies

    • Privacy Policy

    • Terms & Conditions

    • GST Input Tax Credit

    • Shipping Return Policy

    • E-Waste Collection Points

    • Our Sitemap

© Zbotic.in is registered trademark of Moxie Supply Pvt Ltd – All Rights Reserved
Login
Use Phone Number
Use Email Address
Not a member yet? Register Now
Reset Password
Use Phone Number
Use Email Address
Register
Already a member? Login Now