IDUINO for maker’s life User Manual For Capacitive Touch Sensor for Arduino(ME130) www.openplatform.
IDUINO for maker’s life Description: This device allows you control a switch trough touch the module, it can be applied into smart home system. When your finger touch the “touch area ”of this module, the “s”pin can output a high level signal to your microcontroller like Arduino to respond different action. PinOut Pin Vcc Gnd S Description Power supply 5V/DC Ground Digital signal output pin www.openplatform.
IDUINO for maker’s life Example: The wire connection as below: “Vcc”----------5V “Gnd“---------Gnd “S”---------D2 ********Code Begin********** int ctsPin 2 // Pin for capactitive touch sensor int ledPin = 13; // pin for the LED void setup() { Serial.begin(9600); pinMode(ledPin, OUTPUT); pinMode(ctsPin, INPUT); } void loop() { int ctsValue = digitalRead(ctsPin); if (ctsValue == HIGH){ digitalWrite(ledPin, HIGH); Serial.println("TOUCHED"); } else{ digitalWrite(ledPin,LOW); Serial.
IDUINO for maker’s life } ********Code End********** www.openplatform.