Skip to content

Crowtail- Touch Sensor

Description


The Crowtail- Touch Sensor can help us use our body current to control the electronic device. It is connected to digital I/O port, it can generate a high voltage when we touch the touch pad.

Model: CT0012TS

Crowtail- Touch Sensor.JPG

Specifications


  • Operating Voltage: 2.0 - 5.5V
  • Output Response Time: 60 - 220mS
  • Used Chipset:TTB223-BA6
  • Dimensions(mm):20.0(L)x20.0(W)x6.8(H)

Usage


1.Hardware connection

Touc.jpg

2.Copy the demo code to your sketch, then upload to Arduino or Crowduino board.

const int TouchPin=4;
const int ledPin=5;
void setup() {
pinMode(TouchPin, INPUT);
pinMode(ledPin,OUTPUT);
} 

void loop() {
int sensorValue = digitalRead(TouchPin);
if(sensorValue==1)
{
    digitalWrite(ledPin,HIGH);
}
else
{
  digitalWrite(ledPin,LOW);
 }
}

3.Touch the touch sensor,you will see the LED lights up. Touch Sensor result11.jpg Touch Sensor result22.jpg

Resource