voltage measurement using arduino

Arrch:

hudayanga:
you mean A0 to A5...??ok then my 5v comming from my power pack..then 5v vcc and gnd wire how can i input to arduino??
thank you

You plug the 5v into an input pin and the ground to the ground pin of the Arduino, as has already been explained.

Little point to trying to measure the board's 5 volt Vcc voltage via a analog input pin as it will always read 1023 counts as the same Vcc is used as the reference voltage. So even as the Vcc battery pack lowers in voltage the analogRead value will still report as 1023 counts.

Best to state what you are trying to accomplish rather then how you think it should be done.

Lefty