Vibration Sensor

Hi All ,

I need to create a switching circuit using a vibration sensor and adruino. The idea is vibration sensor should turn on an LED and LED should be in ON state for about two minutes before it turns off. And again it should turn on and stay for 2 minutes when the sensor vibrate again. The process continues as the sensor vibrates.


Use CTRL T to format your code.
Attach your ‘complete’ sketch between code tags, use the </> icon in the posting menu.
[code]Paste your sketch here[/code]

Show us a good schematic of your circuit.
Show us a good image of your wiring.
Give links to components.
Posting images:

"A vibration sensor" - can't tell anything from this. Do you have one in mind? Do you have it? Have you
tried interfacing to it already?

What is the problem exactly?

"About 2 mins" implies exact timing is not important.
Is an Arduino part of the requirement? If not, use a 555.