Convert Voltage to dB

StvDee's icon

Hi
I'm looking at this link to get the formula for converting voltage from a sound sensor connected to Arduino (0-1024), to acoustic energy (dB).

As I understand this, 1024 values (or 0 to 5V) would equal to 60 decibel units, so if I use the formula -> (20*log10)*V/V0, I will get from 0 to 60 - and then I can offset by an amount if I want to match proper settings (i.e. 0 would then equal approximately 20-30 dB).

Does this sound alright?