Soil moisture sensor

I'm not using V+ and GND because I want to be able to invert the voltage to reduce the wear on the electrodes - my sensors are simple galvanized nails, not anything fancy.

Yes, I am planning on using a Mega - I've also got 15 solenoids and 15 relays to control (for water and lighting respectively), so an Uno just doesn't have the pins.