# New LCD display not working, only show light and boxes

**URL:** <https://forum.arduino.cc/t/new-lcd-display-not-working-only-show-light-and-boxes/1036400>\
**Category:** General Electronics\
**Created:** [September 28, 2022, 6:00am UTC](https://forum.arduino.cc/t/new-lcd-display-not-working-only-show-light-and-boxes/1036400 "2022-09-28T06:00:58Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![abdoh\_2000](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/abdoh_2000/32/799422_2.png) [@abdoh\_2000](https://forum.arduino.cc/u/abdoh_2000)\
**Post date:** [September 28, 2022, 6:00am UTC](https://forum.arduino.cc/t/new-lcd-display-not-working-only-show-light-and-boxes/1036400/1 "2022-09-28T06:00:58Z")

</div>

dear everyone.

i bought a bunch of LCDs with I2C from china and i used some of them and they work great. after a month of the purchase, i opened one of the NEW LCD displays and only exchanged the wires with a perfectly working one (to make sure there is no code or wire errors) but its not working.

when i switch back to the old one it works, so the NEW one definitely have a problem.

is there a different library for the same model LCDs?

\*\* i adjusted the contrast and no luck, only light with first row of boxes showing.

---

<div class="post-metadata">

**Author:** ![LarryD](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/larryd/32/215550_2.png) [@LarryD](https://forum.arduino.cc/u/LarryD)\
**Post date:** [September 28, 2022, 6:29am UTC](https://forum.arduino.cc/t/new-lcd-display-not-working-only-show-light-and-boxes/1036400/2 "2022-09-28T06:29:53Z")

</div>

The new I2C LCD display probably has a different **address** than the old LCD.

Run the I2C scanner to discover the addresses of all the displays and write those addresses on the back of the LCD PCB for future reference.

---

<div class="post-metadata">

**Author:** ![abdoh\_2000](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/abdoh_2000/32/799422_2.png) [@abdoh\_2000](https://forum.arduino.cc/u/abdoh_2000)\
**Post date:** [September 28, 2022, 6:31am UTC](https://forum.arduino.cc/t/new-lcd-display-not-working-only-show-light-and-boxes/1036400/3 "2022-09-28T06:31:12Z")

</div>

checked the address and its the same, and that why i knew it is kind of working

---

<div class="post-metadata">

**Author:** ![LarryD](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/larryd/32/215550_2.png) [@LarryD](https://forum.arduino.cc/u/LarryD)\
**Post date:** [September 28, 2022, 6:35am UTC](https://forum.arduino.cc/t/new-lcd-display-not-working-only-show-light-and-boxes/1036400/4 "2022-09-28T06:35:10Z")

</div>

I always use this library:

hd44780.h

> **[GitHub - duinoWitchery/hd44780: Extensible hd44780 LCD library](https://github.com/duinoWitchery/hd44780)**
>
> Extensible hd44780 LCD library. Contribute to duinoWitchery/hd44780 development by creating an account on GitHub.

Read the **Library Overview**

---

<div class="post-metadata">

**Author:** ![PaulRB](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/paulrb/32/216330_2.png) [@PaulRB](https://forum.arduino.cc/u/PaulRB)\
**Post date:** [September 28, 2022, 6:44am UTC](https://forum.arduino.cc/t/new-lcd-display-not-working-only-show-light-and-boxes/1036400/5 "2022-09-28T06:44:04Z")

</div>

Having the same address is not a guarantee that the same code will work.

Please post a link to the displays you have. Are these 16x2 or 20x4 character LCD displays with an i²c backpack soldered to the back of the display?

Does the design of the backpack look identical on the working and non-working displays? If you can see differences, the same chip may have been used (hence the same address) but the wiring between that chip and the display could be different.

---

<div class="post-metadata">

**Author:** ![groundFungus](https://avatars.discourse-cdn.com/v4/letter/g/73ab20/32.png) [@groundFungus](https://forum.arduino.cc/u/groundFungus)\
**Post date:** [September 28, 2022, 7:28am UTC](https://forum.arduino.cc/t/new-lcd-display-not-working-only-show-light-and-boxes/1036400/6 "2022-09-28T07:28:29Z")

</div>

One of the advantages of using the hd44780 library is that it will automatically detect the I2C address and the pin mapping between the LCD and the I2C backpack making the display nearly plug and play.

Included in the examples for the hd44780\_I2Cexp class is a [diagnostic sketch](https://github.com/duinoWitchery/hd44780/blob/master/examples/ioClass/hd44780_I2Cexp/I2CexpDiag/I2CexpDiag.ino) whose output can help to troubleshoot a display that is not working right.

---

<div class="post-metadata">

**Author:** ![abdoh\_2000](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/abdoh_2000/32/799422_2.png) [@abdoh\_2000](https://forum.arduino.cc/u/abdoh_2000)\
**Post date:** [September 28, 2022, 8:51am UTC](https://forum.arduino.cc/t/new-lcd-display-not-working-only-show-light-and-boxes/1036400/7 "2022-09-28T08:51:28Z")

</div>

All are 16×2 and its lcd with i2c on the back already soldered.

Its identical as far as i know.

I Will double check it

---

<div class="post-metadata">

**Author:** ![abdoh\_2000](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/abdoh_2000/32/799422_2.png) [@abdoh\_2000](https://forum.arduino.cc/u/abdoh_2000)\
**Post date:** [September 28, 2022, 8:51am UTC](https://forum.arduino.cc/t/new-lcd-display-not-working-only-show-light-and-boxes/1036400/8 "2022-09-28T08:51:52Z")

</div>

I will try it and update the post

---

<div class="post-metadata">

**Author:** ![hammy](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/hammy/32/238813_2.png) [@hammy](https://forum.arduino.cc/u/hammy)\
**Post date:** [September 28, 2022, 9:27am UTC](https://forum.arduino.cc/t/new-lcd-display-not-working-only-show-light-and-boxes/1036400/9 "2022-09-28T09:27:35Z")

</div>

Have you fitted the pot to adjust the contrast ?

---

<div class="post-metadata">

**Author:** ![abdoh\_2000](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/abdoh_2000/32/799422_2.png) [@abdoh\_2000](https://forum.arduino.cc/u/abdoh_2000)\
**Post date:** [September 28, 2022, 9:30am UTC](https://forum.arduino.cc/t/new-lcd-display-not-working-only-show-light-and-boxes/1036400/10 "2022-09-28T09:30:11Z")

</div>

Yes, this is quite a basic procedure.

All normal procedures i tried.

I thought its defective but thr problem is that it read and detects the i2c address so its fine

---

<div class="post-metadata">

**Author:** ![PaulRB](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/paulrb/32/216330_2.png) [@PaulRB](https://forum.arduino.cc/u/PaulRB)\
**Post date:** [September 28, 2022, 11:58am UTC](https://forum.arduino.cc/t/new-lcd-display-not-working-only-show-light-and-boxes/1036400/11 "2022-09-28T11:58:48Z")

</div>

> [@abdoh\_2000](#):
>
> it read and detects the i2c address so its fine

That means that the i²c backpack it working, but the LCD itself could be faulty.

---

<div class="post-metadata">

**Author:** ![abdoh\_2000](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/abdoh_2000/32/799422_2.png) [@abdoh\_2000](https://forum.arduino.cc/u/abdoh_2000)\
**Post date:** [September 28, 2022, 12:51pm UTC](https://forum.arduino.cc/t/new-lcd-display-not-working-only-show-light-and-boxes/1036400/12 "2022-09-28T12:51:28Z")

</div>

Ohh, i will upload a picture because the screen has tiny dent but it maybe the problem.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [March 27, 2023, 12:52pm UTC](https://forum.arduino.cc/t/new-lcd-display-not-working-only-show-light-and-boxes/1036400/13 "2023-03-27T12:52:05Z")

</div>

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