Pages: [1]   Go Down
Author Topic: [SOLVED] resistor for lcd 16x2  (Read 890 times)
0 Members and 1 Guest are viewing this topic.
Italy
Offline Offline
Jr. Member
**
Karma: 0
Posts: 83
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

it's necessary to put a resistor between pin 15 and +5V?
« Last Edit: March 14, 2013, 03:51:45 pm by olimex » Logged

Western New York, USA
Offline Offline
Faraday Member
**
Karma: 40
Posts: 4395
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
it's necessary to put a resistor between pin 15 and +5V?

Short answer: Sometimes.

Long Answer: The LCD has a 14 pin interface.  The additional pins are for the LED backlight which is a different issue entirely.  LEDs requires some sort of current limiting and this is typically implemented with a series resistor.  Some display manufacturers put this resistor on the pc board and some require you to provide an external resistor.

If you provide us with a link to the display documentation we may be able to determine which situation applies to you.  Otherwise try a 150 ohm resistor and see what happens.


Don
Logged

Italy
Offline Offline
Jr. Member
**
Karma: 0
Posts: 83
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you
the model is qc1602a, I think it's a quite common type of display

I found this:

https://www.google.it/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CDQQFjAA&url=http%3A%2F%2Fe-licktronic.com%2Fattachment.php%3Fid_attachment%3D20&ei=pg9CUan8M4uSswb-6IHADA&usg=AFQjCNFVaU0zbOkEn1MlN_ZnUQt3snl2DA&sig2=_zdNpGa3avgkf33jRJISsg
Logged

United Kingdom
Offline Offline
Tesla Member
***
Karma: 227
Posts: 6637
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The datasheet suggests that the backlight connections are driven from 5V. However, I suggest you check. You can normally find the connections to the LED itself on one side of the display. Either trace the connections from them to pins 15 and 16 looking for series resistors, or use a multimeter to see of these is any resistance between the LED connections and pins 15/16.
Logged

Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

Western New York, USA
Offline Offline
Faraday Member
**
Karma: 40
Posts: 4395
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

My comments are essentially the same as those of dc above, I started them a while ago and got interrupted before I could finish.

In my opinion the documentation that you have is ambiguous as far as the backlight is concerned. 

If you look at section 6 it says that pin 15 should be connected to +5 V implying that no resistor is required.

On the other hand, if you look at section 5 they say that the typical* LED current is to 120 mA but they do not say what limits the current to this value and they show no resistor in the diagram of section 4. 

The best thing to do is measure the backlight current and make sure that it is below 120 mA.  You might also find that the backlight will be sufficiently illuminated with less current which will make things easier on your power supply.


Don

* The column heading 'TYPE' is most likely the Chinglish abbreviation for 'typical'.
Logged

Italy
Offline Offline
Jr. Member
**
Karma: 0
Posts: 83
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you very much!  smiley smiley
Logged

Pages: [1]   Go Up
Jump to: