Parameter | Value |
---|---|
Max Voltage Across Terminals | 12 Vdc |
Open Switch Resistance | > 10 M Ohms |
Closed Switch Resistance | < 30 Ohms |
Cycle Life | > 100,000 Cycles |
Pin Connector to board | 3 pins |
Description
Vibration Switch Module Shock Shake Switch Sensor For Electronic Brick Arduino DIY
Features
This switch is OFF in the resting state, when the external force to touch and to achieve a proper vibration, meet the appropriate speed or from the (partial)heart, conductive pin will momentarily conduction (ON) status, make changes in electric property, and disappear when the external force electric property open (OFF) state is restored. Omnidirectional, any Angle can trigger job
All pins are standard 0.1; spaced
Pin Connector to board : 3 Pins
Applications
- PIC
- Arduino
Product Instructions
- We read the input from the shock sensor
- If we detect a shock and we record the time the shock was detected. ( see lastShockTime)
- If we were not already in an alarm state (see bAlarm) when a shock is detected, we set an alarm state and indicate that we’re in an alarm state by sending output to the serial monitor
- We exit the alarm state when the following conditions are satisfied
- There is a high value measured at the sensor output
- The difference between the high measurement and the last low measurement is greater than 250 mS (set by shockAlarmTime)
- We are in an alarm state (see bAlarm)
- When we exit the alarm state, we set bAlarmto false and we send an output to the serial monitor
How To Use:
Turn LED On/Off Using Shock Sensor Module
Package Included:
1 x Vibration Switch 3 pin Module Shock Shake Switch Sensor For Electronic Brick Arduino