Touch Button Sensor Module
Last year we made a version of Touch switch. It's a plastic sealed chip with relatively large size, and the consistency is not very good. what's more, the touching metal part is attached to the button, which makes them more complicated to produce.
So here comes a new version now. It gets rid of these two problems. It uses a touch-integrated chip, and has a touching area directly on the button.Other piece of metal can be easily connected to the middle of the pad to facilitate the practice use :
.jpg)
It is connected to the sensor expansion board with the sensor cable.
Then it can be fully compatible with Arduino.
Connecting methods are still by connecting with sensors, expand sensor link plate can be used to handle Arduino.
Interface type is digital

.jpg)
This touch button is digital. It works in the same way with the normal button.
Here is the code used in experiments :
int ledPin = 13;
int switchPin = 7;
int value = 0;
void setup() {
pinMode(switchPin, INPUT);
pinMode(ledPin, OUTPUT);
Serial.begin(9600);
}
void loop() {
value = digitalRead(switchPin);
if (HIGH == value) {
digitalWrite(ledPin, HIGH);
} else {
digitalWrite(ledPin, LOW);
}
}
O1 and O2 jumpers on this touch buttons are used to set the wroking mode. It has four working
modes, of which two are commonly used , as follows :
O1 and O2 are set high (H) : When touching the metal area, low voltage output. When leaving the
touching area, high voltage output. The contact time can not be more than 10 seconds.
O1 and O2 are set low (L) : When touching the metal area, low voltage output. When touching
again, high voltage output. In this mode, it works like a flip switch.
.jpg)
Join our newsletter today, to get latest product information and promotion code.








