Difference between revisions of "Touch Sensor Module"
Qian.zhang (talk | contribs) (→Features) |
(→Introduction) |
||
Line 2: | Line 2: | ||
Touch Sensor enables you to replace press with touch. | Touch Sensor enables you to replace press with touch. | ||
− | [[File:Touch | + | |
+ | [[File:Touch Sensor 118101007-1.jpg| 640px]] | ||
+ | |||
+ | [[File:Touch Sensor 118101007-1.jpg| 640px]] | ||
+ | |||
+ | [[File:Touch Sensor 118101007-1.jpg| 640px]] | ||
== Features == | == Features == |
Revision as of 09:59, 14 August 2016
Introduction
Touch Sensor enables you to replace press with touch.
Features
Dimensions: 20.0×24.2×10.6mm
Net weight: 1.6g
Dimension
Schematics
Application Ideas
test <syntaxhighlight lang="c"> int TouchPin=9; int ledPin=11; void setup() { pinMode(TouchPin, INPUT); pinMode(ledPin,OUTPUT); }
void loop() { int sensorValue = digitalRead(TouchPin); if(sensorValue==1) { digitalWrite(ledPin,HIGH); } else { digitalWrite(ledPin,LOW); } } </syntaxhighlight>
How to buy
Here to buy Touch Sensor Module on store