Using CST-1020

uhm
why do u take the RMS value (it contains square values)?

i think the arithmetic mean would b the right value...

have u seen this:
http://arduino.cc/forum/index.php/topic,125952.0.html ?