ESP32 KY-036 Metal Touch Sensor Module

KY-036 Metal Touch Sensor Module image

KY-036

Protocol: Analog,Digital

Overview

The KY-036 is a metal touch sensor module that detects touch via its metal tip, offering both analog and digital outputs. With adjustable sensitivity, it's ideal for interactive applications and touch-based controls.

About KY-036 Metal Touch Sensor Module

The KY-036 Metal Touch Sensor Module detects touch through its metal tip, providing both analog and digital outputs. The module features an LM393 comparator and a potentiometer to adjust sensitivity, making it suitable for interactive projects and touch-based controls.

Where to Buy

KY-036 Metal Touch Sensor Module

Starting from

$2 per unit

Amazon com
Amazon.com Ships worldwide
View Price
Amazon de
Amazon.de Ships to EU
View Price
Aliexpress
AliExpress Best value
View Price

Prices are subject to change. We earn from qualifying purchases as an Amazon Associate.

Technical Specifications

Operating Voltage 3.3V to 5V
Output Type Analog and Digital
Sensitivity Adjustment Via onboard potentiometer
Dimensions 34mm x 16mm

Pinout Configuration

The VCC pin is used to supply power to the sensor, and it typically requires 3.3V or 5V (refer to the datasheet for specific voltage requirements). The GND pin is the ground connection and must be connected to the ground of your ESP32.

  • +V: Connects to the power supply, typically 3.3V or 5V.
  • GND: Connects to the ground of the circuit.
  • Digital Signal: Outputs a high signal when touch is detected.
  • Analog Signal: Provides the direct analog measurement from the sensor.

Wiring with ESP32

  • +V: Connect to ESP32 3.3V.
  • GND: Connect to ESP32 GND.
  • Digital Signal: Connect to ESP32 GPIO pin (e.g., GPIO15).
  • Analog Signal: Connect to ESP32 ADC pin (e.g., GPIO34).

Troubleshooting Guide

Common Issues

❌ No Response from Sensor

⚠️ False Triggering

Debugging Tips

🔍 Serial Monitor

⚡ Voltage Checks

Code Examples

Arduino Example

C++
🔧

ESP-IDF Example

C++
🏠

ESPHome Example

YAML
🛠️

PlatformIO Example

C++
🐍

MicroPython Example

Python

Conclusion

The ESP32 KY-036 Metal Touch Sensor Module is a powerful KY-0xx module sensor that offers excellent performance and reliability. With support for multiple development platforms including Arduino, ESP-IDF, ESPHome, PlatformIO, and MicroPython, it's a versatile choice for your IoT projects.

For optimal performance, ensure proper wiring and follow the recommended configuration for your chosen development platform.

Always verify power supply requirements and pin connections before powering up your project to avoid potential damage.