16x2 LCD shows only black boxes in the bottom line

Make sure you supply a couple of pictures of your actual connection. A lot can happen between theory and practice, or thinking and doing. I wager more than 50% problems presented on this display sub-forum is a proof. The more information you provide, the sooner you get your help.