METAL TOUCH SENSOR

TINKS031

  1. Metal touch sensor is a type of switch that only operates when it's touched by a charged body.
  2. It has a high-frequency transistor which can conduct electricity when receiving electromagnetic signals.
  3. When we touch the metal which is on the metal touch sensor it works.
  4. The sensor provides a Digital as well as Analog output.
Features:-
  1. Power supply: 3.3V or 5.5V
  2. Sensitivity: adjustable
  3. Sensor Type: analog and digital output
  4. Packaging: antistatic sealed bag.
Applications:-
  1. Electronic sensors
  2. Printers
  3. Aviation etc.

    

int touch=9;
void setup() {
// put your setup code here, to run once:
pinMode(touch,INPUT);
Serial.begin(9600);
}

void loop() {
int value;
// put your main code here, to run repeatedly:
value=digitalRead(touch);//read the value when we touch the sensor
Serial.println(value);
if(value==HIGH)

{
Serial.println("metal detected");
}
else{
Serial.println("no metal");
}
delay(1000);
}