1PCS Knock Sensor Module with LED KY-031 For Arduino PIC AVR Raspberry
|
Knock sensor module and a digital 13 interface, built-in LED build a simple circuit to produce percussion flasher. Interface comes with digital LED, will knock sensor connected digital 3 interface, when percussion sensor senses measure to percussive signals, LED flashing light.
Routines source code:
int Led = 13;// define LED Interface
int Shock = 3;// define the percussion Sensor Interface
int val;// define numeric variables val
void setup ()
{
pinMode (Led, OUTPUT) ;// define LED as output interface
pinMode (Shock, INPUT) ;// define knock sensor output interface
}
void loop ()
{
val = digitalRead (Shock) ;// read digital interface is assigned a value of 3 val
if (val == HIGH) // When the percussion when the sensor detects a signal, LED flashes
{
digitalWrite(Led, LOW);
}
else
{
digitalWrite(Led, HIGH);
}
}
|
Payment |
Payment |
Payable To |
Note |
PayPal |
Paypal |
All payments are due within 7 days of the close of auction. Failing to do so, non-paying bidders will be reported to eBay. | |
Shipping Policy |
Delivery Time |
We ship to worldwide, it usually takes 10-30 Business Days to delivery. |
Shipping address |
We ship to your PayPal address. Please, make sure to provide us with correct, precise, and detailed shipping Address. |
Send Time |
Items will be shipped within 1 to 3 business days upon payment received or cleared. |
Note |
If you don't receive items over 30 business days, please notify us via eBay message. | |
Return Policy |
We appreciate your business and offer an instant 7 days return policy.(7 days after receive the item). The returned item has to be in its original condition. We are able to refund your money without shipping cost. |
Contact us |
For anything about product, price, shipping or order status, please contact us via eBay message.
We love positive feedback and 5 scores DSR. We will leave it for everyone that leaves it for us.
|