Go Down

Topic: [SOLVED] resistor for lcd 16x2 (Read 935 times) previous topic - next topic

olimex

Mar 14, 2013, 01:40 pm Last Edit: Mar 14, 2013, 09:51 pm by olimex Reason: 1
it's necessary to put a resistor between pin 15 and +5V?

floresta

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


dc42

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.
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.

floresta

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'.

olimex


Go Up