hi, thanks for ur reply. I didn't face any such problems in my circuit. it is working successfully i only need the use of diod,capacitor(c1),r1,r2,probes(how it work with signals that is in dry &wet soil).why we use variable resister.also what should be the states on each gate(either high or low in both dry &wet cond). waiting for reply :)