LCD Not Working Properly

I´m using a RoHs Lcd 1602A Ver5.5 https://www.geeetech.com/Documents/LCD1602%20Black%20on%20Y%20JH162A[1].pdf

I tried the following code example:

/*
  LiquidCrystal Library - Hello World

 Demonstrates the use a 16x2 LCD display.  The LiquidCrystal
 library works with all LCD displays that are compatible with the
 Hitachi HD44780 driver. There are many of them out there, and you
 can usually tell them by the 16-pin interface.

 This sketch prints "Hello World!" to the LCD
 and shows the time.

  The circuit:
 * LCD RS pin to digital pin 12
 * LCD Enable pin to digital pin 11
 * LCD D4 pin to digital pin 5
 * LCD D5 pin to digital pin 4
 * LCD D6 pin to digital pin 3
 * LCD D7 pin to digital pin 2
 * LCD R/W pin to ground
 * LCD VSS pin to ground
 * LCD VCC pin to 5V
 * 10K resistor:
 * ends to +5V and ground
 * wiper to LCD VO pin (pin 3)

 Library originally added 18 Apr 2008
 by David A. Mellis
 library modified 5 Jul 2009
 by Limor Fried (http://www.ladyada.net)
 example added 9 Jul 2009
 by Tom Igoe
 modified 22 Nov 2010
 by Tom Igoe
 modified 7 Nov 2016
 by Arturo Guadalupi

 This example code is in the public domain.

 http://www.arduino.cc/en/Tutorial/LiquidCrystalHelloWorld

*/

// include the library code:
#include <LiquidCrystal.h>

// initialize the library by associating any needed LCD interface pin
// with the arduino pin number it is connected to
const int rs = 1, en = 2, d4 = 4, d5 = 5, d6 = 6, d7 = 7;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);

void setup() {
  // set up the LCD's number of columns and rows:
  lcd.begin(16, 2);
  // Print a message to the LCD.
  lcd.print("hello, world!");
}

void loop() {
  // set the cursor to column 0, line 1
  // (note: line 1 is the second row, since counting begins with 0):
  lcd.setCursor(0, 1);
  // print the number of seconds since reset:
  lcd.print(millis() / 1000);
}

And Here´s My Circuit:


The LCD is showing strange things and I don´t know why.

Can somebody help me please?

Hello javier976

Welcome to the world's best Arduino forum ever.

Check and correct the solderings first:

Take the time to watch a video that explains how to solder correctly.

Have a nice day and enjoy coding in C++.

p.s. Use an I²C adapter simply.

1 Like

looks like bad soldering/bad wiring

Before I used I2C but it also didn’t work. I thought it was a problem with the I2C module, but I suppose that narrows it down to the soldering does it not?

Hopefully you are correct but with the solder bridges etc you could have also damaged your Arduino. From the looks of the joints the iron is either to cold/small or you are not holding it long enough for the solder to flow properly. Is it a temperature controlled soldering iron. I highly recommend you get some old boards and parts and practice your soldering.

1 Like

Save yourself some pain and grab some male pin headers like what is shown below. You will have to solder these, but it will make your whole setup much cleaner and you will be able to plug the display into your breadboard. 0.1" pitch is very common so the link below should be good.
Digi-Key part # 732-5315-ND

https://www.digikey.com/en/products/detail/würth-elektronik/61300211121/4846823

Regards,
Trent

1 Like

Like others said: Check your soldering.
And don't use pin 1 for your RS signal.
Pins 0 and 1 are used by the Serial functions and during load of your sketch.
Can give unpredictable results if connected to other devices.

So, in general is better to not used them?

I will check my soldering then. Right now I don’t have access to a station, but when I have and correct my mistakes I will update you all. Thank you very much to all

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.