Sketch is not working with Nano perfectly like Mega2560

Hi,

Thanks liudr and Michaelsm,

If I connect as per what liudr said, yes...it is working properly....The reason I want to use nano and not mega board is, I want to fit it in a housing in which only nano would fit....

The other problem I have noticed is, it happens when I connect pump and valve circuit to nano board (everything is connected to nano board only)..before that it worked properly...and with Mega board, everything works properly...So I don't understand why it only happens with the nano board and I have to use only nano board due to size constraint.

If I want to use only nano board, how can I use it..

Thanks again..