Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases

HD44780 (MELT variant)

General discussion about LCD Smartie.

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo, Fast351

Post Reply
Anzo Matrix
Posts: 7
Joined: September 9th, 2006, 11:41 am

HD44780 (MELT variant)

Post by Anzo Matrix »

Good daytime.

I bought character LCD 16x2 with analog of HD44780 controller (manufacturer is Russian company named MELT (http://melt.com.ru/)). It supports two codepage. I use LCDSmartie and I need secondary charset. Can I set it with this software?

Command is 0x3A.
Anzo Matrix
Posts: 7
Joined: September 9th, 2006, 11:41 am

Programmed!

Post by Anzo Matrix »

I wrote this code myself, but new version was appeared.
limbo
Plugin Author
Posts: 1604
Joined: February 13th, 2005, 7:38 pm
Location: Athens - Greece
Contact:

Post by limbo »

Sorry about the late reply...

What is your LCD drive type? is it serial?
Anzo Matrix
Posts: 7
Joined: September 9th, 2006, 11:41 am

Post by Anzo Matrix »

It has parallel interface compatible with HD44780, but includes Russian characters. Secondary charset is CP1251, primary is Russian too but I don't know what encoding in it.
limbo
Plugin Author
Posts: 1604
Joined: February 13th, 2005, 7:38 pm
Location: Athens - Greece
Contact:

Post by limbo »

I think you need a special driver to drive the second code page through LCD Smartie...

:-k Please give me more details (maybe some pictures): if you try to write down Russian (cyrillic) what is the result on virtual dispay of LCd Smartie and on your display?
Anzo Matrix
Posts: 7
Joined: September 9th, 2006, 11:41 am

Post by Anzo Matrix »

Output in program window isn't depend LCD.

For CP1251 is needed to set one bit in 1:

--=Part of ULCD_HD.pas=--
procedure TLCD_HD.init;
const
FuncSet = 34; // was '32'
FSInterface8Bit = 16;
FSInterface4Bit = 0;
--=Part of ULCD_HD.pas=--

Without this thing I had got another Russian encoding (maybe ISO-<something>).

Maybe charset of MELT display (even first half) differs from original controller, but Latin characters and punctuation signs must match Hitachi's one.

NB: "Cylillic" is our ancient alphabet. But it is offtopic.
ACKET
Posts: 8
Joined: March 7th, 2007, 10:32 pm
Location: Russia

Anzo Matrix

Post by ACKET »

You could change this of bit "P" in a command "FunctionSet"?
ACKET
Posts: 8
Joined: March 7th, 2007, 10:32 pm
Location: Russia

Post by ACKET »

Thanks you! I wrote this code myself in lcd_smartie-5.3.2_final release :)
To send the modify source code for limbo.
--------------------
My english is very weak...
Anzo Matrix
Posts: 7
Joined: September 9th, 2006, 11:41 am

Post by Anzo Matrix »

People are recommending to put checkbox in program for switching between normal and MELT localized charsets. Can anybody test my code on original LCD to check how much it necessary?
Post Reply