# Capacitive Touch Sensor

**Type:** Product page · **SKU:** CE09449 · **Brand:** [Core Electronics](https://core-electronics.com.au/brands/core-electronics-australia)
**Page:** https://core-electronics.com.au/capacitive-touch-sensor-red.html ([markdown](https://core-electronics.com.au/capacitive-touch-sensor-red.html.md))

A button without the click!

## Pricing

- **Price:** $1.05 (inc GST) — $0.95 AUD, exc GST
- **Quantity discounts:** 5+ $0.94 (exc GST) · 15+ $0.91 (exc GST)

## Availability & dispatch

- In stock, ships same business day if ordered before 2PM (Australia/Sydney).
- We can dispatch 96 today; more stock is typically available with a 8–12 day lead time.

## Description

Add a simple capacitive switch to your projects!

A button is great to show where a user should press, but what if you want to hide the switch behind some cardboard? Use a capacitive touch sensor!

This switch can be configured to behave as a momentary or latching switch, and using high or low output when pressed.

To change the logic output from active high when pressed (default) to active low solder a link between the pads marked **A**.

To change the switch behaviour from a momentary switch (default) to a latching switch solder a link between the pads marked **B**.

The only connections required to use the switch are power (VCC), Ground (GND), and Output (I/O).

### Specifications

- TTP223
- Input voltage: 2.5-5.5V
- Onboard status and power LEDs
- 14.2 x 11 x 3 mm

### Examples

#### Raspberry Pi Pico - Micropython

 ```
from utime import sleep
import machine

onboard_led = machine.Pin(25, machine.Pin.OUT)

cap_touch = machine.Pin(0, machine.Pin.IN)

while True:
    if cap_touch.value() == 0:
        onboard_led.on()
    else:
        onboard_led.off()
        sleep(0.1)
```

## Images

- [Product image 1](https://core-electronics.com.au/media/catalog/product/s/n/sny00138-edit.jpg)
