KY020 3Pin KY-020 Standard Tilt Switch Sensor Module DIY Starter Kit

Imported from USA | Ships in 10 working days

5% instant discount on non COD

1

₹ 1600/-

The price at cart2india.com is inclusive of custom duties, GST, freight forwarding and other charges.

Free Shipping across India. Powered by BlueDart

Product Information


Specification
AgeRangeDescription : adult
Brand : Generic
BulletPoint : KY020 3Pin KY-020 Standard Tilt Switch Sensor Module Diy Starter Kit
BulletPoint1 : Sensors
BulletPoint2 : Sensors
Color : One Color
ExternallyAssignedProductIdentifier : 9435551367226
ItemName : KY020 3Pin KY-020 Standard Tilt Switch Sensor Module DIY Starter Kit
ItemPackageDimensions_Height : 1 centimeters
ItemPackageDimensions_Length : 3 centimeters
ItemPackageDimensions_Width : 2 centimeters
ItemPackageQuantity : 1
ItemTypeKeyword : electronic-component-tilt-sensors
Manufacturer : Generic
Material : Copper
ModelName : ZzzaNa
ModelNumber : ZzzaNa
NumberOfBoxes : 1
NumberOfItems : 1
PartNumber : Lile_HFN_2195
ProductDescription : Product
Descriptions:



interfaces of the LED,

the tilt switch sensor interface to access digital 3,when the tilt open Off sensor senses a key signal, LED lights, otherwise off.


Routines source code:


int Led = 13 ;// define LED Interface

int buttonpin = 3; // define the tilt switch sensor interfaces

int val ;// define numeric variables val

void setup()

{

pinMode(Led, OUTPUT) ;// define LED as output interface

pinMode(buttonpin, INPUT) ;// define the output interface tilt switch sensor

}

void loop ()

{

val = digitalRead(buttonpin) ;// digital interface will be assigned a value of 3 to read val

if(val == HIGH) // When the tilt sensor detects a signal when the switch, LED flashes

{

digitalWrite(Led, HIGH);

}

else

{

digitalWrite(Led, LOW);

}

}
ProductSiteLaunchDate : 2023-11-30T05:20:54.719Z
Size : One Size
UnitCount : 1

Questions & Answers

Have a question? Ask experts

?
No question found

Ratings & Review

Rating Breakdown (average)

5*
0
4*
0
3*
0
2*
0
1*
0

No reviews found.

Have an opinion on this page? Let's hear it.