LCDs with the kits at the hackerspace

443 views
Skip to first unread message

James Andrews

unread,
May 17, 2013, 9:09:55 AM5/17/13
to tokyohac...@googlegroups.com
Hey,

Anyone have any information on the LCDs that we have with the kits at the hackerspace?  I grabbed 2 and haven't been able find a datasheet on it.

James

Taylan Ayken

unread,
May 17, 2013, 9:32:48 AM5/17/13
to tokyohac...@googlegroups.com
Can you put a pic of it? Don't know which ones you are talking about.


From: James Andrews <then...@gmail.com>
To: tokyohac...@googlegroups.com
Sent: Friday, May 17, 2013 10:09 PM
Subject: [THS:22798] LCDs with the kits at the hackerspace

Hey,

Anyone have any information on the LCDs that we have with the kits at the hackerspace?  I grabbed 2 and haven't been able find a datasheet on it.

James
--
You received this message because you are subscribed to the Google Groups "TokyoHackerSpace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tokyohackerspa...@googlegroups.com.
To post to this group, send email to tokyohac...@googlegroups.com.
Visit this group at http://groups.google.com/group/tokyohackerspace?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.
 
 


James Andrews

unread,
May 17, 2013, 9:45:09 AM5/17/13
to tokyohac...@googlegroups.com
Attaching pictures of front and back.

2x7 pin connector on one side, 3 pin connector on the other, but seems only 2 of the 3 pins are used based on the red and white wire that comes with the LCD.  It appears to be made by Sharp  and I have 2 numbers the first is either N1066CP or NI066CP

At the bottom of the right i have  "LM162" etched, then looks like hand written "481" which is weird.  The word "Gidy" is also there.

James

Photo on 5-17-13 at 10.35 PM.jpg
Photo on 5-17-13 at 10.35 PM #2.jpg

Taylan Ayken

unread,
May 17, 2013, 11:07:10 AM5/17/13
to tokyohac...@googlegroups.com
It should be this LCD: http://akizukidenshi.com/catalog/g/gP-01623/

I would say it has the same connections as this one: http://akizukidenshi.com/catalog/g/gP-00038/ That 2x7 pin connector is pretty much standard, the other 3 pin connector should be for the backlight.



Sent: Friday, May 17, 2013 10:45 PM
Subject: Re: [THS:22800] LCDs with the kits at the hackerspace

James Andrews

unread,
May 17, 2013, 11:20:37 AM5/17/13
to tokyohac...@googlegroups.com
I've never used an LCD before, so "pretty standard" means little to me ;-)

Thanks for the 2nd link, that should help me sort out the rest of it.

James

Taylan Ayken

unread,
May 17, 2013, 11:37:54 AM5/17/13
to tokyohac...@googlegroups.com
Sent: Saturday, May 18, 2013 12:20 AM
Subject: Re: [THS:22802] LCDs with the kits at the hackerspace

MRE

unread,
May 18, 2013, 10:16:05 AM5/18/13
to tokyohac...@googlegroups.com
Found the datasheet.
By the way, the part is actually "LM162AS1"  but its a bit hard to find on a decent datasheet site (datasheetarchive is actually link circling bullshit)
Sheet attached.

Pins are listed on page 6, but no reference to the physical object here. So, check out page 13 as well for where the actual pin layout.
With the module sitting so that the pins are on the left side, face up, pins are numbered 1 to 14. bottom two holes are pin 1 and 2, with right column closest to the glass as pin 1.
LM162.pdf

James Andrews

unread,
May 18, 2013, 12:06:57 PM5/18/13
to tokyohac...@googlegroups.com
Thank you!   had it backwards was using the top as 1 and 2, thinking the cable that came with it got soldered to the front, seems like it should be soldered to the back of the board.  I'll try again in a little bit see how it goes.


MRE

unread,
May 18, 2013, 12:53:10 PM5/18/13
to tokyohac...@googlegroups.com
got some photos for you:


First, to verify the arduino works, I am using another LCD (but also a 16X2). It turns out, my arduino was NOT working and I couldnt figure out why all my LCDs werent working. Turns out I plugged it into a 5 volt supply on the barrel jack, which, after the regulator, was giving me only about 3 volts on the power bus and output pins. Dumb me. So I powered it over usb and all was well (5 volts out at the right places). I couldnt be bothered to find my 9 volt psu.

Next I swapped for the my unit from the THS sales stock. Check how I soldered the cable on. Its from the bottom, extending left, such that the green wire on the ribbon is down. This is pin 1. Like this, the socket side of the cable, when facing upwards, is pin for pin as you see the actual pins on the LCD.

Finally a close up of the screen. The pixels are a bit fatter than my other LCD. I actually dont care for it, but meh.

Oh, and the editor in google groups absolutely sucks ass. Especially when it comes to handling pictures. Theres really NO ability to place them where you want. So, these photos are likely to be in random order.

MRE

unread,
May 18, 2013, 1:01:45 PM5/18/13
to tokyohac...@googlegroups.com
Oh, and an often undocumented point (which is a 'gotcha' nearly EVERY time):

R/W (read/write) pin 5 needs to be connected to ground for write mode.
Also
for best contrast, pin 3 needs to be connected to ground as well.

and this glass gets hot.

James Andrews

unread,
May 18, 2013, 2:49:40 PM5/18/13
to tokyohac...@googlegroups.com
Yeah once you mentioned pin 1 was on the bottom I figured that I had soldered the cable on the wrong way.  I haven't gone back to try yet, I was doing some work work.   I'll play around with it tomorrow. Thanks for looking into that.


James Andrews

