Normally closed type vibration sensor module alarm sensor module vibration switch SW-420 arduino compatible
€1,83
In stock (can be backordered)
Quantità | Prezzo Unitario |
---|---|
12 - 49 | €1,65 |
50 - 99 | €1,46 |
100 + | €1,28 |
Product Description
Normally closed type vibration sensor module alarm sensor module vibration switch SW-420 arduino compatible
Uses:
For a variety of vibration the triggering effect reported theft alarm, smart car, earthquake alarm, motorcycle alarm.
Compared to the module with normally open type vibration sensor module, vibration, longer trigger relay module can drive
Module Features:
1, SW-420 using the company’s production of normally closed type vibration sensor.
2, the comparator output, the signal is clean, the waveform, the driving ability to exceed 15mA
3, operating voltage 3.3V-5V
4, the output in the form: Digital switching outputs (0 and 1)
5, a fixed bolt hole for easy installation
6 small board PCB size: 3.2cm x 1.4cm
7, wide voltage LM393 comparator
Module using the instructions:
1, the product does not vibrate, vibrate switch was closed conduction state, the output output low, the green indicator light;
Product vibration, vibration switch instantly disconnect the output output high, the green light is not on;
3, the output and the microcontroller is directly connected to the microcontroller to detect high and low, thereby detecting the vibration environment, play an alarm role
Positive and negative appearance of this series modules Figure
Product structure and wiring diagram
Open circuit diagram, a friend in need can refer to the following figure
SCM test program
/ ******************************************
The Shenzhen Yu Pine Electronics Co., Ltd.
Sensors trigger test
SCM: STC89C52
Baud Rate: 9600
Usage: vibration sensors trigger an alarm trigger.
***************************************** /
# Include <reg52.h>
unsigned char date;
# Define uchar unsigned char
# Define uint unsigned int
sbit key1 = P0 ^ 1;
/ * Function affirm ———————————————- – * /
void delay (uint z);
void Initial_com (void);
/ / ************************************************ ***********
/ *
************************************************** ******************************
* Function name: delay (uint z)
* Function: delay function
************************************************** ******************************
* /
void delay (uint z)
{
uint i, j;
for (i = z; i> 0; i -)
for (j = 110; j> 0; j -);
}
/ / ***********************************************************
/ / ***** Serial port initialization function ***********
/ / ***********************************************************
void Initial_com (void)
{
EA = 1; / / open total interruption
ES = 1; / / enable serial interrupt
ET1 = 1; / / enable the timer T1 interrupt
TMOD = 0x20; / / timer T1, generated baud rate in Mode 2 Interrupt
PCON = 0x00; / / SMOD = 0
SCON = 0x50; / / Mode 1 is controlled by a timer
TH1 = 0xfd; / / set the baud rate to 9600
TL1 = 0xfd;
TR1 = 1; / / Timer T1 running control bits
}
/ / *************************
/ / ********** Main function *********
/ / *************************
main ()
{
Initial_com ();
while (1)
{
if (key1 == 1)
{
delay (); / / eliminate jitter
if (key1 == 1) / / confirm trigger
{
SBUF = 0X01;
delay (200);
}
}
if (RI)
{
date = SBUF; / / microcontroller accept
SBUF = date; / / MCU sends
RI = 0;
}
}
}
Abbiamo disponibili datasheet di tutti i componenti, qualora non fosse presente nella scheda download del prodotto inviaci un messaggio dal modulo contattaci e lo pubblicheremo il prima possibile nel nostro sito.
Be the first to review “Normally closed type vibration sensor module alarm sensor module vibration switch SW-420 arduino compatible”
You must be logged in to post a review.
There are no reviews yet.