Hello,
Can anyone tell me what is the ASCII for sign of degree to display it on LCD? I was tying that hitachi code table but it was showing me totally different sign.
Best regards,
Mantas
LCD ASCII codes
Moderator: Benj
- DavidA
- Matrix Staff
- Posts: 1076
- Joined: Fri Apr 23, 2010 2:18 pm
- Location: Matrix Multimedia Ltd
- Has thanked: 58 times
- Been thanked: 258 times
- Contact:
Re: LCD ASCII codes
Hello,
Here is the datasheet for our EB005: http://www.matrixmultimedia.com/resourc ... 5-30-4.pdf
And the Hitachi module: http://www.matrixmultimedia.com/resourc ... asheet.pdf
According to those the LCD is
239 : 1110 1111 : EF
Here is the datasheet for our EB005: http://www.matrixmultimedia.com/resourc ... 5-30-4.pdf
And the Hitachi module: http://www.matrixmultimedia.com/resourc ... asheet.pdf
According to those the LCD is
239 : 1110 1111 : EF
- JohnCrow
- Valued Contributor
- Posts: 1367
- Joined: Wed Sep 19, 2007 1:21 pm
- Location: Lincolnshire
- Has thanked: 364 times
- Been thanked: 716 times
Re: LCD ASCII codes
Hi
Ive found the following codes work on my hardware
ASCII 223 - on a Matrix 2 x 16 lcd
ASCII 178 - on my custom 4 x 20 lcd
Though they both still use the Hitachi compatible chipset.
Note they dont show correctly in simulation.
Ive found the following codes work on my hardware
ASCII 223 - on a Matrix 2 x 16 lcd
ASCII 178 - on my custom 4 x 20 lcd
Though they both still use the Hitachi compatible chipset.
Note they dont show correctly in simulation.
1 in 10 people understand binary, the other one doesn't !
- Mantas
- Posts: 221
- Joined: Tue May 15, 2012 10:32 pm
- Location: Klaipeda, Lithuania - North sea, UK
- Has thanked: 57 times
- Been thanked: 27 times
Re: LCD ASCII codes
Thanks John, the 223 is the correct one. My mistake was that I entered the binary format, not the decimal
Best regards,
Mantas

Best regards,
Mantas
Science is my true religion.
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
Re: LCD ASCII codes
Hi Mantas,
Hitachi 44780 LCD ascii table can be found in the bottom chart of the link
http://meteosat.pessac.free.fr/Cd_elect ... itachi.htm
Actually the link below is for the ascii table used in PC...
http://www.ascii-code.com/
In the extended ascii codes you can find...
Hope it's clear now.
Enamul
Hitachi 44780 LCD ascii table can be found in the bottom chart of the link
http://meteosat.pessac.free.fr/Cd_elect ... itachi.htm
so for Hitachi LCD (EB005 Board MM) you have to use any of the above format. But as Flowcode simulation use PC ascii code that's why you will see ß (Beta) in simulation in place of °(deg)...But in hardware you will see °(deg).°(deg) is
Decimal=223
Hex= 0xDF
Binary=0b11011111
Actually the link below is for the ascii table used in PC...
http://www.ascii-code.com/
In the extended ascii codes you can find...
so if you are sending data to PC using RS232 interface you have to use the above in any of the format.°(deg) is
Decimal=176
Hex= 0xB0
Binary=0b10110000
You see 223 is ß(Beta) in PC..ß (Beta)
Decimal=223
Hex= 0xDF
Binary=0b11011111
Hope it's clear now.

Enamul
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times