16x2 LCD
Robot Freak
Posts: 168
Hello,
Just bought a 16x2 LCD screen, the datasheet can be found here.
I connected the Vss to ground
Vdd to 5v
Vo to 5v
RS to pin16
R/W to pin 17
E to pin18
DB4..7 to pin11..8
LED+ to 5v
LED- to ground
After using this object, the 5v voltage regulator was getting warm, the LCD didn't show anything. (backlight went on)
So I decided it would be a good idea to ask here for some help.
Am I connecting it wrong or do I have to use an other object?
Kind regards,
Robot Freak
Just bought a 16x2 LCD screen, the datasheet can be found here.
I connected the Vss to ground
Vdd to 5v
Vo to 5v
RS to pin16
R/W to pin 17
E to pin18
DB4..7 to pin11..8
LED+ to 5v
LED- to ground
After using this object, the 5v voltage regulator was getting warm, the LCD didn't show anything. (backlight went on)
So I decided it would be a good idea to ask here for some help.
Am I connecting it wrong or do I have to use an other object?
Kind regards,
Robot Freak
Comments
I connected Vo to ground and added a resistor for the LED backlight.
Regulators are cold now.
Is it recommended to use resistors on the data pins?
For what are they necessary?
Kind regards,
Robot Freak
Double check your connections and set up a potentiometer to provide an adjustable contrast voltage. The 5V may be too high. A 10K pot between 5V and ground with the wiper connected to the Vo pin would work.
The Propeller runs off 3.3V, not 5V. If you connect an I/O pin to a source of more than 3.3V (actually 3.9V), there are protective diodes to the Propeller's Vdd and Vss supplies that will conduct. If the amount of current conducted is too large, the Vdd supply will actually shift due to on-chip resistances and the Propeller can be damaged if Vdd rises too much. In addition, the diodes and possibly the conductors on the chip and to the chip can melt if there's too much current. The resistors limit that current to something the chip can handle (<50mA typically).
Post Edited (Mike Green) : 4/23/2008 4:09:53 PM GMT
So the resistors are not necessary.
Thanks for the replies!
The LCD object does indeed use OUTA but if you don't issue the correct command and/or suffer a corrupted data stream it is possible for the LCD to switch to 'output' mode.
I speak from experience
Coley
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PropGFX Forums - The home of the Hybrid Development System and PropGFX Lite