Urgent help needed with LCD JHD 162A Arduino

Try using a potentiometer on pin 3 instead of the 10K resistor.