This project combines an ESP32 microcontroller with a capacitive touch sensor and OLED display to create an interactive interface. The TTP223 touch sensor detects button presses without mechanical switches, while the SSD1306 OLED screen provides visual feedback, making this setup ideal for building responsive control panels or interactive displays.
This guide includes a complete wiring diagram showing how to connect the touch sensor and OLED display to the ESP32, a full parts list, step-by-step assembly instructions, and the firmware needed to get the system running. Builders will learn how to integrate capacitive sensing with display output to create a functional prototype.
Wiring diagram

Gather all the parts
Assemble it in 2 steps
1. Connect the OLED with USB unplugged
Connect VCC to 3V3, GND to GND, SDA to GPIO21 (data), and SCL to GPIO22 (clock).
2. Connect the touch sensor
Connect VCC to 3V3, GND to GND, and SIG (sometimes marked OUT or I/O) to GPIO27. Use momentary, active-high mode.
- Do not use 5 V for the touch sensor; its output could damage the ESP32.
Review all connections
1. Connections between "oled" and "ESP32"
2. Connections between "touch" and "ESP32"
Deploy the firmware
#include "../include/Nexus.ino"Remix this project
Make it yours in one click
Open a full copy of this project in your own Schematik workspace, diagram, code, parts, and assembly steps included. Swap the sensor, add features, or redesign the whole thing with AI. The author's original stays untouched.




