I picked up a 2x16 panel mount LCD from Tanner Electronics that was marked as "UNKNOWN LCD". It is about twice as wide as a standard 2x16 LCD.
It has 8 screw terminals on it, so my first thought was some kind of industrial LCD.
The screw terminals are marked +,-,-,RX,-,TX,+,-
There is a Sipex SP232ECT chip next to the terminals so I had a pretty good feeling this used RS-232
One sticker says "58688-400 05B and 0402 on the bottom" Googling that gets me to a site that sells PLC related hardware and indicates this LCD was made by Rapistan/Dematic. They were out of stock and last sold for about $44 (I paid $6 so I did well)
There is a bar code on the top that says "1FSM6377304/16/02"
Since both stickers have an 04 and 02 and all chips are late 2001, early 2002, I'm assuming that is an April 16, 2002 Mfg date.
Searching on the 1FSM63773 gets me to a German site that is selling these for about 7 Euro.
http://www.pollin.de/shop/dt/NTc2OTc4OTk-/Bauelemente_Bauteile/Aktive_Bauelemente/Displays/LC_Display_RAPISTAN_1FSM563773.htmlAnd also a thread on another forum in German
http://www.mikrocontroller.net/topic/148447It looks like he got it working somehow at 19200, but then it appears they were talking about removing the 8051 and using an AVR, but since the google translation missed a few things, I can't tell.
All the + and all the - connections are tied together and feed into a 7805 regulator.
When I connect a 9V battery, the top row goes black for a half second or so and then a "_" in the first position. Each character has a 1x5 cursor row underneath. The characters appear to all be 5x8.
I wasn't sure if the RX and TX labels were indicating what to connect them to, or what they were, so when I wire them to my laptop's serial port RX to RX and TX to TX, no matter what baud rate I choose, I get what I type echoed back to my terminal.
If I connect RX to TX and TX to RX, I get nothing at any baud rate.
Nothing I type on the various baud rates and connections changes the LCD, it just stays there with a "_" at the first position.
Additional parts are:
OKI M5839C 40 dot LCD driver
Hitachi HD44780
Philips P87C51 SBBB OTP 8051 (PQFP-44)
8 way DIP switch
I've spent a few hours tracing pins and here's what I have:
The top half of the DIP switches are all tied to ground.
The bottom pins 1 through 8 are tied to pins 18 through 25 on the MCU.
1 - 18 P2.0/A8
2 - 19 P2.1/A9
3 - 20 P2.2/A10
4 - 21 P2.3/A11
5 - 22 P2.4/A12
6 - 23 P2.5/A13
7 - 24 P2.6/A14
8 - 25 P2.7/A15
There are 10K pull ups on MCU pins 18 through 25 going to +5V. Flipping the corresponding dip switch pulls them to GND.
V1 through V5 on the Hitachi chip tap off of a string of 1 or 2 ohm resistors wired in series with the starting end going to ground.
When I flip the dip switches (while everything off), the resistance to ground increases on each V1 through V5 pin. So I suspect in that case, since those DIP switches are grounded on one side and 10k pullups on the other that the DIP switches may in part be some kind of contrast adjustment via some sort of resistor divider network, however changing them does not appear to change the contrast that I can see.
V1 through V5 are listed as "Power Supply for LCD Drive VCC –V5 = 11 V (max)" I'm not sure what the MCU pins have to do with it though.
So I'm not really sure if I'll be able to get it to work now or not since I think I'm talking to the MCU over RS232 and it may be waiting for some kind of information over serial before it works.