Crowtail- Touch Sensor

From Elecrow
(Difference between revisions)
Jump to: navigation, search
(Description)
Line 11: Line 11:
 
*Output Response Time: 60 - 220mS
 
*Output Response Time: 60 - 220mS
 
*Used Chipset:TTB223-BA6
 
*Used Chipset:TTB223-BA6
 +
*Dimensions(mm):20.0(L)x20.0(W)x6.8(H)
  
 
== Usage ==
 
== Usage ==

Revision as of 10:37, 13 July 2019

Contents

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

Touch.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 result.jpg Touch Sensor result1.jpg

Resource

Personal tools
Namespaces

Variants
Actions
Elecrow Store
Navigation
Elecrow Products
Toolbox