Soil sensor arduino mega problem

Hi can you help me guys, I am using soil sensor, the problem is that when I am using an arduino uno the soil sensor is connected to pin A0 and its perfectly working but when I tried it on arduino mega it does not work at all i came across differect website and sources but non of them are using arduino mega.

A0 on a Mega works exactly the same as A0 on an Uno R3.

There must be something wrong with your code or your hardware.
Please read the forum posting guidelines and show us what you did.
Leo..

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.