KY-020 Tilt Sensor

20 EGP
LiveOut of stock

## Description KY-020 operates as a very simple switch that gets activated upon tilting the module board. ### KY-020 Connecting * KY-020 Pin – = GND, connect to GND of the ... more on TechDepot Egypt

Buy it from TechDepot Egypt

Product Details

  • The best price of KY-020 Tilt Sensor by TechDepot Egypt in Egypt is 20 EGP
  • Available payment methods are
    Cash on Delivery
  • Delivery fees are 35-45 EGP, with delivery expected within 5+ day(s)
  • Similar products to KY-020 Tilt Sensor are sold at Future Electronics, TechDepot Egypt with prices starting at 35 EGP
  • The first appearance of this product was on Jul 31, 2016

Technical Specifications

Weight:5 g

TechDepot Egypt's Description

Description

KY-020 operates as a very simple switch that gets activated upon tilting the module board.

KY-020 Connecting

  • KY-020 Pin – = GND, connect to GND of the Arduino
  • KY-020 Pin (middel pin) +5 v, connect to Arduino +5
  • KY-020 Pin S signal, connect to Arduino pin 3

KY-020 Code

int Led =13;// define LED Interfaceint buttonpin =3;// define the tilt switch sensor interfacesint val ;// define numeric variables valvoid 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 valif(val == HIGH)//When the tilt sensor detects a signal when the switch, LED flashes{ digitalWrite (Led, HIGH);}else{ digitalWrite (Led, LOW);}}

Reviews of KY-020 Tilt Sensor

  • No reviews exist yet for this product.

Similar Products

ProductStorePricePayment methodsDelivery timeFees

Store: Future Electronics

Price: 35 EGPPayment methods:
Cash on Delivery
Delivery time: 1-3 day(s) Fees : 0-25 EGP Buy it

Store: TechDepot Egypt

Price: 35 EGPPayment methods:
Cash on Delivery
Delivery time: 5+ day(s) Fees : 35-45 EGP Buy it

Store: Future Electronics

Price: 55 EGPPayment methods:
Cash on Delivery
Delivery time: 1-3 day(s) Fees : 0-25 EGP Buy it

Store: Future Electronics

Price: 65 EGPPayment methods:
Cash on Delivery
Delivery time: 1-3 day(s) Fees : 0-25 EGP Buy it

Store: Future Electronics

Price: 185 EGPPayment methods:
Cash on Delivery
Delivery time: 1-3 day(s) Fees : 0-25 EGP Buy it