Guide with the sensor of vibrations

Hi,

I would like to know how can I use this sensor what are the code to use or the library ?

thank to anybody who as an answer to help me.

the item is : Détecteur de vibrations DV18015 - Chocs et vibrations | GO TRONIC

good afternoon,

bat35

ps: sorry for my english... hoping that you will understand.

Hi, welcome to the forum.

Did you bought that sensor already ?

I think it is a spring contact, like this : Fast Vibration Sensor Switch (Easy to trigger) : ID 1766 : $0.95 : Adafruit Industries, Unique & fun DIY electronics and kits
Probably with a filter and a OpAmp to detect a certain level of motion.

I suppose you can apply GND and 5V and the output to an Arduino digital input. Just read the input with digitalRead().
https://www.arduino.cc/en/Reference/DigitalRead

Those modules can be disappointing. If you buy sensors at Adafruit, you won't be disappointed.

I didn't buy it yet I wanted to make sure i knew how to use it, thank you very much.

Do you know this web site do you think it is secure ? or do you know a good website where i can find something similar ?

bat35:
. . . . or do you know a good website where i can find something similar ?

These measure acceleration or tilt.
http://www.hobbytronics.co.uk/sensors/accelerometer
You may need to use a level-shifter to convert between 5V and 3.3V.

http://www.hobbytronics.co.uk/accelerometer-info

Note the printed circuit 'breakout' board needs to accelerate or tilt. There is not a separate sensor.

Peter_n:
I suppose you can apply GND and 5V and the output to an Arduino digital input. Just read the input with digitalRead().
https://www.arduino.cc/en/Reference/DigitalRead

The sensor itself is a two-terminal switch so you would need internal or external pull-up resistor if you connect it directly to an Arduino.

I cannot see that the circuit board does much:
http://www.elecrow.com/vibration-sensor-module-sw18015p-p-522.html.

The Arduino Store has items that are well supported of course. Else start with Adafruit, Sparkfun, Pololu, they have suppliers in many countries. I think Seed Studio has a partnership with Arduino ?
If you want many things to try, buy the cheapest things on Ebay. Many less good sellers sell things from Ebay, but with higher prices.