Jose Pino's projects & tidbits
"Great stuff from someone with an inquisitive mind"

7-Segment ASCII character Set

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


Source: http://www.josepino.com/?7-segment-ascii   Tags: microcontroller electronics scripts

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.
Taken from http://www.josepino.com
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...
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!

< 555 Circuits II   Home   Hello PHP!>

Share your comments and experience:
Keep it short, Comments with bad words, spam and non-related will be deleted.

10/23/09 - 03:01:20 unni from india wrote: Hi,
I am in the process of displaying local characters on matrix LED display.
Please let me have your comments

Name:   Location:
Captcha:   <-- This is the Captcha
Your Comments:

Bookmark or Bookmark and Share Suscribe to RSS Feeds

10 most viewed pages:

- How To Make a Speaker
- Hi-fidelity Homemade Loudspeaker.
- Tachometer/RPM II.
- Homemade WiFi Lid Antenna.
- Super Simple Sun Tracker.
- Led Clock
- USB LED Light.
- How To Repair Sony PSP
- Knowing Everything.
- Matrix Led Display.

Articles related:

- 7-Segment ASCII character Set
- ADC without ADC.
- Air Display.
- Four Digit Counter
- How To Control Multiple Leds
- INSIDER V1.0
- Matrix Led Display.

All categories:

- about
- advertisement
- audio
- automobile
- bad_ones
- best
- circuits
- computer
- discover
- diy
- electronics
- fail
- food
- from_readers
- funny
- furniture
- hacks
- homemade
- how_it_works
- howto
- humor
- interesting
- lego
- light
- microcontroller
- mysql
- opinion
- php
- projects
- readings
- realmeal
- religion
- robots
- science
- scripts
- trips
- videos
- websites
- woodworking


Mr. Counter says: 1688 views.

Search Article

Additional Links:

- Mary's Creations.
- Publicidad Gráfica.
- Todito Yucatán
- Lucina Castillo's Art
- Conoce Amigos en Dalnet
- Narciso González' Alebrijes

Need to contact me?
e-mail address
Please get a good reason before sending me an e-mail.

IE, Firefox, SeaMonkey & Opera tested OK, Some features may not work with Google Chrome. © 2006 - 2009 José Pino - JPC-PHP V5.0
If any information, data, picture or design infringes a copyright material, please send me an e-mail asking to remove it along with the supporting data.