When I read my analog inputs without connecting anything to them I should get aleatory values, right? But in my case, A2 and A3 inputs return 0!
If I connect a very strong input signal to them (eg. from 3.3v or 5v straight to A2 or A3) I get a correct read, but they ar easily influencing each other, for example: if I put 3.3v to A3 i get A3-> 720 and A2->600. The rest of neighbor inputs are fine!
The analog pins are multiplexed to a single A-D converter. Because doing the conversion involves charging a capacitor, reading different pins one right after another can give misleading values. One partial workaround is to discard the first reading of a pin. Better yet, discard the first reading, then read the pin several times and average those values do dilute any carryover. (BTW, as you didn't post your code, but just the output, it's rather hard to know exactly what you did.)
Ciao,
Lenny
If you read about FOR and WHILE it might make life easier ...
What do you mean by "Even if I read a single pin (A2 or A3) result is the same!" ?
Your code reads all the pins one after the other without any of the discards that were recommended by @lrobbins.
You should read the Atmega 328 datasheet to get all of the details about using the ADC converter.