Normally closed type vibration sensor module alarm sensor switch SW-420

Customer Review 0Review(s) | Product Details
192 Units in Stock
Price :
US$0.44



Quantity: - +
Total :
US$0.44
VIP Center Learn more 0
Silver VIP 3% off
Gold VIP 5% off
PLATINUM vip 10% off


Instruction

  • Used in various vibration triggering, the report is stolen, intelligent car, earthquake alarm, motorcycle alarm, etc..

  • This module is longer than the normally open vibration sensor module, which can drive the relay module.

Feature

  • The company produced by the company SW-420 normally closed type vibration sensor,.

  • The comparator output, the signal is clean, waveform is good, driving ability, more than 15mA

  • Working voltage 3.3V-5V

  • Output form: digital switch output (0 and 1)

  • With fixed bolt hole, easy to install

  • Small size: 3.2cm x 1.4cm PCB

  • The use of wide voltage LM393 comparator

Module description

  • The product does not vibrate, the vibration switch is closed, the output of the low level, the green indicator light;

  • Product vibration, vibration switch is instantaneous, the output of the high level, the green indicator light is not bright;

  • The output can be directly connected with the microcontroller, through the microcontroller to detect high and low level, thus to detect whether the environment has a vibration, play a role in the alarm

The product of this series is positive and negative.

Single chip microcomputer test program

/******************************************

Sensor trigger test

Single chip microcomputer: STC89C52

Baud rate: 9600

Product use: vibration sensor trigger, alarm trigger.

*****************************************/

#include

Char date unsigned;

Uchar unsigned char #define

Uint unsigned int #define

Key1=P0^1 sbit;

/ * -----------------------------------------------*/ function statement

Delay void (Z uint);

Initial_com void (void);

//***********************************************************

*

********************************************************************************

* * function name: delay (Z uint)

Function function: delay function

********************************************************************************

* /

Delay void (Z uint)

{

I J, uint;

For (i=z; i>0; i--)

For (j=110; j>0; j--);

}

//******************************

//***** serial port initialization function ***********

//******************************

Initial_com void (void)

{

EA=1; / / open interrupt

ES=1; / / allow serial interrupt

ET1=1; / / T1 timer interrupt enable

TMOD=0x20; / / T1 timer, interrupt mode in 2 baud rate

//SMOD=0; PCON=0x00

SCON=0x50; / / 1 is controlled by a timer

TH1=0xfd; / / the baud rate is set to 9600

TL1=0xfd;

TR1=1; / / open timer T1 control bit

}

//*************************

The main function of //********** at

//*************************

(main)

{

Initial_com ();

While (1)

{

If (key1==1)

{

(delay); / / eliminate jitter

If (key1==1) / / confirm the trigger

{

SBUF=0X01;

Delay (200);

}

}

If (RI)

{

Date=SBUF; / / microcontroller to accept

SBUF=date; / / MCU

RI=0;

}

}

}

Shipping List

  • Normally closed type vibration sensor:1pcs

Picture



Reviews

Create your own review

You can get 5 SmartArduino Points by commenting on the products( Login first ).

User Name: *
Comment Rank: 1 2 3 4 5 *
Confirm Text: captcha *
Content: *