It is a mega 2560.
With the picture i just tried to avoid questions about the wiring.
I have an UNO too. And with the uno analog pins and with same wiring/code analog pins work fine.
Could it be that something is damaged on the MEGA or is there a difference between the analogpins on the mega and the uno?