Thanks for the support and sorry for forgetting to give the details
I am using a 3-0-3 ,500 ma transformer with full wave rectifier. What I need is to measure the AC line voltage( Accuracy not so). Input is 230v/50Hz domestic line voltage.After the rectification I am using a10uF capacitor for filtering .
About 230/1023.
I think its a mistake. Since ADC is 10 bit , output voltage will be (analogout*(5/1024)). I am trying to change this.
I tried with a load resistance 10K, but readings drops to 160v
void setup()
{
Serial.begin(9600);
}
void loop()
{
int x,volt,y;
x=analogRead(4);
volt=x*(230/1023);
Serial.println(x);
delay(500);
Serial.println(volt);
delay(500);
}