Electrical – LCD 16×2 Showing no text

arduinolcd

I an trying to connect a 16×2 LCD text module with Arduino and it continuously shows only the green backlight. My code is correct and my connections are also correct. I tried the same project on Proteus and it works fine.

Thanks for everyone issue is solved..i buy new LCD and everything is fine.

#include <LiquidCrystal.h> 

LiquidCrystal lcd(1, 2, 4, 5, 6, 7);

void setup() { 
   lcd.begin(16,2); 
}

void loop() { 
    lcd.print("Sanjeev"); 
    delay(3000);  
    lcd.setCursor(2,1);
    lcd.print("LCD is working"); 
    delay(3000); 
    lcd.clear(); 
    lcd.blink(); 
    delay(4000); 
    lcd.setCursor(7,1); 
    delay(3000); 
    lcd.noBlink();
    lcd.cursor(); 
    delay(4000); 
    lcd.noCursor();
    lcd.clear(); 
 }

Schematic

Photo of hardware 1

Photo of hardware 2

enter image description here

Best Answer

After a bit of contrast adjustment the photo show pin 3 is connected:

enter image description here

But as others have commented the Original Poster needs to edit the question to add more details about what has been connected to what and example code that proves that when the controller code changes a signal that change reaches the LCD module.

EDIT

Sanjeev,

This is the Arduino sketch I got to work:

#include <LiquidCrystal.h>

LiquidCrystal lcd(1, 2, 4, 5, 6, 7);

void setup() {
    lcd.begin(16,2);
}

void loop() {
    lcd.print("Sanjeev");
    delay(3000);
    lcd.setCursor(2,1);
    lcd.print("LCD is working");
    delay(3000);
    lcd.clear();
    lcd.blink();
    delay(4000);
    lcd.setCursor(7,1);
    delay(3000);
    lcd.noBlink();
    lcd.cursor();
    delay(4000);
    lcd.noCursor();
    lcd.clear();
}

This is how I connected my Arduino UNO:

enter image description here

This is it running:

enter image description here

EDIT 2

@sanjeev-sharma, From your photos it looks like you have reversed the order of the data bit lines from the Arduino to the LCD module.