port

hi,
how can i use all pins in port J in mega 2560?

You cant, unless connecting directly to the chip

You need a board that brings all the pins out.
http://www.crossroadsfencing.com/BobuinoRev17/