Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Displaying degree character in the LCD...

Status
Not open for further replies.

seemanta

Member level 4
Joined
Jun 10, 2006
Messages
71
Helped
3
Reputation
6
Reaction score
1
Trophy points
1,288
Activity points
1,968
degree symbol in lcd

Hi all,
I guess, I am posting a very stupid question. I am making a digital thermometer but not able to display the 'degree' character on the LCD, that is the small circle-like character at the top :(

I consulted the ascii chart and found that 249 seems to be ascii code. However, when I tried to display it, I am only getting a junk character on the display.

My other characters are getting displayed properly, so I know that the code or the circuit for displaying 'normal' characters is not flawed.

Do I need to do something exotic like play with the CG RAM for this?
Please help me. I know this might sound silly, but if you already have done this before then it will just be 2 mins to reply to this message!

Thanks in advance!

regards,
Seemanta
 

lcd optrex

as i am watching the datasheet for optrex LCD now i can see the character you need , its code is "11011111" or "DF" in hex format.
check and see if it solves your problem or not.
 

    seemanta

    Points: 2
    Helpful Answer Positive Rating
Hey that worked!!! :D
A million thanks for your help!
(I have added help points to you!!)

regards,
Seemanta

P.S. Just one question, just how did know about it?? From the ASCII chart this character, 0xDF looks like a small rectangle, I could have never guessed that it would
look like a 'degree' character on the LCD!!
 

as i said i get it from the datasheet of optrex LCD , there are some differences between the codes for miscellaneous charcter in lcd and ascii codes.
i recommend you using of the codes which are provided in the datasheet of lcd instead of ascii table for pc's.
 

Hello !

Please go to the Data Sheet of the LCD that you are using.

There will be the code given for the Degree Symbol.

You have not mentioned the Model of the LCD tbat you are using.

Take Care
 

Well, I just got an LCD from the local shop here. It is definitely based on the HD44780. So I shall look up the data sheet for HD44780.

Many thanks for your help!

regards,
Seemanta
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top