Pages: [1]   Go Down
Author Topic: Did anyone ever connect a text LCD screen like this to an Arduino Nano?  (Read 278 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 55
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

How do I hook up this LCD screen.

There is an example in Arduino software that shows how to hook one up but I cannot find pins specified there on this LCD screen.


* IMG_4748.JPG (171.16 KB, 783x868 - viewed 15 times.)

* IMG_4742.JPG (446.01 KB, 1840x1380 - viewed 13 times.)

* IMG_4743.JPG (520.15 KB, 1840x1380 - viewed 19 times.)

* IMG_4765.JPG (351.11 KB, 1380x1207 - viewed 13 times.)
« Last Edit: February 05, 2014, 09:16:52 pm by VT91 » Logged

Offline Offline
Edison Member
*
Karma: 29
Posts: 2304
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
There is an example in Arduino software that shows how to hook one up 

Really ?
Might I ask where ?
Logged

Arduino UNOs, Pro-Minis, ATMega328, ATtiny85, LCDs, MCP4162, keypads,
DS18B20s,74c922,nRF24L01, RS232, SD card, RC fixed wing, quadcopter

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

Quote
There is an example in Arduino software that shows how to hook one up 

Really ?
Might I ask where ?

Not this specific LCD screen but a general screen. I cannot find where those pins on this LCD screen are.
I can find the back light pins...
Code:
/*
  LiquidCrystal Library - Hello World
 
 Demonstrates the use a 16x2 LCD display.  The LiquidCrystal
 library works with all LCD displays that are compatible with the
 Hitachi HD44780 driver. There are many of them out there, and you
 can usually tell them by the 16-pin interface.
 
 This sketch prints "Hello World!" to the LCD
 and shows the time.
 
  The circuit:
 * LCD RS pin to digital pin 12
 * LCD Enable pin to digital pin 11
 * LCD D4 pin to digital pin 5
 * LCD D5 pin to digital pin 4
 * LCD D6 pin to digital pin 3
 * LCD D7 pin to digital pin 2
 * LCD R/W pin to ground
 * 10K resistor:
 * ends to +5V and ground
 * wiper to LCD VO pin (pin 3)
 
 Library originally added 18 Apr 2008
 by David A. Mellis
 library modified 5 Jul 2009
 by Limor Fried (http://www.ladyada.net)
 example added 9 Jul 2009
 by Tom Igoe
 modified 22 Nov 2010
 by Tom Igoe
 
 This example code is in the public domain.

 http://www.arduino.cc/en/Tutorial/LiquidCrystal
 */

// include the library code:
#include <LiquidCrystal.h>

// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

void setup() {
  // set up the LCD's number of columns and rows:
  lcd.begin(16, 2);
  // Print a message to the LCD.
  lcd.print("hello, world!");
}

void loop() {
  // set the cursor to column 0, line 1
  // (note: line 1 is the second row, since counting begins with 0):
  lcd.setCursor(0, 1);
  // print the number of seconds since reset:
  lcd.print(millis()/1000);
}

I scraped a sticker off an IC that is on it and I could see that it is
sanyo lc7985na lcd

is this a realistic - looking hookup?
http://www.robotroom.com/LCD-Nanox-Sanyo-2.html
Logged

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

Quote
is this a realistic - looking hookup?
Yes.  It looks like a standard character mode LCD with the almost universal Hitachi 14-pin parallel interface.  Just follow the pin numbers from the Arduino LCD tutorial (http://arduino.cc/en/Tutorial/LiquidCrystal). 

Don


Logged

Offline Offline
Edison Member
*
Karma: 29
Posts: 2304
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I think that is your best bet.
You can sit around and wait for someone to say "oh yeah, I have one of those ! etc... but to be honest with
you, a 14 parallel lcd is not that common (AFAIK).  at least most of them have the backlight pins together
with the rest of the pins . Other than that the pin functions match common lcds.

  If I were you I would just go for it, but just in case, you should use current limiting resistors, maybe 220 ohm, but you're probably safe down to 100 to 150 ohms.  Using 220 ohm resistors you could blinkfold yourself, wire it 9-ways wrong from Sunday and afterward you could rewire it correctly and if that happens to be the correct wiring it should work.. I have a working display that's running the code you uploaded and  I just added 220 ohm resistors to in series with every one
of the 14 pins that are used. so that's Vcc, Gnd, RS,V0,Wr, EN, D4,D5,D6,D7 , and it still works. So If you have made up your mind you want to find out if that's the right wiring I'd say grab some 220 ohm resistors and get it over with, without worrying about damaging your lcd.
« Last Edit: February 05, 2014, 11:32:42 pm by raschemmel » Logged

Arduino UNOs, Pro-Minis, ATMega328, ATtiny85, LCDs, MCP4162, keypads,
DS18B20s,74c922,nRF24L01, RS232, SD card, RC fixed wing, quadcopter

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

Quote
You can sit around and wait for someone to say "oh yeah, I have one of those ! etc... but to be honest with
you, a 14 parallel lcd is not that common (AFAIK).
The LCD interface is and always has been a 14-pin interface.  The backlight is a completely independent subsystem of the module on which the LCD and it's controller are mounted.

Some of the earlier modules had an electroluminescent backlight which required a very high voltage (over 100 v as I recall).  The connections were at the end of the module just like some of the current LED backlights, including the one in the photograph.

Putting the connections for the LED next to those for the LCD makes the hookup more convenient but numbering the LED pins 15 and 16 does not make this a 16-pin LCD interface (in spite of what the Arduino tutorial calls it).


Don
Logged

NSW Australia
Offline Offline
Edison Member
*
Karma: 34
Posts: 2337
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey!  It's got the pin numbers printed on the board.  They alternate between one row and the other.  You just wire it up according to the standard numbering - which is also what the "robotroom" article shows.

And another hint is - you can see that pins one and two are the heavy traces for Ground and Vcc.

Actually I have a couple of the similar type of display - without backlight - which I have yet to try out because I didn't fancy playing with them in the absence of the backlight (and because it isn't as easy to use the connector).  I'll go dig them out!  smiley-grin
« Last Edit: February 06, 2014, 05:12:31 am by Paul__B » Logged

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

i wired everything
lsd screen works well !!!
Logged

Offline Offline
Edison Member
*
Karma: 29
Posts: 2304
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
lsd screen works well !!! 
I think you mean lcd screen.
Logged

Arduino UNOs, Pro-Minis, ATMega328, ATtiny85, LCDs, MCP4162, keypads,
DS18B20s,74c922,nRF24L01, RS232, SD card, RC fixed wing, quadcopter

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

If not, he'll be a happy camper anyway with or without an actually working display.
He'll be seeing things we won't see.
smiley-razz
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
Edison Member
*
Karma: 29
Posts: 2304
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Is he talking about a display that does with photons what Dr. Albert Hoffman did with mold ?
Logged

Arduino UNOs, Pro-Minis, ATMega328, ATtiny85, LCDs, MCP4162, keypads,
DS18B20s,74c922,nRF24L01, RS232, SD card, RC fixed wing, quadcopter

Pages: [1]   Go Up
Jump to: