ARDUINO KY-036 Metal Touch Sensor Module User Manual

Description:

There are two built-in LEDs on the sensor module. The LED1 shows that the sensor is supplied with voltage and the LED2 will show that the sensor is detecting magnetic field. The main component of the KY-036 Metal Touch sensor module on its circuit board is the sensor unit at the front of the module which measures the area physically and send an analog signal to the second unit, the amplifier. The amplifier amplifies the signal according to the resistors value of the potentiometer and send the signal to the analog output of the Metal Touch Sensor module. The third component is a comparator which switch the digital output and the LED. If the signal falls under a specific value you can control the sensitivity by adjusting the potentiometer, here please note the signal will be inverted that may that if you measure a higher-level high value it is shown as a low-voltage value at the analog output. The sensor does not show absolute value it is a relative measurement you define an extreme value to a given normal environment situation and a signal will be sent if the measurement exceeds the extreme value.

Application:

The way the KY-036 Metal Touch sensor module works is that it detects electrical conductivity and our bodies are like big conductors and if we touch the sensor then the Arduino will detect a signal. We use this kind of technology every day with touch screens on our mobile devices. A good example of this sensor is the security of table saws the technology behind it’s actually quite simple the blade carries a small electrical charge.

This charge is continuously monitored by a digital signal processor when contact is made the human body absorbs some of the charge causing the voltage to drop, the drop in voltage triggers a quick release aluminum break, a heavy-duty spring forces the break into the teeth of these spinning blade, the teeth dig into the aluminum stopping, the blade cold the blades momentum forces it to retract below the table and the motor is automatically shut off

Working Principle:

Let us quickly understand the working principle of the KY-036 Metal Touch sensor module. Basically, the functionality of the KY-036 Metal Touch sensor module is divided into three main components first the sensor unit at the front of the module which measures the area physically and sends an analog signal to the second unit the amplifier. The amplifier basically amplifies the signal and according to the resistance value of the potentiometer and sends the signal to the analog output of the module also you can set the sensitivity of the sensor by adjusting the knob of the potentiometer. If you rotate it in clockwise direction you can increase the sensitivity and if you rotate it in anti- clockwise direction you can reduce the sensitivity as shown in the diagram.

The comparator will switches the digital out and turn on the led if the signal falls under a specific value.

KY-036 Pinout:

Interfacing KY-06 with Arduino, Circuit:

We will be using digital signal pin, the VCC pin, and the ground of the sensor to interface it with Arduino

This is the circuit diagram for the KY-036 Metal Touch sensor module interface with the Arduino. We are going to connect the ground pin with the ground of the Arduino. The VCC of the sensor will be connected with the 5V of the Arduino. The digital pin of the sensor will be connected with the digital pin number 8 of the Arduino. Connect the led with pin number 13 of the Arduino I am using a 5v led, if you are using a standard 2.5 LED then don’t forget to add a resistor of 330 ohms with the LED, otherwise the LED will burnout.

KY-036 Metal Touch sensor Arduino Code:

1

2

3

4

5

6

7

8

9

10

11

12

13

int led = 13; int val;

int sensorpin = 9;

 

void setup() {

pinMode (led,OUTPUT); pinMode (sensorpin,INPUT);

 

}

 

void loop() {

val= digitalRead(sensorpin); if (val==HIGH)

So, if you go ahead and upload this code, you will be able to control the LED. This is just a basic program to check if it is really working.

KY-036 touch sensor with Arduino and Relay module:

Now we will connect the touch KY-036 Touch Sensor with Arduino and relay module and when we touch the sensor bulb will turn on and in this way we can control home appliances and turn it on and off by just touching the sensor.

Components Required:

  • KY-036 touch sensor
  • Arduino UNO
  • Relay module
  • Bulb

KY-036 Circuit Connection:

  • Connect the ground pin of the KY-036 touch sensor with the ground of the Arduino
  • Connect the VCC of the touch sensor with the 5 V of the Arduino
  • Connect the touch sensor Vo at the digital pin 8
  • Connect the relay module at the digital pin number D9
  • Connect the ground of the relay module with the ground of the Arduino
  • Connect 5V supply to the relay module
  • Connect the normally open contact of the relay module with the bulb
  • Connect the other normally closed of the relay module with the switch
  • Connect the other terminal of the switch with the bulb
  • Now the circuit is completed and after uploading the code when we will touch the sensor the bulb will be

KY-036 touch sensor Arduino Code to control a Bulb:

 

Read More About This Manual & Download PDF:

Documents / Resources

ARDUINO KY-036 Metal Touch Sensor Module [pdf] User Manual
KY-036 Metal Touch Sensor Module, KY-036, Metal Touch Sensor Module, Touch Sensor Module, Sensor Module

References

Leave a comment

Your email address will not be published. Required fields are marked *