ELECTRONICS

TTP223 Touch Switch for Raspberry Pi GPIO Control

A worked electronics example, rendered live. Open it in the AI editor and adapt it to your own case.

UPDATED 2026-08-13
EXAMPLETTP223 Touch Switch for Raspberry Pi GPIO Control
Make this diagram your own.

Open it in the AI editor with a prompt pre-filled — keep what works, change what doesn't.

CASE ANALYSIS

Scenario

A TTP223 capacitive touch module is powered from the Raspberry Pi 3.3V rail, and its active-high output drives a GPIO pin through a series resistor while a pulldown resistor keeps the pin low when untouched.

Key decisions

  • Use the Raspberry Pi 3.3V header supply to stay within GPIO voltage tolerance.
  • Add a 100k pulldown on the GPIO input so the pin reads low when the touch pad is idle.
  • Use a 1k series resistor to protect the GPIO pin from transient output conditions.

When to reuse this

Reusable for any 3.3V MCU GPIO when wiring a TTP223 active-high touch switch module with a local bypass capacitor and output conditioning.

Open this example in the editor →

Tweak it with chat, export PNG/SVG, or fork it for your own use case.