Use Ceramic PiezoElectric Vibration Sensor to light LED strip

Hi,

I have a project on mind in which I'm pursuing to turn on a LED strip light inside a drum everytime it is knock, I've bought a Ceramic PiezoElectric Vibration Sensor. However, I'm wondering if it is required to connect this sensor to an Arduino board in order to turn on the LED strip, is it possible to connect the sensor directly to the LED strip and, every time the sensor senses a vibration it turns on?

Thanks!

1 Like

The description says it gives an analogue output, intended for connecting to an analogue input on an Arduino.

It's basically a microphone and preamp.

So that's (almost) certainly not going to be able to directly drive an LED strip.

But, as they say:

image

EDIT

I didn't read far enough - it says it also has a digital output:

and it does that that this digital output should be able to drive LEDs - up to 1A !

1 Like

The sensor says "TTL Level/Analog Signal Output", so it has a digital output.

This cannot drive, but could control a strip of LEDs if you just mean regular LEDs that light up when you attach it to 5 or maybe it's a 12 volt strip.

The signal may be perfect, or may need some stretching or "unstretching".

The digital output of the sensor can be fed to a transistor circuit that turns on and off, well, anything.

A simple experiment would be to hook up one LED and a few other parts so you cou,d see what it does all on its own.

google

arduino led driver transistor circuit

and see things like

arduino - LED dims when MOSFET switching at a higher speed - Electrical ...

and others very similar using reguakr transistors.

Your sensor ground to the batt_gnd in the circuit, and your sesnor digital output to where it says PWM_3.3V.

If you use your strip for the test, that's it. If you just test with one LED, use with it an appropriate current limiting resistor in series with the LED.

a7

1 Like

But… you could have way more fun with an Arduino in between the sensor and the LEDs.

Or even use a smart LED strip and do some animation.

a7

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.