KY-036 Metal Touch Sensor Module – LM393 (4 Pin)
1. What Is a KY-036 Metal Touch Sensor Module?
The KY-036 Metal Touch Sensor Module is an electronic touch detection sensor designed to detect human finger contact with an exposed metal sensing probe.
It features an LM393 comparator circuit, adjustable potentiometer, analog output and digital output.
When a finger touches the metal sensing element, the electronic sensor circuit responds to the electrical characteristics of the contact and produces a signal that can be processed by a microcontroller.
The KY-036 Metal Touch Sensor Module is commonly used in Arduino projects, touch-controlled switches, interactive electronics, alarm prototypes and educational STEM applications.
2. What Can You Build With a KY-036 Metal Touch Sensor Module?
The KY-036 Metal Touch Sensor Module is suitable for applications such as:
- Touch-controlled LED switches
- Touch-activated buzzer projects
- Electronic touch buttons
- Interactive robotics projects
- Touch-controlled notification systems
- DIY electronic alarm prototypes
- Arduino touch detection experiments
- Touch-operated counters
- Interactive educational models
- ESP32 touch-controlled automation
- STEM and engineering projects
- Human-machine interface demonstrations
3. Who Is It For?
The KY-036 Metal Touch Sensor Module is suitable for:
- Beginners learning electronics
- School and college students
- Engineering students
- Arduino and ESP32 enthusiasts
- Robotics hobbyists
- IoT project developers
- STEM educators and trainers
- DIY electronics makers
It is particularly useful for learning about electronic sensing, comparators, analog and digital signals, touch detection and microcontroller programming.
4. How Does a KY-036 Metal Touch Sensor Work?
The KY-036 Metal Touch Sensor uses a transistor-based sensing circuit to respond to electrical contact with the exposed metal probe.
When a finger touches the probe, the electrical conditions at the sensor input change.
The onboard circuitry processes this signal, while the LM393 comparator generates a digital output according to an adjustable threshold.
The potentiometer allows users to change the detection threshold to suit their circuit and operating conditions.
Working principle:
Finger Touch → Metal Probe → Transistor-Based Sensing Circuit → LM393 Comparator → Digital Output → Microcontroller
Analog Output (AO):
Provides an analog voltage related to the sensing circuit’s electrical state.
Digital Output (DO):
Provides a HIGH or LOW signal based on the detection threshold configured using the onboard potentiometer.
The module is intended for touch detection rather than calibrated measurement of touch pressure or intensity.
5. Technical Specifications
| Specification | Details |
|---|---|
| Product Type | Metal Touch Sensor Module |
| Reference Model | KY-036 Type |
| PCB Marking | HW-484 V0.2 |
| Comparator IC | LM393 |
| Sensing Method | Metal-contact electronic touch detection |
| Typical Operating Voltage | 3.3–5V DC |
| Output Type | Analog and Digital |
| Analog Output | AO |
| Digital Output | DO |
| Number of Pins | 4 |
| Pin Labels | DO, +, G, AO |
| Detection Threshold | Adjustable |
| Adjustment Method | Onboard potentiometer |
| Indicators | Power and detection LEDs |
| PCB Colour | Red |
| Mounting | PCB mounting holes |
| Applications | Touch-controlled electronics and automation |
The operating-voltage range is based on standard KY-036 reference modules. Exact electrical characteristics depend on the supplied board.
Operating precautions:
- Do not apply excessive force to the metal sensing element.
- Avoid exposing the module to moisture or conductive contaminants.
- Use a suitable regulated power supply.
- Verify output voltage compatibility before connecting to a 3.3V microcontroller.
- Do not use this exposed-contact module as a mains-voltage touch switch.
6. KY-036 Metal Touch Sensor Pinout
The module has four electrical connection pins.
| Pin | Function |
|---|---|
| DO | Digital touch detection output |
| + | Positive power supply (VCC) |
| G | Ground (GND) |
| AO | Analog output |
When viewing the front of your module with the metal probe facing downward and the connection pins at the top, the order from left to right is:
DO → VCC (+) → GND (G) → AO
Always verify the labels printed on the PCB before wiring.
7. How to Connect a KY-036 Metal Touch Sensor to Arduino
The KY-036 Metal Touch Sensor Module can be connected to an Arduino Uno using four jumper wires.
Required components:
- 1 × KY-036 Metal Touch Sensor Module
- 1 × Arduino Uno
- Jumper wires
Wiring connections:
| KY-036 Sensor | Arduino Uno |
|---|---|
| DO | Digital Pin D2 |
| + | 5V |
| G | GND |
| AO | Analog Pin A0 |
After connecting the sensor, adjust the potentiometer until the digital output responds reliably to finger contact.
The digital output is suitable for touch-triggered actions, while the analog output can be used to observe changes in the sensing circuit.
8. Arduino Example Code
The following Arduino program reads the digital and analog outputs of the KY-036 Metal Touch Sensor Module.
const int touchDigitalPin = 2;
const int touchAnalogPin = A0;
void setup() {
pinMode(touchDigitalPin, INPUT);
Serial.begin(9600);
}
void loop() {
int digitalValue = digitalRead(touchDigitalPin);
int analogValue = analogRead(touchAnalogPin);
Serial.print("Digital Output: ");
Serial.print(digitalValue);
Serial.print(" | Analog Output: ");
Serial.println(analogValue);
delay(200);
}
How to test the sensor:
- Connect the KY-036 sensor to Arduino.
- Upload the code using Arduino IDE.
- Open the Serial Monitor at 9600 baud.
- Touch the exposed metal sensing probe.
- Observe the digital and analog readings.
- Release the probe and observe the readings again.
- Adjust the onboard potentiometer if the digital output does not switch reliably.
The digital signal may be active HIGH or active LOW depending on the module’s circuit and threshold setting.
The analog reading is a raw ADC value rather than a calibrated measurement of touch strength.
9. Beginner Project: Touch-Controlled LED
Build a touch-operated LED switch using the KY-036 Metal Touch Sensor Module and an Arduino Uno.
Components required:
- 1 × KY-036 Metal Touch Sensor Module
- 1 × Arduino Uno
- 1 × 5mm Red LED
- 1 × 330Ω resistor
- Breadboard
- Jumper wires
Wiring connections:
- KY-036 DO → Arduino D2
- KY-036 + → Arduino 5V
- KY-036 G → Arduino GND
- Red LED anode → Arduino D8 through a 330Ω resistor
- Red LED cathode → Arduino GND
Example Arduino code:
const int touchPin = 2;
const int ledPin = 8;
// Verify and change to LOW if necessary.
const int detectedState = HIGH;
void setup() {
pinMode(touchPin, INPUT);
pinMode(ledPin, OUTPUT);
}
void loop() {
int touchState = digitalRead(touchPin);
if (touchState == detectedState) {
digitalWrite(ledPin, HIGH);
} else {
digitalWrite(ledPin, LOW);
}
delay(50);
}
Project operation:
- When the metal probe is touched, the LED turns ON.
- When the touch is released, the LED turns OFF.
- The potentiometer can be adjusted to achieve reliable switching.
If the LED behaves in the opposite way, change the detectedState setting after verifying the sensor’s output.
This project introduces touch detection, digital inputs, conditional programming and LED control.
10. Related Products
Complete your electronics project with:
- TTP223 Touch Sensor Module
- Arduino Uno R3 Compatible Programmable Board
- ESP32 Development Board
- 5mm Red LED
- 5mm Green LED
- 5mm Blue LED
- 5mm LED Assorted Pack of 5
- 5V Passive Buzzer
- RGB LED Module
- 6x6x5mm Tactile Push Button Switch
- LM393 LDR Light Sensor Module
- Breadboard
- Jumper Wires
- 330Ω Resistor
11. Related Tutorials
Explore these electronics learning topics:
- How to Use a KY-036 Metal Touch Sensor with Arduino
- How to Build a Touch-Controlled LED Circuit
- KY-036 vs TTP223 Touch Sensor
- How to Connect a Metal Touch Sensor to ESP32
- Understanding the LM393 Comparator
- Analog vs Digital Touch Sensor Outputs
- How to Adjust Touch Sensor Sensitivity
- How to Build a Touch-Activated Buzzer
- Introduction to Touch-Controlled Electronics
- How to Create an Interactive Touch Switch
12. Frequently Asked Questions
What is a KY-036 Metal Touch Sensor Module?
The KY-036 Metal Touch Sensor Module is an electronic sensor that detects finger contact with an exposed metal probe and provides analog and digital outputs.
How does the KY-036 touch sensor work?
It uses a transistor-based electronic sensing circuit to respond to contact with the metal probe. The LM393 comparator provides a digital signal based on an adjustable threshold.
What is the operating voltage of the KY-036 sensor?
Standard KY-036 modules typically operate at 3.3–5V DC.
Does this sensor provide analog and digital outputs?
Yes. The module provides AO and DO terminals.
What is the function of the LM393 comparator?
The LM393 comparator processes the sensing circuit’s voltage and produces a digital output according to the configured threshold.
Can I adjust the sensor’s sensitivity?
Yes. The onboard potentiometer adjusts the electronic detection threshold.
Can I use the KY-036 Metal Touch Sensor with Arduino?
Yes. The module can be connected to Arduino using its analog or digital output.
Can I use this sensor with ESP32?
Yes. Use an appropriate supply voltage and ensure that its output signals remain within the ESP32’s GPIO and ADC limits.
What is the difference between KY-036 and TTP223?
The KY-036 detects electrical contact with an exposed metal sensing probe using transistor-based circuitry, while the TTP223 detects changes in capacitance through its touch electrode.
Does the KY-036 sensor detect touch through plastic or glass?
It is primarily intended for direct contact with the exposed metal probe. For touch detection through nonconductive surfaces, a capacitive touch sensor such as the TTP223 is generally more suitable.
Can the KY-036 measure touch pressure?
No. The KY-036 is designed for touch detection, not calibrated pressure measurement.
Can I use this sensor as a touch switch?
Yes. Its digital output can be used by a microcontroller to control LEDs, buzzers or other low-voltage electronic circuits.
Does the sensor require a separate touch plate?
No. The module includes a metal sensing probe.
Can I use the KY-036 sensor to control a mains-powered appliance?
The sensor must not be connected directly to mains voltage. Any mains-controlled application requires properly isolated and rated switching equipment.
Where can I buy a KY-036 Metal Touch Sensor Module in Surat?
You can purchase the KY-036 Metal Touch Sensor Module online from Yagobotix with same-day delivery and pickup available in Surat.
13. What Is Included?
- 1 × KY-036 Metal Touch Sensor Module – LM393, 4 Pin, Red PCB
The supplied module includes the sensing probe, comparator circuitry, adjustment potentiometer and pin header.
Arduino boards, breadboards, jumper wires, LEDs and other electronic accessories are not included.
14. Compatibility
The KY-036 Metal Touch Sensor Module can be used with suitable electronic systems involving:
- Arduino Uno
- Arduino Nano
- Arduino Mega
- ESP32
- ESP8266 NodeMCU
- Raspberry Pi
- STM32 development boards
- Other compatible microcontrollers
- Custom electronic control circuits
For 3.3V microcontrollers, use a compatible module supply voltage and verify output levels.
Raspberry Pi requires an external ADC to read the analog output.
The digital output can be connected to a compatible GPIO input.
15. Buy KY-036 Metal Touch Sensor Module Online in India
Add touch detection to your electronics projects with the KY-036 Metal Touch Sensor Module from Yagobotix.
Featuring a metal sensing probe, LM393 comparator, adjustable threshold and analog and digital outputs, this compact module is suitable for interactive electronics, touch-controlled indicators, robotics and educational projects.
Whether you are experimenting with touch detection or building an interactive Arduino project, the KY-036 module offers a convenient way to introduce touch-based input control.
Why Choose Yagobotix?
- Electronic components for students, hobbyists and engineers
- Sensors and modules for Arduino and ESP32
- Shipping across India
- Same-day delivery available in Surat
- Same-day pickup available in Surat
Same-day services are subject to stock availability, delivery coverage and applicable order cut-off times.
Add the KY-036 Metal Touch Sensor Module to your cart and start building your next interactive electronics project with Yagobotix!






There are no reviews yet.