unread,
May 19, 2013, 2:37:00 AM5/19/13
to tokyohac...@googlegroups.com
Thanks for the help guys.  Managed to desolder the ribbon cable and put it in the correct position.  I was thrown at the beginning, but got it to print out.   I was expecting pin2 to be pin 1 based on the arrow on the plastic casing, but seems mimics the board. 

MRE

unread,
May 19, 2013, 5:03:53 AM5/19/13
to tokyohac...@googlegroups.com
congrats

David Stosik

unread,
Oct 4, 2017, 12:58:33 AM10/4/17
to TokyoHackerSpace
I'm about to update a pretty old thread, but I don't care. :D

I started playing with the same LM162AS1 display, as I was offered one for ending second at the robotics class contest (participation prizes, yay!).

First of all, thanks to everyone who participated in the thread, as some advice, as well as the datasheets, were very helpful!

After hours of tinkering, I managed to get something to display on that screen:


I didn't use any library because I didn't know how to look for one, but you guys seem to say that the 14-pin interface might be a standard, so I'm guessing I shouldn't have to struggle with writing my own library? (If there is such a library, could you please point me in the right direction?)

Here's the code I wrote anyway, if anyone is interested. I'm particularly proud of the smiley part, using the character generator. 

Also, here is a more complete datasheet, which helped a lot (especially the sample procedure page 27).

Richard Frankum

unread,
Oct 4, 2017, 2:01:56 AM10/4/17
to tokyohac...@googlegroups.com
Nice job! I have a similar character-building set in my workspace somewhere. 

As far as libraries go, the Arduino IDE sample worked out of the box. Biggest struggle I had with LCD displays so far has been mistaking the input voltage. 

--Richard 


2017/10/04 午後1:58 "David Stosik" <david....@gmail.com>:

--
このメールは Google グループのグループ「TokyoHackerSpace」に登録しているユーザーに送られています。
このグループから退会し、グループからのメールの配信を停止するには tokyohackerspace+unsubscribe@googlegroups.com にメールを送信してください。
このグループに投稿するには tokyohackerspace@googlegroups.com にメールを送信してください。
https://groups.google.com/group/tokyohackerspace からこのグループにアクセスしてください。
その他のオプションについては https://groups.google.com/d/optout にアクセスしてください。

David Stosik

unread,
Oct 4, 2017, 2:38:59 AM10/4/17
to TokyoHackerSpace
Yep. Turns out the Arduino LiquidCrystal library is made for that kind of LCD display (most seem to be using the same Hitachi controller?).

I struggled a few hours with a Raspberry Pi before switching to my Arduino, when I remembered the Pi's logic is at 3.3V (or maybe my problem was something else?).

I just found this pretty good resource about the LCD display (a similar one), and it includes a few gotchas that puzzled me (for example, the enable can be really sensible, and trigger randomly): http://www.glennklockwood.com/electronics/hd44780-lcd-display.html

On Wednesday, 4 October 2017 15:01:56 UTC+9, Richard Frankum wrote:
Nice job! I have a similar character-building set in my workspace somewhere. 

As far as libraries go, the Arduino IDE sample worked out of the box. Biggest struggle I had with LCD displays so far has been mistaking the input voltage. 

--Richard 

2017/10/04 午後1:58 "David Stosik" <david....@gmail.com>:
I'm about to update a pretty old thread, but I don't care. :D

I started playing with the same LM162AS1 display, as I was offered one for ending second at the robotics class contest (participation prizes, yay!).

First of all, thanks to everyone who participated in the thread, as some advice, as well as the datasheets, were very helpful!

After hours of tinkering, I managed to get something to display on that screen:


I didn't use any library because I didn't know how to look for one, but you guys seem to say that the 14-pin interface might be a standard, so I'm guessing I shouldn't have to struggle with writing my own library? (If there is such a library, could you please point me in the right direction?)

Here's the code I wrote anyway, if anyone is interested. I'm particularly proud of the smiley part, using the character generator. 

Also, here is a more complete datasheet, which helped a lot (especially the sample procedure page 27).


On Friday, 17 May 2013 22:09:55 UTC+9, James Andrews wrote:
Hey,

Anyone have any information on the LCDs that we have with the kits at the hackerspace?  I grabbed 2 and haven't been able find a datasheet on it.

James

--
このメールは Google グループのグループ「TokyoHackerSpace」に登録しているユーザーに送られています。
このグループから退会し、グループからのメールの配信を停止するには tokyohackerspa...@googlegroups.com にメールを送信してください。
このグループに投稿するには tokyohac...@googlegroups.com にメールを送信してください。

MRE

unread,
Oct 9, 2017, 10:22:34 AM10/9/17
to TokyoHackerSpace
I cant find the link now. but Ben Heck did a video on how the Hitachi display works.
He demonstrated it by building a box with a bunch of switches. And to write text, you flicked the switches high or low for the code, then a load switch. supremely manual.
Required an ASCI table and a lot of patience to write your name on it.

Curt J. Sampson

unread,
Oct 10, 2017, 1:20:11 PM10/10/17
to TokyoHackerSpace


On Monday, October 9, 2017 at 11:22:34 PM UTC+9, MRE wrote:
Required an ASCI table and a lot of patience to write your name on it.

Naw, no need for a table. The low-order 5 bits are the letter with 1 = A, 2 = B, etc., the sixth bit is the shift key (low for caps, high for lower case), the seventh bit is always 1, and the eighth always zero.

Actually, I think I have one of these displays kicking around. I should rig this up on a breadboard because it would be fun.

cjs

MRE

unread,
Oct 12, 2017, 6:02:18 AM10/12/17
to TokyoHackerSpace
Great way to keep visitors at our table during promotional events:

"Figure out how to enter your name in less than three minutes, get a prize."

Reply all
Reply to author
Forward
0 new messages