Vibration Sensor Module

I will explain how connect Arduino with Vibration sensor and LED.

Jul 28, 2017

154536 views

25 respects

Components and supplies

1

Vibration Sensor Module

3

Male/Female Jumper Wires

1

LED (generic)

1

Arduino UNO

Apps and platforms

1

Arduino IDE

Project description

Code

Vibration Sensor Module (Code)

arduino

Downloadable files

Vibration Sensor Module

Vibration Sensor Module

Vibration Sensor Module

Vibration Sensor Module

Comments

Only logged in users can leave comments

kutullolgd

8 months ago

Is it possible to connect the vibration sensor using analog pins instead of digital pins?

Anonymous user

2 years ago

Bonjour, J'ai un moteur DC avec un capteur de choc , j'arrive pas a créer un code qui permet d'arrêter le moteur lorsque le capteur détecte un choc, j'ai besoin d'aide , merci bcp

Anonymous user

2 years ago

Anyway to connect a datalogger to this? Sorry, I'm new to all of this. Thanks!

albertoz

2 years ago

Yes, sorry for my delay reply

Anonymous user

2 years ago

Bro can i change led to Buzzer ??

Anonymous user

2 years ago

How can I wire 4 of these to a single pin. I have a bay window with 4 glass pains. I have one of these on each pain. I would like to daisy chain these together and run them to a single pin.

lukasLYU

2 years ago

you really can't unless you want to fry your arduino and parts in use. Even if it worked you would need to do some REALLY complexed math to find information. Most likely it will not happen.

Anonymous user

2 years ago

Hi Alberto, How can we add a 2 minute delay between ON and OFF,i.e LED should be OFF after 2 minutes ? Is it possible without delay function.Please reply with a code Thanks , Tom

Anonymous user

2 years ago

sir can you calculate number of vibrations produced by the vibrating motor through arduino. If it is possible plz let me know how it can be done. we should able to store the number of vibrations produced during a period of time..

Anonymous user

2 years ago

plz respond as early as possible

Anonymous user

3 years ago

Bro can i change led to Buzzer ??

Anonymous user

4 years ago

Bonjour, J'ai un moteur DC avec un capteur de choc , j'arrive pas a créer un code qui permet d'arrêter le moteur lorsque le capteur détecte un choc, j'ai besoin d'aide , merci bcp

Anonymous user

5 years ago

How can I wire 4 of these to a single pin. I have a bay window with 4 glass pains. I have one of these on each pain. I would like to daisy chain these together and run them to a single pin.

lukasLYU

2 years ago

you really can't unless you want to fry your arduino and parts in use. Even if it worked you would need to do some REALLY complexed math to find information. Most likely it will not happen.

Anonymous user

5 years ago

sir can you calculate number of vibrations produced by the vibrating motor through arduino. If it is possible plz let me know how it can be done. we should able to store the number of vibrations produced during a period of time..

Anonymous user

2 years ago

plz respond as early as possible

lukasLYU

2 years ago

you can store produced vibrations using a variable and adding value if a vibration was done: int count = 0; void loop(){ if (vab == 1){ count++; //other code here } }

Anonymous user

5 years ago

Hi Alberto, How can we add a 2 minute delay between ON and OFF,i.e LED should be OFF after 2 minutes ? Is it possible without delay function.Please reply with a code Thanks , Tom

Anonymous user

7 years ago

Anyway to connect a datalogger to this? Sorry, I'm new to all of this. Thanks!

albertoz

2 years ago

Yes, sorry for my delay reply