Your position: Home / Sensors

Keyestudio Collision Sensor Module for arduino

KS0021
Price:
Wholesale:
5+
$2.38
    Please select the information you wantX
Quantity:
-
+
(905 available)
Shipping Cost:
to
Estimated Delivery Time:
Please select the country you want to ship from
  • Description
  • Reviews(106)

Introduction
 
Collision Sensor can detect whether any collision movement or vibration happens. It will output a low pulse signal when vibration is detected. To make the output signal more reliable and neat, we added a necessary exterior circuit to reduce the noise impact. So, normal shaking will not cause any output. The sensor has a high sensitivity, then you can use it to apply to your project, such as automatic wake-up and power-down for battery management.
 
Features
  • If collision happens upfront of where collision module is installed, module outputs low level signal; no collision, outputs high level signal.
  • Module reserves M3 mounting hole, convenient for fixation on a car.
  • With switch indicator light, if there is collision, light is on; no collision, light is out.
Pin definition
  • 1 + 3v-12v power supply
  • 2 - GND
  • 3 S Gigh-low level output
Sample code: 
 
int Led=13;// set pin for LED
int Shock=3// set pin for collision sensor
;int val;// set digital variable val
void setup()
{
pinMode(Led,OUTPUT);// set pin LED as output
pinMode(Shock,INPUT);// set collision sensor as input
}
void loop()
{
val=digitalRead(Shock);// read value on pin 3 and assign it to val
if(val==HIGH)// when collision sensor detects a signal, LED turns on.
{
digitalWrite(Led,LOW);
} else
{
digitalWrite(Led,HIGH);
}
}
 
 

 

 

Average rating: 4.0 based on 106 reviews
Share your thoughts with other customers
Write a review
Product reviews can be carried out after the member login, please click here to login