Convert voltage to dB

louisbourdon:
After some time I returned to finish this project. So far, still, no answer to make it work as closely as possible to as a dB meter.

I'm reading this article (http://www.inmotion.pt/store/phidgets-sound-sensor) saying that there is a formula that can be used to get the dB conversion (for 1kHz sound for example).

SPL at 1kHz tone (dB) = 16.801 x ln(sensorValue/1023) + 9.872

I tried the formula but I got nothing. I don't know what the ln stands for :roll_eyes:

Maybe someone could help?

If you want to to "make it work as closely as possible to as a dB meter", you have got a LOT to do!

You will need extreme low noise amplifiers, an (A) curve or a (C) curve filter, decoupling amplifiers again and finally a logarithmic demodulating amplifier. Not to mention a reliable microphone that has at least 60dB dynamic...
Good luck!

The phidget sound sensor does not appear to match these requirements.
Halas, since I am still seeking for a shield that does exactly that.