정전식 터치 센서 모듈 -TTP223B

(Capacitive Touch Sensor Module

-TTP223B)

개요

  • 본 제품은 터치 IC TTP223B를 탑재한 정전식 터치 센서 모듈입니다.
  • 보통상태에서 모듈은 저전력 모드로 출력은 LOW이며, 손가락으로 터치영역을 만지면 출력이 HIGH가 되게 됩니다.
  • 모듈이 터치되지 않은 상태로 12초가 이상 지나면 모듈은 다시 저전력 모드로 진입합니다.
  • 모듈에는 세개의 핀(GND, VCC, SIG)이 있으며, VCC는 전원, SIG는 디지털 신호 출력, GND는 GND핀입니다.
  • 초록색 LED가 있어 전원이 들어왔을 경우 표시를 하여 주며, 모서리에는 M2 나사를 이용하여 마운팅할 수 있는 2.2mm지름의 구멍이 있습니다.

특징

  • Low power consumption
  • Power supply for 2 ~ 5.5V DC
  • Can replace the traditional touch of a button
  • Operating voltage: DC 2.0V ~ 5.5V
  • VOH: VCC 0.8V
  • VOL: VCC 0.3V
  • Sink current: 8mA @ VCC = 3V, VOL = 0.6V
  • Source current: -4mA @ VCC = 3V, VOH = 2.4V
  • Response time: 220ms (at mode of low power consumption) and 60ms (at quick speed mode)
  • Size: 24 x 24 x 7.2mm

문서

  • Source Code
  • // connect SIG pin to arduino PIN 9
    // connect LED to arduino PIN 12
    const int TouchPin=9;
    const int ledPin=12;
    void setup() {
       pinMode(TouchPin, INPUT);
       pinMode(ledPin,OUTPUT);
    } 
     
    void loop() {
       int sensorValue = digitalRead(TouchPin);
       if(sensorValue==1)
       {
          digitalWrite(ledPin,HIGH);
       }
       else
       {
          digitalWrite(ledPin,LOW);
       }
    }
    

연관제품