Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Knock sensor and progressive Leds

  1. Apr 11, 2014 #1
    I am detecting detonation in a SI engine using a knock sensor (pizeo element).
    What I would really like is to have 3 leds that light up as the knock gets more severe.

    I have the knock sensor running into an op amp powered by a 9v battery. I am listening to the output with a pair of head phones, but I would like to add a visual output.

    The knock sensor is a pizeo element, so as I understand it the more aggressive the engine is knocking the greater the output voltage will be from the sensor.

    I was hoping to do something like this;
    First led to light when the output from the op amp is between 1-3 volts, the second to come on at 3-6 volts and the third to light up between 6-9 volts.
    (arbitrary values I'm not sure what the actual output voltages are, but you get the idea).

    The idea is that when no knock is present no lights are on, and under heavy knock all three lights are on.

    Any input would be greatly received.
  2. jcsd
  3. Apr 11, 2014 #2


    User Avatar
    Science Advisor
    Gold Member

    Probably a simple peak detector or peak to peak detector with a sample and hold on the output. This would drive a comparator to light the LEDs.
  4. Apr 11, 2014 #3

    jim hardy

    User Avatar
    Science Advisor
    Gold Member

  5. Apr 11, 2014 #4


    User Avatar
    Science Advisor
    Gold Member

    Last edited by a moderator: May 6, 2017
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook