Support: [email protected]
More Views

The shock sensor module normally closed alarm sensor module vibration switch SW-420

CC1212130656

Available

Quick Overview

Seller Name : Mod N Shields
Best Quality Wholesale Price
Rs50.00
Cash-On-Delivery: Not Available for this product

OR

Details

Product Details

use:
For a variety of vibration triggering, reported theft alarm, intelligent car, earthquake alarm, motorcycle alarm.
This module normally open with shock sensor module compared to shock triggered longer can drive relay module

Module Features:
1, the use of the company's SW-420 normally closed vibration sensor.
2, the comparator output signals clean, good waveform, driving ability, than 15mA
3, the working voltage of 3.3V-5V
4, the output form: digital switching output?0 and 1?
5, a fixed bolt hole for easy installation
6, small PCB board size: 3.2cm x 1.4cm
7, using a wide voltage comparator LM393

Module Description:

1, when the duct does not shock, vibration switch was closed conductive state, output of low output, the green indicator light;

2, when the duct is shock, vibration switch off instantly, output terminal output high, the green light does not shine;

3, the output can be directly connected to the microcontroller through the microcontroller to detect high and low, thereby detecting whether the environment there is vibration, play a role in the police

 

This series module ducts are negative Appearance

 

 

duct structure and wiring diagram

 

 

Open circuit diagrams, need friends can refer to the figure

 

SCM test cedure


#include reg52.h
unsigned char date;
#define uchar unsigned char
#define uint unsigned int
sbit key1 = P0 ^ 1;

 


/ * Function declaration ---------------------------------------------- - * /
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; i0; i--)
for (j = 110; j0; j--);
)


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

// ***** Serial port initialization function ***********

// ************************************************************
void Initial_com (void)
(
EA = 1; // open the global interrupt
ES = 1; // allow the serial port interrupt
ET1 = 1; // allow the timer interrupt T1
TMOD = 0x20; // timer T1, an interrupt is generated baud rate in Mode 2
PCON = 0x00; // SMOD = 0
SCON = 0x50; // controlled by a timer mode 1
TH1 = 0xfd; // set the baud rate to 9600
TL1 = 0xfd;
TR1 = 1; // start timer T1 running control bit

)

 


// ************************************************************
// Main function ********* **********
// ************************************************************
main ()
(
Initial_com ();
while (1)
(

if (key1 == 1)
(
delay (); // jitter elimination
if (key1 == 1) // Confirm trigger
(
SBUF = 0X01;
delay (200);


)

)

if (RI)
(
date = SBUF; // MCU accepted
SBUF = date; // send microcontroller
RI = 0;
)


)
)

 

 



Related Images









Additional Information

SKU CC1212130656
Cash on Delivery No

Product Tags

Use spaces to separate tags. Use single quotes (') for phrases.

Don't Miss Out

Stay up-to-date with the latest news, hottest trends and new arrivals direct to your inbox