Detection of Sudden Movements With SW520D & Arduino Board

by Mohammed BENHADINE in Circuits > Electronics

4159 Views, 54 Favorites, 0 Comments

Detection of Sudden Movements With SW520D & Arduino Board

IMG_20160809_103154.jpg
Capture2.PNG

One way to detect anomalies is to monitor the brutal vibrations that will be seen at a point of the circuit's environment . I made this small circuit when i was working in a project about detecting the cuts of cables and there's no way to develop another logic to detect that (the voltage of the cables was 2000V).

So after searching a little i found the SW520D,a vibration sensor component, coupled with a set of resistors and capacitors to adjust the vibration threshold desired,i could fix all the problem.

Logic of Working

Capture3.PNG
Capture1.PNG
IMG_20160809_103245.jpg
IMG_20160809_103214.jpg

Knowing that consumption is a constraint on the field, this component consumes anything

It is its major advantage .In fact, it is a special switch which the opening and closing of the contact are sudden movements. Inside there are two bubbles that realize the contact between the two pins of the component

I used this scheme (Figure 3) to take advantage of these two modes of operation and at the same time to adjust the sensitivity of the sensor.

After some measurements and tests I set the values of the two components of setting R = 10kOhm and C = 100nF.

In the static case (incident) switch is in the ON state, the test port will bring 0V (= GND)

In case of vibrations in a split second we'll have an open circuit at the test pin (OFF state) .So the value of the Pin is high (4 xxV), which will be visible by the Arduino, and to visualize this state I used a red LED that flashes and a buzzer (Alarm).

The Circuit

capteur1.PNG
circuit12.PNG

This's the circuit which i used ,you can check the code to identify each PIN with which component

Code

prog11circuit1.PNG
prog12circuit1.PNG

Downloads

Experience

Détection des mouvements brusques avec le capteur de vibration SW520d

I made the video in French but never mind it's just for testing the capture of vibrations