1. Touch Sensor User Manual
1.1 Introduction to Touch Sensor
1.1.1 Sensor Introduction
This is a capacitive touch sensor designed for controlling devices, such as switching lights on and off or operating doorbell buttons. The sensor features LEGO-compatible mounting holes, allowing for creative DIY projects.
1.1.2 Working Principle
The sensor detects human touch or metal contact via a gold-plated contact surface. When no human or metal object is in contact with the sensor, the signal pin outputs a high voltage. When a human or metal object touches the surface, the signal pin outputs a low voltage.
Additionally, the sensor can detect touch through materials such as plastic or paper, with sensitivity depending on the size of the contact surface and the thickness of the material.
When the sensor detects touch, the LED light located at the bottom-left corner of the metal surface will illuminate, indicating that human or metal contact has been detected.
When the metal surface is touched, the LED light at the bottom-left corner will light up, signaling that contact with either a human or metal object has been detected.
1.2 Notice
(1) Do not exceed the specified voltage range during use.
(2) The sensor only detects conductive materials such as the human body or metal. It will not respond to non-conductive materials.
(3) Touching the sensor through materials like plastic or paper is possible, but the thickness of the covering material should be minimal. Otherwise, the sensor may fail to detect the touch.
(4) The sensitivity of the sensor is affected by the size of the contact surface and the thickness of the covering material. Ensure that the contact area is appropriately sized for optimal detection.
1.3 Parameters Instruction
For details about the chip used in this module, please refer to “Chip Manual and Schematic”
1.3.1 Pin Description
| PIN | PIN Instruction |
|---|---|
| 5V | Power Supply |
| GND | Ground cable |
| OUT | When sensor does not detect the contact, OUT terminal will output high level signal (1). When the contact is detected, OUT terminal will output low level signal (0). |
| NC | Empty |
1.3.2 Specification
| Touch Sensor | |
| Working voltage | DC 5V |
| Working current | 5mA |
| Port type | 5264-4AW |
| Pin number | 4 |
| PWR indicator instruction | Lighting up after powering |
| Size | 50mmx20mm |
| LED1 instruction | Lights up when touch is detected |
| Easy to install, compatible with Lego series | |
1.4 Program Outcome
You can find additional example tutorials and programs for different platforms in the same directory as this guide. This tutorial uses the Arduino IDE as an example to demonstrate the test results.
In this test, we use the touch sensor to detect whether there is any contact with the human body. Initially, when the sensor is not touched, it outputs a high voltage through the OUT pin, causing the LED1 on the sensor to remain off. The serial monitor will display “1.”
When the sensor is touched by a finger, it outputs a low voltage through the OUT pin. At this point, LED1 will light up, and the serial monitor will display “0.”