# Need solution for this LCD

**URL:** <https://forum.arduino.cc/t/need-solution-for-this-lcd/580116>\
**Category:** Displays\
**Created:** [March 16, 2019, 4:56pm UTC](https://forum.arduino.cc/t/need-solution-for-this-lcd/580116 "2019-03-16T16:56:10Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![arkoo94](https://avatars.discourse-cdn.com/v4/letter/a/839c29/32.png) [@arkoo94](https://forum.arduino.cc/u/arkoo94)\
**Post date:** [March 16, 2019, 4:56pm UTC](https://forum.arduino.cc/t/need-solution-for-this-lcd/580116/1 "2019-03-16T16:56:10Z")

</div>

Hello, i have LCD from old alarm, I think it's a 20x4 lcd. But problem is with connect this with Arduino. I know how connect when I have 16 pins I one row, but here are 2 rows for 8 pins, I read manual for lcd with HD44780 but I can't understand how connect with this I know about every pin this below list, but I tried every connection :

1. GND
2. Vcc - 5V
3. V0 - potentiometer
4. RS - command/data
5. RW - gnd
6. E - read/save
7. D0 - data
8. D1 - data
9. D2 - data
10. D3 - data
11. D4 - data
12. D5 - data
13. D6 - data
14. D7 - data
15. Vbacklight - 5v
16. GNDbacklight

Normally I use 12 pin 1,2,3,4,5,6 and 11,12,13,14,15,16, connect to Arduino and use library LiquidCrystal lcd(rs, e ,d4,d5,d6,d7) and this is working for lcd 16x2 but with this lcd is problem. I see light when connect to power but don't see anything I mean text. So any one know how connect this? Below I put three pictures

[Picture 1](https://imgur.com/mjuW4sW)

[Picture 2](https://imgur.com/Y5erFN1)

[Picture 3](https://imgur.com/Hjf2rvX)

[Picture 4](https://imgur.com/hJZ9G9w)

---

<div class="post-metadata">

**Author:** ![floresta](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/floresta/32/213547_2.png) [@floresta](https://forum.arduino.cc/u/floresta)\
**Post date:** [March 16, 2019, 7:55pm UTC](https://forum.arduino.cc/t/need-solution-for-this-lcd/580116/2 "2019-03-16T19:55:22Z")

</div>

This may be an extended temperature range device in which case the voltage applied to pin 3 would have to be more than 5 volts below the supply voltage. In other words you may need a negative voltage at pin 3 with respect to GND.

First try this:

- Connect the power and backlight (pins 1, 2, 15, and 16).
- Connect pin 3 to GND. If you see two rows of boxes you have a 'normal' LCD and after you connect the rest of the pins your device should work.

If that doesn't work then you should try a negative voltage at pin 3. A small battery with its positive end connected to GND and its negative end connected to pin 3 will provide a simple way to test this out.

Don

---

<div class="post-metadata">

**Author:** ![arkoo94](https://avatars.discourse-cdn.com/v4/letter/a/839c29/32.png) [@arkoo94](https://forum.arduino.cc/u/arkoo94)\
**Post date:** [March 16, 2019, 9:22pm UTC](https://forum.arduino.cc/t/need-solution-for-this-lcd/580116/3 "2019-03-16T21:22:34Z")

</div>

> floresta:  
> This may be an extended temperature range device in which case the voltage applied to pin 3 would have to be more than 5 volts below the supply voltage. In other words you may need a negative voltage at pin 3 with respect to GND.
> 
> First try this:
> 
> - Connect the power and backlight (pins 1, 2, 15, and 16).
> - Connect pin 3 to GND. If you see two rows of boxes you have a 'normal' LCD and after you connect the rest of the pins your device should work.
> 
> If that doesn't work then you should try a negative voltage at pin 3. A small battery with its positive end connected to GND and its negative end connected to pin 3 will provide a simple way to test this out.
> 
> Don

Ok second way it is correct. I used 9V battery and now I see the 2 rows of boxes. But now how can I set contrast ? Normally connect potentiometer to GND or what?

---

<div class="post-metadata">

**Author:** ![Paul\_B](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/paul_b/32/216376_2.png) [@Paul\_B](https://forum.arduino.cc/u/Paul_B)\
**Post date:** [March 16, 2019, 9:44pm UTC](https://forum.arduino.cc/t/need-solution-for-this-lcd/580116/4 "2019-03-16T21:44:18Z")

</div>

This display is fascinating for a couple of reasons. One is that it does not appear to have a LED backlight; if it is lighting when you apply 5 V it could even be incandescent lamps. You need to know how much current it is drawing and whether your 5 V supply is being pulled down to a lower voltage by connecting it.

The second is that it has a different contrast ladder - almost all current displays use 2k2 resistors, this one used 510 Ohm resistors. You would not be using a 10k potentiometer to control it - and you should never connect that potentiometer to Vcc in any case. Testing as floresta says with pin 3 grounded would be appropriate; if you need to use a variable resistor in series, a 1k would be the one.

All this begs the question. **Obviously** the very first step would have been to fully examine the circuit in the "old alarm" from which this was removed.

> arkoo94:  
> Ok second way it is correct. I used 9V battery and now I see the 2 rows of boxes. But now how can I set contrast ? Normally connect potentiometer to GND or what?

Two rows of boxes? OK, so it **is** a 2004 _or even longer_ display.

A 9 V battery is likely too much. floresta meant a 3 V battery.

---

<div class="post-metadata">

**Author:** ![floresta](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/floresta/32/213547_2.png) [@floresta](https://forum.arduino.cc/u/floresta)\
**Post date:** [March 17, 2019, 3:25am UTC](https://forum.arduino.cc/t/need-solution-for-this-lcd/580116/5 "2019-03-17T03:25:00Z")

</div>

> Normally connect potentiometer to GND or what?

You need a second 5v power supply connected as shown in figure 21 of the Hitachi HD44780U datasheet. The point labeled V5 is pin 3 on your module.

Basically the positive terminal of this supply gets connected to GND. The negative terminal gets connected through a variable resistor to pin 3. You can use 2/3 of a potentiometer as the variable resistor.

Don

---

<div class="post-metadata">

**Author:** ![arkoo94](https://avatars.discourse-cdn.com/v4/letter/a/839c29/32.png) [@arkoo94](https://forum.arduino.cc/u/arkoo94)\
**Post date:** [March 20, 2019, 3:42pm UTC](https://forum.arduino.cc/t/need-solution-for-this-lcd/580116/6 "2019-03-20T15:42:22Z")

</div>

> floresta:  
> You need a second 5v power supply connected as shown in figure 21 of the Hitachi HD44780U datasheet. The point labeled V5 is pin 3 on your module.
> 
> Basically the positive terminal of this supply gets connected to GND. The negative terminal gets connected through a variable resistor to pin 3. You can use 2/3 of a potentiometer as the variable resistor.
> 
> Don

After 5 days finally I done this. This LCD is using in fact negative voltage for VO. I measured and text display between 4.5 to 3.3 v, I used battery 9v and 2 resistor 2k and 470 ohm and set power to 3.95v and is working. Ofcourse first 5v connect from Arduino and second from battery I know I can use lower like 5v but I had in home 9v so ..

btw thanks florets 🙂

---

<div class="post-metadata">

**Author:** ![floresta](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/floresta/32/213547_2.png) [@floresta](https://forum.arduino.cc/u/floresta)\
**Post date:** [March 21, 2019, 12:54pm UTC](https://forum.arduino.cc/t/need-solution-for-this-lcd/580116/7 "2019-03-21T12:54:28Z")

</div>

Glad you got it working. Thanks for getting back to us to let us know how you made out, not everyone does.

Don

---

<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:** [May 6, 2021, 3:59am UTC](https://forum.arduino.cc/t/need-solution-for-this-lcd/580116/8 "2021-05-06T03:59:55Z")

</div>

Closed on May 6, 2021, 3:59am UTC


