Arduino: LCD with SPLC780D1 003A Driver (Liquid Crystal Library)
I found a good alternative of LCDs with SPLC780D1 driver. The SPLC780D1 003A uses an extended character set, which makes printing of letters for lot of European languages very easy.
The Character Set of the SPLC780D1 003A LCD
The SPLC780D1 LCD is available in several versions. For European languages you need the character set 003A of the SPLC780D1. The displays are often sold as "European". At the end of the page you find a link where you can buy these displays. The SPLC780D1 003A ROM contains more characters than the Hitachi HD44780U A00 ROM. In total 240 characters are defined:
There are some interesting things to find:
- Column 0x01 contains some mathematical symbols.
- The columns 0011 - 0111 are nearly compatible to ANSI/ASCII. In contrast to the HD44780 even the backslash and the tilde are available. Only the last character 0x7F differs.
- In column 0x08 - 0x0A we find characters from Latin-1 and Latin-2 used for "Western European" (ISO/IEC 8859-1), Scandinavian and Southern European languages.
- In column 0x0B - 0x0C there are more mathematical symbols
- In column 0x0D - 0x0F you find Greek letters
Arduino Library for the SPLC780D1 003A LCD
The SPLC780D1 should work with any Liquid Crystal Library. But printing of special characters might get cumbersome. Therefore I made an extension in the library "Noiasca Liquid Crystal". This library offers the easy support for special characters on the SPLC780D1 003A.
Depending on the hardware interface, you just add the converter for the SPLC780D1 003A as last parameter. For example the constructor for I2C expanders:
LiquidCrystal_PCF8574 lcd(addr, cols, rows, convert_SPLC780D1_003A);
This enables the easy access to Latin-1 (Western European languages) and Latin-2. That includes for example German, Norwegian, Swedish, Spanish, Italian. More special characters from Latin-2 are needed for French, Hungarian, Czech, Slovak, Slovenian, Croatian, Polish, ...
The library contains an example sketch which shows lot of special characters used in several European languages. For some languages (Danish, English, Swedish) all characters can be shown:
German uses the Greek beta for the ß (sharp s):
Some languages use diacritic marks (acutes, grave...) on letters which are not available in the character ROM but you can replace them with plain letters:
The French and Italian LCD examples show very clear, that the support of small letters is better than for capital letters:
Italian has good supported on that LCD
In Hungarian some of the special characters are supported:
Spanish and Catalan will show up quite well:
And even Slavic languages have a good support:
And even if there is none of the special characters available, at least the print out doesn't break and each letter is replaced by the standard ASCII letter. This comes handy for Polish and Slovenian:
By the way: If you need Cyrillic for Russian, Ukrainian, Bulgarian (or other languages) you should consider to buy a A002 ROM for Cyrillic. Mostly they are sold as "Russian". See Noiasca Liquid Crystal Library Cyrillic how tow write Cyrillic letters:
The SPLC780D1 LCD is currently THE solution if you want to use a character LCD for European Languages. The SPLC780D1 supports lot of Latin-1 and Latin-2 characters. Even some characters from Latin-3 are available. If you need an easy to use Arduino library, use the "Noiasca Liquid Crystal" with the prepared converters for the SPLC780D1 chip.