Wish List 0

Touch Switch Sensor Module Double Sided Touchpad 4P 3P Interface

Rs. 90.00 Rs. 103.00

Features:
Compatible interfaces: 2.54mm 3-pin interface and 4-pin Grove interface
Note: S for voltage digital output port, N for no longer the usage of a pin, V and G for voltage on the commonplace collector and floor respectively. When there is no operation, the digital output is VDD, whilst the button is pressed down, the virtual output is 0V.



SPECIFICATIONS
Input Supply voltage (VDC)      3.3 ~ 5
Working current (VCC=5V) (μA)   18
Length (mm)                     38.3
Width (mm)                      24
Height (mm)                     8.5
Weight (gm)                     3
Shipment Weight                 0.02 kg
Shipment Dimensions             5 × 4 × 2 cm
OVERVIEW
Operating voltage                  +2.7~6V
Working temperature                30+70℃
OUT pin output voltage             +3.3V±0.1V
OUT pin Maximum Output Current     500mA

PACKAGE INCLUDES:

1 PCS x Touch Switch Sensor Module Double Sided Touchpad 4P 3P Interface


/*/SOURCE CODE TAKEN FROM BELOW LINK

https://circuitdigest.com/microcontroller-projects/arduino-ttp223-touch-sensor-interfacing-to-turn-on-lights-with-touch

/==============================================================================//

 * TTP223 interfacing with Arduino

 * Date: - 3-04-2019

 * Author:- Sourav Gupta

 * For:- circuitdigest.com

 *///=============================================================================//

 

#include <Arduino.h>

 

//#define ON 1

//#define OFF 0

 

/*

 * Pin Description

 */

int Touch_Sensor = A5;

int LED = 13;

int Relay = A4;

 

/*

 * Programme flow Description

 */

int condition = 0;

int state = 0; //To hold the switch state.

 

/*

 * Pin mode setup

 */

void setup() {

pinMode(Touch_Sensor, INPUT);

pinMode(LED, OUTPUT);

pinMode(Relay, OUTPUT);

}

 

void loop() {

condition = digitalRead(A5); // Reading digital data from the A5 Pin of the Arduino.

 

if(condition == 1){

delay(250); // de-bounce delay.

if(condition == 1){

state = ~state; // Changing the state of the switch.

digitalWrite(LED, state);

digitalWrite(Relay, state);

}

}

}

15 DAYS 

Write a review

Please login or register to review