Hello friends, I hope you all are doing great. Today, I am going to share the new HT16K33 Alphanumeric Display Library for Proteus Simulation. A 7-segment display can show numbers, but words come out strangely; a 14-segment display has diagonal and centre segments too, so it writes every letter of the alphabet clearly. The popular backpack puts four 0.54-inch 14-segment characters on a Holtek HT16K33 driver that talks I2C, blinks and dims by itself. With this library you can run a full Proteus simulation of that backpack and get your segment patterns and commands right before you solder anything.
HT16K33 Alphanumeric Display Library for Proteus
Latest version: V1.0 (November 2026, this tutorial)
Other segment displays: 7-Segment Display · TM1637 · MAX7219 7-Segment · LCD 16x2
Helping Tools
- Serial Monitor Advance: a serial terminal window for the UART of your board
- Serial Monitor Expert: the serial monitor with extra debugging tools
- LCD Library for Proteus V3.0: 16x2, 20x4 and I2C LCDs to show your readings
The segments light on the sheet at run time, in red, with the chip's own brightness and blinking, and a pop-up shows the text, the RAM and every command. The demo plays five scenes: a scrolling message, a counter, a clock, blinking and dimming.
NOTICE: Our team has put a lot of effort into these small parts: the bodies, the animation and the pop-ups are all our own design, and you get them free. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the 7-segment board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the HT16K33 Alphanumeric Display Library for Proteus Simulation:
What Is the HT16K33 Alphanumeric Display?
The HT16K33 from Holtek is a RAM-mapped LED driver: it can drive 128 LEDs (16 rows x 8 commons) from a 16-byte display RAM, with an internal oscillator, 16 brightness steps and hardware blinking, all over I2C. On the alphanumeric backpack it drives two dual 14-segment displays - four characters with a decimal point each. The board is 50.8 x 20.3 mm and has four pins: VCC, GND, SDA and SCL.
| 4-character 14-segment backpack (HT16K33) | |
|---|---|
| Display | 4 characters, 14 segments + DP each, 0.54" tall |
| Driver | Holtek HT16K33, 16-byte display RAM |
| Interface | I2C at 0x70 - 0x77 (A0 - A2 jumpers) |
| Features | 16 brightness steps, blinking at 2, 1 or 0.5 Hz |
| Board | 50.8 x 20.3 mm, 3.3 - 5 V |
| Uses | clocks, counters, short messages, menus |
The Commands
Every command is a single byte. 20h | S is the system setup: 21h starts the oscillator, 20h puts the chip to standby. 80h | B1 B0 D is the display setup: D switches the display on, B selects the blinking - none, 2 Hz, 1 Hz or 0.5 Hz - so 81h means "on, steady" and 83h "on, blinking at 2 Hz". E0h | P sets the brightness from E0h (1/16) to EFh (16/16). A byte from 00h to 0Fh is a RAM address, and the data bytes after it fill the RAM with auto-increment. After power-on the oscillator and the display are both off: nothing shows until 21h and 81h.
Fourteen Segments in Two Bytes
Each character takes two RAM bytes, the low byte first: bit 0 is segment A (the top), then B, C, D, E and F around the edge, bit 6 and 7 are G1 and G2 (the two halves of the middle bar), bits 8 - 13 are H, J, K, L, M and N (the four diagonals and the upper and lower centre bars), and bit 14 is the decimal point. A letter is therefore a 16-bit pattern - "A" is 00F7h, "K" is 2470h with its two diagonals. Writing four characters is one I2C transfer: the address 00h and eight data bytes.
A Worked Example: the Letter A
Draw an "A" on paper as segments: the top bar (A), both right-hand verticals (B and C), both left-hand verticals (E and F) and the whole middle bar (G1 and G2). Bits 0, 1, 2, 4, 5, 6 and 7 are set, bit 3 (the bottom bar D) is not: 1111 0111 in binary, F7h in the low byte, and nothing in the high byte, so the pattern is 00F7h. The sketch sends F7h first and 00h second. A "K" needs the left verticals E and F, the left half of the middle bar G1 and two diagonals, K and N, from the high byte - 70h and 24h. Once you can read a pattern this way, a wrong segment on the display tells you at once which bit is wrong, and the pop-up's RAM row shows the bytes the chip really received.
Several Displays on One Bus
Because the backpack talks I2C, it uses only two wires of your board, and those two wires can be shared. Three solder jumpers on the back, A0 - A2, add 1, 2 and 4 to the address, so eight backpacks can sit on one bus at 0x70 to 0x77 - a 32-character message board on two pins. The same bus can carry a real-time clock, a temperature sensor or an EEPROM, each with its own address. In the simulation the ADDRESS property plays the role of the jumpers: give each display its own value and address it from the sketch.
Features of the HT16K33 Alphanumeric Display Library for Proteus Simulation
- A real-looking backpack: the black 50.8 x 20.3 mm board at its real size with two dual 14-segment displays and the four-pin header.
- The segments on the sheet: lit in red at run time, with the chip's brightness and blinking.
- The real commands: the oscillator (20h / 21h), the display setup with blinking (80h - 87h), the dimming (E0h - EFh), the RAM address with auto-increment.
- Real behaviour: a blank display until 21h and 81h, blinking at the real rates, 16 brightness steps, the address from the ADDRESS property (0x70 - 0x77).
- A pop-up: the four characters, eight tiles - the text, oscillator and display, blink, brightness, address, commands, RAM writes and the last command - graphs, an event log and a check page.
- A complete package: about 1.4 MB with the library, our Arduino UNO V4.0 and the demo, without the source code of the model.
The HT16K33 in Proteus
The device is HT16K33ALPHATEP in TEPHT16K33.LIB, under Optoelectronics > 14-Segment, with the prefix U and the model TEPHT16K33.DLL. Search HT16K33 or 14-segment in Pick Devices. Four pins at the bottom: VCC, GND, SDA and SCL. The property ADDRESS sets the I2C address from 0x70 to 0x77, as the A0 - A2 jumpers do on the real board.
Download HT16K33 Alphanumeric Display Library for Proteus Simulation
Click the button below to download HT16K33-Alphanumeric-Display-Library-for-Proteus-v1.0.zip (about 1.4 MB, without the source code of the models):
HT16K33 Alphanumeric Display Library for Proteus V1.0- README.txt: installation, the demo, the wiring, troubleshooting and the limits of the simulation.
- Proteus Library Files:
TEPHT16K33.LIBandArduinoV4TEP.LIB. - Proteus Model Files:
TEPHT16K33.DLLandTEPARDUINO.DLL. - Arduino Code: the demo sketch (no display library).
- Proteus Simulation: the demo project, its HEX file and copies of the DLLs.
No Proteus yet? Read How to Download and Install Proteus 7 and 8. New to libraries? Follow How to Install a New Library in Proteus.
How to Install HT16K33 Alphanumeric Display Library for Proteus Simulation
- Close Proteus and extract the whole zip file, for example to your Desktop.
- Copy the files from Proteus Library Files into the LIBRARY folder of Proteus.
- Copy the files from Proteus Model Files into the MODELS folder.
- Delete
TEPHT16K33.IDXfrom the LIBRARY folder if it is there. - Start Proteus, press P and search for HT16K33.
Proteus Simulation of an Alphanumeric Display
Our demo is a small showcase. U1 is the HT16K33 backpack at address 0x70. Its SDA goes to A4 and SCL to A5 of our Arduino UNO Library for Proteus V4.0 - the UNO's I2C pins - and VCC and GND to the supply. The Arduino's built-in monitor is the same window as our TEP Serial Monitor Advance for Proteus. Open HT16K33-Alpha-ArduinoUnoV4.pdsprj.
The Sketch
The sketch needs no display library: it uses Wire directly. A command is a one-byte transfer:
byte command(byte c) { Wire.beginTransmission(ADDR); Wire.write(c); return Wire.endTransmission(); } // one command byte
In setup() it starts the oscillator - the answer of that first transfer tells whether a chip is there - and switches the display on:
const byte err = command(0x21); // the oscillator on
command(0x81); // the display on, no blinking
The letters are a table of 16-bit patterns in flash, looked up by the character:
if (c >= 'A' && c <= 'Z') return pgm_read_word(LETTERS + (c - 'A'));
show() writes four characters in one transfer: the RAM address 00h, then two bytes for each character, low byte first, with the decimal point as bit 14:
Wire.write(0x00); // the RAM address, then 8 bytes with auto-increment
const uint16_t v = pattern(s[i]) | ((dots >> i) & 1 ? 0x4000 : 0);
Wire.write(v & 0xFF); Wire.write(v >> 8);
Blinking and dimming cost the board nothing: one command each, and the chip does the rest:
command(0x83); delay(2000); // 80h | 01b << 1 | 1: blink 2 Hz
for (int p = 15; p >= 0; p--) { char b[5]; snprintf(b, sizeof b, "DM%2d", p); show(b); command(0xE0 | p); delay(120); }
HT16K33 Simulation Results
Open the project and press Run. The demo runs 16.8 simulated seconds and took about three minutes on our PC with the pop-up open and the pictures being taken. Click the display for its pop-up. Every number below comes from one simulation run, the demo exactly as it ships.
The Start
Right after power-on the display is dark, as the real chip is: its oscillator and its display are off. The sketch's first transfer, 21h, is acknowledged at address 0x70, so the monitor prints "HT16K33 at 0x70: found". Then come 81h - the display on, no blinking - and EFh, full brightness. The pop-up's tiles turn to "on - on", "off" for the blink and 16/16.
The Scrolling Message
Scene 1 scrolls "TEP HT16K33 DEMO" through the four characters, one step every 200 ms - each step is one I2C transfer of the address and eight bytes. Our picture at 2.5 s catches "6K33": the "6" with its middle bars, the "K" with its two right-hand diagonals - the letter a 7-segment display simply cannot draw.
The Counter and the Clock
Scene 2 counts from 0 to 250 in steps of 5, every 60 ms - " 130" at 6.0 s, right-aligned by the sketch. Scene 3 shows a clock: "12.30" at 7.8 s, with the decimal point of the second character lit by bit 14 of its pattern. On the sheet the four characters glow red on the black board, and the unlit segments stay faintly visible, as on a real display.
Blinking
Scene 4 writes "BLNK" and sends 83h at 8.455 s: display on, blinking at 2 Hz. The chip does the blinking by itself - the board sends nothing more - and at 9.0 s the pop-up shows "blink 2 Hz". Two seconds later 85h slows it to 1 Hz (at 11.5 s), then 81h makes it steady again.
Dimming
Scene 5 steps the brightness down and up with the dimming command, writing the level on the display: "DM 7" at 13.5 s is brightness 8/16 (E7h), and the segments are visibly darker. The level reaches E0h (1/16) at 14.28 s and climbs back to EFh at 16.22 s; then "DONE" appears at 16.8 s and the scenes start again.
The Graphs, the Event Log and the Check Page
The Graphs page plots the commands, the RAM frames and the brightness over the run. The Event log keeps the oscillator, the display, each blink and dimming change. The Check page sums up the run: VCC 5.00 V with about 15 mA, I2C at 0x70 with 145 commands, 856 RAM bytes in 107 frames and no NACKs, the oscillator on (21h), the display on and steady, the brightness 16/16 (EFh) and the text "DONE" with its RAM bytes. Every line is green.
The monitor shows the sketch's side: whether the chip answered at 0x70 and each scene as it starts.
14 Segments, 7 Segments or a TM1637?
Our 7-Segment Display Library for Proteus covers the classic single and multi-digit 7-segment displays that you drive pin by pin - the best way to learn how segments and multiplexing work. Our TM1637 7-Segment Display Library for Proteus is the cheap 4-digit clock module with its own two-wire protocol, perfect for numbers. The HT16K33 backpack is the step up when you need words: real letters, a standard I2C bus shared with other devices, and blinking and dimming built into the chip.
Try It Yourself
- Remove command(0x21) from setup(): the display stays blank whatever you write - the oscillator is off.
- Change the ADDRESS property to 0x71: the sketch prints "no answer" until you change ADDR too.
- Send 87h instead of 83h: the text blinks at 0.5 Hz.
- Add your own letters to the message - every letter from A to Z is in the table.
- Write the high byte first by mistake and watch the pop-up show strange segments.
Ideas to Extend the Demo
- A clock with a real-time-clock module on the same I2C bus.
- A temperature display: "T 23" with a sensor beside it on the bus.
- Eight backpacks at 0x70 - 0x77 as a 32-character message board.
Your Own Sketches
The demo sketch is in the zip file, and you can change it in the Arduino IDE. New to Arduino? Start with our Arduino Tutorial for Beginners. Export the compiled binary, and set the UNO's PROGRAM property to the new file. Our guide on How to get the HEX file from Arduino shows you where the file ends up.
Things to Know Before Using a Real HT16K33 Backpack
- The start-up: send 21h and 81h after every power-on - the chip always starts blank.
- Addresses: bridge the A0 - A2 jumpers for 0x71 - 0x77; up to eight backpacks on one bus.
- Pull-ups: the backpack has its own; with many devices on the bus check the total.
- Supply: 3.3 - 5 V; all segments at full brightness draw the most current.
- Segment maps: some boards wire the segments differently - check the bit order of yours.
Troubleshooting
- Nothing shows: 21h or 81h was never sent, the address is wrong, or SDA and SCL are swapped.
- Wrong segments: the bit order is A B C D E F G1 G2 H J K L M N DP from bit 0, low byte first.
- The text blinks: the display setup has blink bits set - send 81h for steady.
- The display is dim: send EFh for full brightness.
- The part is not simulated:
TEPHT16K33.DLLis missing from MODELS and from the project folder.
Limitations of the Simulation
- The I2C address, the oscillator, the display and blink setup, the 16 brightness steps, the 16-byte RAM with auto-increment and the 4 x 14 segments + DP follow the maker's description; the board is our own drawing.
- Our own choices: the segment shapes (our drawing of a 0.54" display) and the red colour.
- Not modelled: the key scan (40h), the ROW / INT setting beyond accepting it, and the drivers' current.
- Arduino is a name of Arduino; this library is not made or endorsed by Arduino, Labcenter or Holtek.
- Tested in Proteus 8.5 in November 2026 (the demo as shipped). Proteus 7 is not supported.
So, that was all about the HT16K33 Alphanumeric Display Library for Proteus Simulation. I hope it helps you get your segment patterns, your commands and your I2C bus right before the first backpack arrives - so that your words light up in the simulation before they light up on your desk. If you have any questions, ask in the comments and I will help you out. Till the next tutorial, take care and have fun!