7-Segment ASCII character Set

A 127-character ASCII table for 7-segment LED or LCD displays. (August 13, 2009)


I started to develop what I call my "next generation of microcontroller projects" (I have to find a name for that), so I needed a character set fully compatible with ASCII using only 7 segment displays.


When I started to determine how many characters and which ones I will use, I thought only 64 characters were enough; 28 Letters, 10 digits, 22 symbols. After a while I did realize that I will need a full set of characters ASCII-compatible. As I found no 7-segment ASCII table, I had to create my own.


Using Excel for 7-segment characters Using my experience with Excel, I made this Excel file to draw 7-segment characters and get the decimal value to display it. I just needed to write the number 1 (One) on each segment and it will change color automatically.


Some hours later, I did made this 7-bit, 128 Character set ASCII table for LCD or LED displays:


7-segment ASCII table


The 1st line shows 0 1 2 3 4 5 6 7 8 9 a b c d e f to be used to display values.
The 2nd line shows 0 1 2 3 4 5 6 7 8 9 a b c d e f upside down.
The 3rd line displays SP ! " # $ % & ' ( ) * + , - . /
The 4th line displays: @ A B C D E F G H I J K L M N O
The 5th line: P Q R S T U V W X Y Z [ \ ] ^ _
6th line: ` a b c d e f g h i j k l m n o
7th line: p q r s t u v w x y z { | } ~ DEL


The symbols replaced were:


[ with 'flipped' J, ] with ||, { with c (for cents), \ with ñ and } with o for grades.


I know some characters doesn't look like the real ones, but if you have a better design, contributions are welcome. The ones difficult to make are: # $ % & ( ) [ ] { } + .


Even the letter M and W didn't convince me as it is not easy to understand. Here is an example:


pack my box with...
I decided to use two characters to replace M: R and 7 together, result: 7 segment M


And W made with [ and J together, the result: 7 segment W


Not perfect, but better than the original characters M and W from the table. Let's see how all letters looks like on a complete sentence:


7 Segment ascii test This sentence, Known as pangram, test all the letters of the English alphabet.1 It says: "Pack my box with five dozen liquor jugs." (Kids: Please replace this sentence with "Pack my box with five dozen of nutritive juice jugs." and say no to alcohol). - It is displayed twice, using Uppercase and Lowercase.


After making this character set, I will be able to make low-cost microcontroller PIC projects with 'alphanumeric' 7-segment displays.


1 This sentence was used by Beagle Bros, an old Apple ][ software company from the 80's. Thanks to Pcgodwin for the contribution of this one!


microcontroller Index
Getting Started with PICs.> 


If any information, data, picture or design infringes a copyrighted material, please send me an e-mail asking to remove it along with the supporting data.
Some features may not work with Google Chrome. © 2006-2010 Jose Pino - Powered by JPC Alpha