7-Segment ASCII character Set A 127-character ASCII table for 7-segment LED or LCD displays using PIC16C84

Summary of 7-Segment ASCII character Set A 127-character ASCII table for 7-segment LED or LCD displays using PIC16C84


Summary: I created a 7-segment ASCII-compatible character set for microcontroller projects, expanding from an initial 64 to a full 128-character table. Using an Excel tool to design characters and get segment values, I mapped ASCII characters to 7-segment patterns, noted substitutions for hard-to-render symbols, and shared the complete set for PIC16C84-based displays, inviting improvements.

Parts used in the7-segment ASCII character set project:

  • 7-segment LED or LCD displays
  • PIC16C84 microcontroller (example target)
  • Excel (used to draw characters and compute decimal segment values)
  • Wiring and driver circuitry for 7-segment displays
  • Power supply for microcontroller and displays
  • Programming tools for PIC16C84 (e.g., programmer or development environment)

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.

Segment ASCII character Set

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 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:

Segment ASCII table character Set

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 ofor 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: # $ % & ( ) [ ] { } + .

For more detail: 7-Segment ASCII character Set
A 127-character ASCII table for 7-segment LED or LCD displays using PIC16C84

Quick Solutions to Questions related to the7-segment ASCII character set:

  • What did the author create?
    A 7-bit, 128-character ASCII table for 7-segment LED or LCD displays compatible with ASCII.
  • How were the 7-segment characters designed?
    Using an Excel file to draw segments (entering 1 to mark segments) which then provided decimal values for display patterns.
  • Why was a full 128-character set needed?
    The author initially planned 64 characters but realized a full ASCII-compatible set was required for the project.
  • Which microcontroller is mentioned as a target?
    The PIC16C84 is mentioned as an example target for the character set.
  • Are any characters substituted or approximated?
    Yes; examples: [ replaced with flipped J, ] with ||, { with c (for cents), backslash with ñ, and } with a degrees-like symbol.
  • Which characters are the most difficult to render?
    The author notes # $ % & ( ) [ ] { } + and . are difficult to make on 7-segment displays.
  • Can others contribute improved designs?
    Yes; the author invites contributions and better designs for problematic characters.
  • What does the 1st line of the table display?
    It shows hexadecimal digits 0 1 2 3 4 5 6 7 8 9 a b c d e f for values.
  • What does the 2nd line of the table show?
    It shows the same hexadecimal digits 0–f upside down.
  • Where can more detail be found?
    The author refers to a detailed 7-Segment ASCII character set page and mentions PIC16C84 usage.

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter