1PCS Raspberry Compatible Tilt Switch Tilt Sensor Module KY-020 For Arduino
Description
Tilt switch module and a digital interface, built-in 13 LED build a simple circuit to produce tilt warning lamp 13 comes with digital 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);
}
}
Package Include:
1 pcs KY-020 Tilt Switch Module for Arduino AVR PIC
  • If you can't receive the product within 2 months (60 days), please contact with us,we promise to payback 100% of your money.
    We ensure our products work normally before post.If the products is broken before arrival to you,all you should do is taking a photo to show us our broken product.We promise to payback 100% of your money.

  • If the item is defect when you receive it or you are not satisfied with it, please return it within 14 days for a replacement or money back. But the items must be back in factory condition. Please contact us and double check the return address before you return it.
  • If is item is defective in 12 months, you can return it to us. We will send you a new replacement after receiving the defective item.

* When you satisfied with our product and services please leave us positive feedback.

* If you have got the package, please confirm "Delivery on time" For us.

* If a problem occurs, contact us immediately with any email request.

* Just contact us using the " Ask the seller a question" link on eBay.

1. We only ship to the confirmed address provided by eBay. please make sure your ebay address is 100% matches the address you would like us to ship to. If not, please let us know before we sent you the package, or we will not be responsible for any loss. hope you could understand.
2. Orders will be processed instantly and dispatched within 1-3 business days except hoilday, so we do NOT accept any email/message note after you place orders.

  • EBAY Managed Payment. But we only Accept your Ebay Address, please Make sure it's 100% right.
    Payment must be received in 5 business days of auction closing.
    Please leave note for your special request (e.g. Colors or Size) in PayPal when you pay the order.
    Any special request cannot be accepted after 24 hours of payment, because most of orders will be processed instantly and same day dispatched.


Il 02-set-21 alle 05:29:19 CEST, il venditore ha aggiunto le seguenti informazioni sull'oggetto:

DataCaciques