Pages: [1]   Go Down
Author Topic: Help with LCD  (Read 762 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi!
I have trouble with this LCD because I cannot read from schematics: http://www.artronic.pl/o_produkcie.php?id=967. Is anyone here who can explain me how to connect it or can make Fritzing project?
Thanks for support smiley-wink
Logged

The Netherlands
Offline Offline
Edison Member
*
Karma: 35
Posts: 1304
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

This is a standard display.
You can connect it the same way any 16 pin display is wired.
The extra pins are there because it has a RGB backlight, so you need to have 2 more pins to control backlight color.
Logged

Have a look at "blink without delay".
Did you connect the grounds ?
Je kunt hier ook in het Nederlands terecht: http://arduino.cc/forum/index.php/board,77.0.html

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm connecting LCD like this: http://arduino.cc/en/Tutorial/LiquidCrystal and it's not working. My result is screen is orange. I ran the Hello World example with the same way connected pins.
Logged

0
Offline Offline
Jr. Member
**
Karma: 1
Posts: 84
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I think the vast majority of LCD display problems are caused by wiring mistakes.  I'd recommend you recheck every wire.  The tutorial page you referenced doesn't show the connections to the LED backlight.  If you've followed the tutorial exactly, your backlight shouldn't be lit and it especially shouldn't be orange.  Someone else recently tried an RGB backlight and complained that although they could see "Hello World", it was dim.  Based on that, you probably don't even need to wire up pins 15-18 if you squint.

If you've followed the tutorial, make sure you declare your LCD using:
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

If you're still stuck, take photos clearly showing the wiring from the Arduino to the LCD.
Logged

Upstate NY
Offline Offline
Full Member
***
Karma: 2
Posts: 183
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Also post your code.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've looked on the schematic and on Liquid Crystal examples and I founded that GND and 5V are replaced. I changed my pins and it's not working too :c
I've took some photos of my wiring steps:
1. Setup

2. Utilities

3. Setting up RGB background

4. Connecting GND and 5V

5. Connecting Data, Enable and RS to Arduino

6. Conencting Contrast to power and Enable and RS to LCD

7. Connecting Data to LCD

8. Result :c


And high res photos links:
1. http://scrapyard.co/xvlifo
2. http://scrapyard.co/e8lc6s
3. http://scrapyard.co/x1cxlg
4. http://scrapyard.co/auve8g
5. http://scrapyard.co/c7j65i
6. http://scrapyard.co/rzrgf6
7. http://scrapyard.co/x0pq8q
8. http://scrapyard.co/t16hgt

// JoeO //
My code is Hello World example from Arduino IDE
Logged

Offline Offline
Edison Member
*
Karma: 57
Posts: 2078
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Should there be a potentiometer at Vo ? To be able to see something ?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Maybe, I thought Power can be replacement for Potentiometer.
Logged

Anaheim CA.
Offline Offline
Faraday Member
**
Karma: 44
Posts: 2811
...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

No Not at all But a 4K7 resistor from +5V to the contrast pin and a 330R resistor from the contrast pin to ground should work a charm.

Bob
« Last Edit: April 07, 2013, 10:53:53 am by Docedison » Logged

--> WA7EMS <--
“The solution of every problem is another problem.” -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

0
Offline Offline
Jr. Member
**
Karma: 1
Posts: 84
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Start with LCD pin 1.  To me it looks like it's connected to a red wire that goes to the positive trace on your breadboard (pic 4) and from there to the +5 pin of your Arduino.  The tutorial you cited shows this pin as grounded.

For LCD pin 2, it looks like you've got this pin tied to ground through a resistor (also pic 4).  The tutorial shows this pin to be the 5 volt supply.

Pic 4 is entitled "Connecting GND and 5V".  I don't see a wire to ground.  Only the resistor.

Check the connections to the first 3 pins on the LCD.

I had trouble mentally detangling some of your wires.  Using the same color for all 4 data lines discouraged me from spending more time on it until you checked the power connections.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

// Docedison //
On Thursday I'm going to electronic shop, so I can buy potentiometer, thanks for help smiley-wink

// arloG //
Look at the schematic for my display: http://www.artronic.pl/o_produkcie.php?id=967
First is 5V, second is GND.
Logged

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

Quote
Maybe, I thought Power can be replacement for Potentiometer.
You can never get a display by using 'Power' (meaning 5V) on pin 3 but you sometimes can get a usable display by using GND.  You could try this until you get your potentiometer.

That may get your display to power up but it looks like you have nothing connected to pin 5 (R/W) of the LCD module.  You will not get the LCD controller to initialize correctly or to display any characters until you connect that pin to GND.


Don
« Last Edit: April 07, 2013, 01:39:43 pm by floresta » Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

// floresta //
I think so, because when I connecting Contrast pin with resistor etc. I have something like black pixels :s
Logged

0
Offline Offline
Jr. Member
**
Karma: 1
Posts: 84
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Well, I'm obviously missing something.  I looked at your schematic.  It says pin 1 is Vss and pin 2 is Vdd. 

Don correctly notes that you've got to fix R/W.
Logged

Pages: [1]   Go Up
Jump to: