×

Due to the impacts of the coronavirus outbreak, we are experiencing longer than normal lead times on certain products. We encourage back-ordering out-of-stock items to receive them as soon as possible.

Member #70812

Member Since: May 18, 2009

Country: United States

  • no, water bridging between the wires alters the signal.

  • +1 to maxm's comment. i like the approach of putting the computation in a separate function. just know that you need to replace "Wprogram.h" with "Arduino.h" in the files. Plus, the equation works well. Measured within 2 degrees F in both boiling water and an ice bath.

  • Here's how to wire this thing:

    AVD to arduino analog input channel

    GND to 5k resistor to arduino ground

    VCC to arduino 5V

    This gives an analog input value of about 750 when it's quiet. When there is noise, the value fluctuates around 750 by an amount proportional to the volume. So to get volume, use the equation

    volume=abs(analogValue-760);
    

    This is enough to make a sound switch with a reasonably controllable threshold.

    wiring diagram

No public wish lists :(