Ky 031 The Knock Sensor Module
Rs. 22.00 Rs. 27.00
- Product Code: SEN-VIB
- SKU -
- Availability: In Stock
- For Bulk Order
9962060070
Quick support on WhatsApp (+919962060070) only between morning 11am-4pm, no call will be answered
SPECIFICATIONS: | |
Operating voltage (v) | 3.3 ~ 5 |
Default Output | High |
Output Type | Digital |
Shipment Weight | 0.085 kg |
Shipment Dimensions | 8 × 5 × 3 cm |
OVERVIEW:
-Detect shocks with the spring and send a signal to Controller Board
-Operating voltage: 3.3V-5V
-Digital output
-Bolt holes for easy installation.
-₹ 49.00 (inc GST)
-₹ 41.53 (+18% GST extra)
PACKAGE INCLUDES:
1 PCS x Ky 031 Knock Sensor
//SOURCE CODE TAKEN FROM BELOW LINK
//https://sensorkit.en.joy-it.net/index.php?title=KY-031_Knock-sensor_module
int Led = 13 ;// Declaration of the LED output pin
int Sensor = 10; // Declaration of the sensor input pin
int val; // Temporary variable
void setup ()
{
pinMode (Led, OUTPUT) ; // Initialization output pin
pinMode (Sensor, INPUT) ; // Initialization sensor pin
}
void loop ()
{
val = digitalRead (Sensor) ; // The current signal at the sensor will be read
if (val == HIGH) // If a signal was detected , the LED will light up
{
digitalWrite (Led, LOW);
}
else
{
digitalWrite (Led, HIGH);
}
}
15 days