Samsung UC 40207 LCD character display (was Re: [sdiy] LCD datasheet required)

Tom Wiltshire tom at electricdruid.net
Tue Feb 2 16:05:54 CET 2010


Just to say thanks to everyone who helped me with this. This morning  
I successfully got words to display on the LCD.

For other people's reference (since this will turn up on google from  
the archive), the Samsung UC-40207 display supplied by ShopEIO uses  
the standard 14-bit pinout:

1 - 0V
2 - +5V
3 - Contrast
4 - RS
5 - R/W
6 - E
7 - D0
8 - D1
9 - D2
10 - D3
11 - D4
12 - D5
13 - D6
14 - D7

but the pins are arranged in ribbon cable format, *not* like a  
standard DIP IC:
1 - 2
3 - 4
5 - 6
7 - 8
9- 10
11 - 12
13 - 14
15 - 16

Pins 15 and 16 are the backlight connections which are also available  
as A and K at the other end of the board.
The contrast voltage on pin 3 I'm unclear about, but tying it to 0V  
gives a perfectly visible display.

Note that the display does a full power on reset and comes up in 8- 
bit mode with the display turned off. The first thing you need to do  
is turn the display on.
Details of the control interface are in the controller chip's datasheet:

http://www.allshore.com/pdf/Samsung_KS0066_(s6a0069).pdf

Hope this helps someone one day - I spent ages trying to find this  
out on the internet and struggled to find it.

Thanks again,
Tom




On 31 Jan 2010, at 22:59, David Brown wrote:

> What do you plan on driving it with?  I have schematics on my site  
> for an AVR interface.  I always use 8 bit.  You can use 4 bit and  
> save some pins.
>
> Dave
>
> At 01:10 PM 1/31/2010, Tom Wiltshire wrote:
>> You're dead right, Dave.
>>
>> Buzzing the final two pins through shows that they're connected to
>> the A and K backlight connections at the other end.
>>
>> So it looks like it's a 2x7 connector, which we think is ribbon-cable
>> format, with two extra backlight pins at the bottom? I'll go and try
>> it...
>>
>> Thanks,
>> T.
>>
>> On 31 Jan 2010, at 19:58, David Brown wrote:
>>
>>> I haven't used one but it looks like a 2x8 connector.  My 2X40 LCD,
>>> and many I have used, have a 2X7 connector.  I'm guessing pins 1-14
>>> are (might be) the standard 14 pin interface and the last two pins
>>> are something else.  Pin 1 looks to be ground which corresponds to
>>> pin 1 of the standard 14 pin interface.
>>>
>>> Typically, the backlight is the two pins on the opposite end, but
>>> might they have brought these to the other side for the extra two
>>> pins.  It always is a pain to use two cables.  Are there traces to
>>> the last two pins?
>>>
>>> Just a guess, mind you.
>>>
>>> Dave
>>>
>>> At 11:24 AM 1/31/2010, Tom Wiltshire wrote:
>>>> Has anyone used one of these Samsung 2x40 LCDs?
>>>>
>>>> http://www.shopeio.com/inventory/details.asp?  
>>>> id=464&cat=Lcds&sub=Character%20Lcd
>>>>
>>>> If so, do you have any data on it? I'm struggling to work out the
>>>> pinout.
>>>>
>>>> Thanks,
>>>> Tom




More information about the Synth-diy mailing list