พร้อมส่ง-Digital Capacitive Touch Sensor Module
ข้อมูลสินค้า
ราคา
25.00 บาท
ขายแล้ว
52 ชิ้น
ร้านค้า
พร้อมส่ง-Digital Capacitive Touch Sensor Module
Touch Sensor
โมดูลใช้สำหรับรับค่าคำสั่งโดยการสำผัสจากผู้ใช้งาน สามารถใช้แทนปุ่มกดได้
Feature
- Low power consumption, can replace the traditional key, 4 x M2 screw holes, easy for operation
- Operating voltage: DC 2.5~5.5V; VOH 0.8VCC V; VOL / 0.3VCC / V; Response time: 220mS (at mode of low power consumption), 60mS (quick speed mode)
- Control Interface : A total of three pins (GND, VCC, SIG), GND to ground, VCC is the power supply, SIG digital signal output pin;
- Power Indicator : Green LED, power on the right that is shiny;
- Touch area : Similar to a fingerprint icon inside the area, you can touch the trigger finger.
- Positioning holes : 4 M2 screws positioning hole diameter is 2.2mm, the positioning of the module is easy to install, to achieve inter-module combination
ตัวอย่างโคด Arduino Capacitive touch switch
const int TouchPin=9;
void setup() {
pinMode(TouchPin, INPUT);
Serial.begin(9600);
}
void loop() {
int sensorValue = digitalRead(TouchPin);
if(sensorValue==1)
{
Serial.println(" Un Touch ");
}
else
{
Serial.println(" Touch ");
}
delay(500);
}