EE 552

Text Messaging Centre

Alan Mak, Ben Lee, Wing Yee Chan, Christina Kwok

ASCII Code

  Introduction     Information on ASCII Character Set   Scan Code   Reference  

 
Introduction
Sometimes when you want to display characters to a LCD (liquid Crystal Display), VGA display or something else. You will need to know their ASCII code for different characters. This application notes will provide a quick reference to an ASCII chart.
Go to top

 
Information on ASCII Character Set

ASCII - American Standard Code for Information Interchange. A coding standard for characters, numbers, and symbols.

The first 32 characters, ASCII codes 0 through 1Fh, form a special set of non-printing characters called the control characters. We call them control characters because they perform various printer/display control operations rather than displaying symbols.

The second group of 32 ASCII character codes comprises various punctuation symbols, special characters, and the numeric digits.

The third group of 32 ASCII characters is reserved for the upper case alphabetic characters.

The fourth, and final group of 32 ASCII character codes is reserved for the lower case alphabetic symbols, five additional special symbols, and another control character (delete).

Go to top

 
Scan Code

The codes that are obtained from the keyboard are scan code. For more information on scan code, please refer to http://www.ee.ualberta.ca/~elliott/ee552/studentAppNotes/2000f/interfacing/keyboard. This is not the same as ASCII code. To convert scan code to ASCII code, the following VHDL code can do such a conversion.

Go to top

 
Reference

http://www.danbbs.dk/~erikoest/ascii0.htm

http://www.ee.ualberta.ca/~elliott/ee552/studentAppNotes/2000f/interfacing/keyboard.

 

Go to top

 

keyASCII.vhd

This page is maintained by Chris