16X2 LCD showing only top row boxes when connected with arduino

I'm using a 16x2 lcd interfaced with an arduino , the problem is that only the top row of boxes is showing even after running the code , ive checked the breadboard , the jumpers and connections for any faulty wiring/component , nothing seems o help.
i first set the power of lcd and the contrast : VSS to GND , VDD to 5v . A (pin 15 lcd) to 3.3v olt via 220 ohm resistor and K (pin 16 lcd) to gnd.
following is the circuit diagram i made on tinker cad and it works : CIRCUIT DIAGRAM

my code is as follows:

#include <LiquidCrystal.h>
LiquidCrystal lcd(12,11,5,4,3,2);
void setup()
{
 lcd.begin(16,2);
}
void loop()
{
  lcd.clear();
  lcd.setCursor(0,0);
  lcd.print("love you");
  lcd.setCursor(5,1);
  lcd.print("3000");
  delay(500);
}

my circuit connection:

could anyone be of any help pleaseee

Looking at the picture I would say that A tiny bit of solder would probably do wonder ….
image

will try that in a bit , but shouldn't it work even without the solder if the header is connected properly

No, the holes in the LCD board don't contain sprung clips to make contact with the pins, like the breadboard holes do.

If the header is connected properly and all other things being equal (including the correct code), it will work.

Point is, the display only works if you actually connect it! :astonished:

And that means all the pins (except those four).

Fascinating how often we get this problem on one or other forum. :roll_eyes:

Sixteen (or at least the right 12) "tiny bits". :grin: In the right place.

???

(I would have put just one ? but apparently I can't!)

It doesn't always come up in "Displays".

Often enough in "Installation and Troubleshooting" since that seems to attract people. :thinking:

Oh, different forum section. Part of me was hoping there was a another whole forum I didn't know about. But I guess if the posts there are about stuff members forgot to solder, it wouldn't be much different to this forum :wink:

If there is, I don't know about it either. :grin:

I barely have (and according to SWMBO do/ should not have) enough time for this forum. (I monitor only four.)

By the header being properly connected , i mean the header connected to the lcd . Which it is just without the solder bcs I don't have a soldering iron on me atm . I'm concerned if there's something wrong with the display

You can know that only if you solder the pins.

Liquid soldering flux for electronics should be used to aid in soldering.

Amazon or eBay.

So - it is not connected then.

Simple as that.

To be connected, the two parts must actually be in contact.

Yes and the quality of the contact is all the more important if the frequency of the signal is high. You’ll quickly loose bits otherwise.

Thanks lads , took a " bit " of soldering and found a code that's suppose to reset your lcd . After thst it's been working fine

Great have fun