-40%
2PCS Standard Tilt Switch Module For Arduino AVR PIC TOP Quality
$ 0.52
- Description
- Size Guide
Description
HomeArduino
Module
Sensor
Chips
About Us
Descriptions:
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 Included:
1PCS
*
Standard Tilt Switch Module For Arduino AVR PIC TOP Quality
Payment
Shipping
Refund
Payment
We accept PayPal only.
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.
Shipping
Fill your shipping info
Refund
All package need to
wait 30 days
(US only n
eed 7-10 days)
,
Please take care it.Less than 30 days,we can't take a refund
.
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.