hi i want measure 230v AC voltage from line and display it in LCD through microcontroller. first i step down the voltage to 5v AC using PT and i want to convert it to digital . in this part i cant get any idea. i chose pic 16f877a and 10 bit resolution with 0.005v per one increment of 1024 . wheather i can give +-2.5v or 0 to 5v to ADC . pls tell how i measure line voltage using microcontroller ..