No More Buttons! Add Touch Control to Your ESP32
Автор: ResinChem Tech
Загружено: 2025-12-27
Просмотров: 6376
Описание:
Stop using clunky buttons! In this video, we’re diving into the world of capacitive touch for the ESP32. Whether you’re building a sleek bedside alarm clock or a smart home controller, touch sensors offer a modern, durable way to interact with your projects.
I'll cover two distinct methods to help you decide which is best for your build:
A. Built-in Touch Pins: How to utilize the ESP32’s native capacitive GPIOs (no extra hardware required!).
B. TTP223 Sensor: How to integrate this popular, inexpensive module for dedicated touch switching.
What’s inside:
• Getting Started: A beginner-friendly breakdown of how capacitive touch works.
• Hardware Setup: Wiring diagrams for both the internal pins and the TTP223.
• Arduino IDE: C++ code examples (perfect for your bedside clock alarms).
• ESPHome: How to quickly add touch sensors to Home Assistant with just a few lines of YAML.
Whether you're a total beginner or just looking to move away from mechanical switches, this guide has everything you need to get "in touch" with your ESP32.
The companion written guide for this video has a complete parts lists, wiring diagrams, copies of the code samples used and more: https://resinchemtech.blogspot.com/20...
Chapter Breaks
==============
00:00 Intro
01:14 ESP32 Touch-Enabled Pins
03:01 Arduino Example and Testing
05:39 ESPHome Example and Testing
07:55 Expanding the Touch Surface
10:03 Introducing the TTP223 Touch Sensor
12:41 TTP223 Sensor Test Setup
13:45 TTP223 Arduino/ESPHome Examples
16:56 Controlling an AC device with Touch
17:58 Final Thoughts and Info
Parts Used or Shown
===================
ESP32: https://amzn.to/4aqKsQS
TTP223 Touch Sensor: https://amzn.to/44AUoU4
Pin Headers: https://amzn.to/48RwGW8
LED: https://amzn.to/497Ly1H
150Ω Resistor: https://amzn.to/4qjumgz
Dupont Jumpers: https://amzn.to/4pUUm28
Variable Power Supply: https://amzn.to/3MJtjrM
USB A-to-MicroUSB Data Cable: https://amzn.to/4p85Gq5
Protoboard: https://amzn.to/49qttMv
Breadboard Jumpers: https://amzn.to/4amxbc1
Alligator Leads: https://amzn.to/4s52T3V
5V Relay: https://amzn.to/4p3wAQ8
Logic Level Shifter: https://amzn.to/48Q1lmU
Some of these links may be Amazon affiliate links. Use of these links will not affect your pricing, but as an affiliate this channel may earn a small commission if you make a purchase.
Links and Additional Info
=========================
Written Companion Guide: https://resinchemtech.blogspot.com/20...
ESPHome Touch Documentation: https://esphome.io/components/binary_...
It takes significant time, effort and occasionally substantial expense to create these videos. If you'd like to help support this channel and future content, or just say thanks, you can consider buying me a cup of coffee:
https://www.buymeacoffee.com/resinche...
#ESP32 #ESPHome #Arduino
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: