KY-020 Tilt Sensor

20 EGP In stock

## Product 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 = ... more on TechDepot Egypt

Buy it from TechDepot Egypt
(0)
Report

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, RAM Electronics with prices starting at 30 EGP
  • The first appearance of this product was on Jul 31, 2016

Technical Specifications

  • Weight:

    5 g

TechDepot Egypt's Description

Product 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

    No reviews exist yet for this product.

    Similar Products

    ProductStorePricePayment methodsDelivery timeFees
    Tilt Detection Sensor Module (Mercury Switch)
    Tilt Detection Sensor Module (Mercury Switch)
    Store:Future ElectronicsPrice: 30 EGPPayment methodsCash on DeliveryDelivery time: 1-3 day(s) Fees : 0-25 EGP Buy it
    Tilt Switch Module KY020
    Tilt Switch Module KY020
    Store:RAM ElectronicsPrice: 30 EGPPayment methodsCash on DeliveryDelivery time: N/A Fees : N/A Buy it
    Tilt Sensor Module
    Tilt Sensor Module
    Store:Future ElectronicsPrice: 35 EGPPayment methodsCash on DeliveryDelivery time: 1-3 day(s) Fees : 0-25 EGP Buy it
    Heavy Duty Pan Tilt Kit
    Heavy Duty Pan Tilt Kit
    Store:Future ElectronicsPrice: 90 EGPPayment methodsCash on DeliveryDelivery time: 1-3 day(s) Fees : 0-25 EGP Buy it
    KY-020 Tilt SensorKY-020 Tilt Sensor





    ... or add to a new wish list.