Project Files of LCD 20x4 Library for Proteus V3.0 (HD44780 + Arduino)
lcd-20x4-tep-v3-0-f655358116b94fbfa980edd48f87cd64.zip

LCD 20x4 Library for Proteus V3.0
LCD 20x4 Library for Proteus V3.0 comes as a ZIP archive of 12 files (1.4 MB, 3.0 MB unpacked) holding Proteus library files, simulation model DLLs, a Proteus simulation, an Arduino sketch and compiled HEX firmware.
- LIBProteus library
- IDXProteus library index
- DLLProteus model
- DSNProteus simulation
- INOArduino sketch
- HEXHEX firmware
Description
LCD 20x4 Library for Proteus V3.0 is the download package that goes with our tutorial LCD 20x4 Library for Proteus V3.0 (HD44780 + Arduino). On this page you can download the ZIP file (1.4 MB) and see what is inside before you save it: 12 files in 5 folders, the Proteus library files (LIB and IDX), the simulation model (DLL), a ready Proteus simulation, an Arduino sketch and the compiled HEX firmware. The tutorial explains the design; this page gets the files onto your computer and into use.
What this library is
LCD-20x4-Library-for-Proteus-v3.0.zip with the blue and yellow-green LCD 20x4 Simple and Advance (TEPLCD20X4.LIB and TEPLCD.DLL), the TEP Serial Monitor and Arduino UNO libraries for Proteus, the two-UNO LiquidCrystal dashboard simulation with its HEX file, the demo sketch and a README.
This is version 3.0; older or newer releases, when they exist, are listed in the Development tab.
What is inside the ZIP file
- ArduinoV3TEP.LIB – Proteus library, 95.6 KB
- TEPLCD20X4.LIB – Proteus library, 161.8 KB
- TEPSERIALMON.LIB – Proteus library, 11.1 KB
- ArduinoV3TEP.IDX – Library index, 830 B
- TEPLCD.DLL – Simulation model, 376 KB
- TEPSERIALMON.DLL – Simulation model, 978 KB
- and 6 more, all listed in the File Structure tab
The archive unpacks to 3.0 MB and carries its own README (README.txt), shown in the README tab above.
How to download
Use the download panel at the top of this page: after the counter (30 seconds for guests, 10 for members) the black button unlocks and the ZIP file comes straight from our content network. If the browser opens it instead of saving, use Save as; extract the whole archive before using anything inside it.
How to install
- Step 1: Extract the ZIP file with Windows (Extract All), 7-Zip or WinRAR, keeping its folders.
- Step 2: Close Proteus and copy ArduinoV3TEP.LIB, TEPLCD20X4.LIB and TEPSERIALMON.LIB and ArduinoV3TEP.IDX into its LIBRARY folder (Proteus 8: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY).
- Step 3: Copy TEPLCD.DLL and TEPSERIALMON.DLL into the MODELS folder next to it, so the part simulates.
- Step 4: Start Proteus, press P and search for "ArduinoV3TEP"; place and wire it as in the tutorial.
- Step 5: Open LCD_20x4_Demo.ino in the Arduino IDE, pick board and port and Verify (Export Compiled Binary gives the HEX).
- Step 6: In Proteus set the controller's Program File to LCD_20x4_Demo.hex; on hardware, flash the same file.
- Step 7: Open LCD-20x4-ArduinoUnoV3.pdsprj in Proteus and press Play.
Read the detailed guide
This page is for the files. The full tutorial, LCD 20x4 Library for Proteus V3.0 (HD44780 + Arduino), explains the circuit and the code step by step and shows the working results and the simulation; read it before you build. Questions about the download or the installation go in the comments below; more Proteus downloads are listed further down this page.
File Structure
9 KB830 B95.6 KB161.8 KB11.1 KB376 KB978 KB25.9 KB26.8 KB376 KB978 KB26.9 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in LCD 20x4 Library for Proteus V3.0 (HD44780 + Arduino). Open an image for its full size.












README
LCD 20X4 LIBRARY FOR PROTEUS - V3.0
Designed by The Engineering Projects
www.TheEngineeringProjects.com
IMPORTANT LINKS
Article (read it first - pictures, step by step, every feature explained):
https://www.theengineeringprojects.com/2026/10/lcd-20x4-library-for-proteus-v3-0.html
Report a bug or suggest a feature (our forum):
https://www.theengineeringprojects.com/forum/category/lcd-proteus-library
The demo uses our TEP Serial Monitor Advance (included) instead of Proteus's
Virtual Terminal - its own article:
https://www.theengineeringprojects.com/2026/10/serial-monitor-advance-proteus-library.html
The same LCD with a 4-wire I2C backpack: our I2C LCD 20x4 Library for Proteus
V1.0:
https://www.theengineeringprojects.com/2026/10/i2c-lcd-20x4-library-for-proteus-v1-0.html
The small brother, the 16x2 on the same 16-pin header: our LCD 16x2 Library for
Proteus V3.0:
https://www.theengineeringprojects.com/2026/10/lcd-16x2-library-for-proteus-v3-0.html
Support us (the libraries are free):
https://www.theengineeringprojects.com/donate
FILE STRUCTURE
LCD-20x4-TEP-v3.0/
|-- Proteus Library Files/
| |-- ArduinoV3TEP.IDX 0.8 KB its index -> LIBRARY folder
| |-- ArduinoV3TEP.LIB 95.6 KB TEP Arduino UNO (demo) -> LIBRARY folder
| |-- TEPLCD20X4.LIB 161.8 KB the 4 LCD 20x4 devices -> LIBRARY folder
| |-- TEPSERIALMON.LIB 11.1 KB TEP Serial Monitor Advance -> LIBRARY folder
|-- Proteus Model Files/
| |-- TEPLCD.DLL 376.0 KB the LCD model -> MODELS folder
| |-- TEPSERIALMON.DLL 978.0 KB Serial Monitor model -> MODELS folder
|-- Proteus Simulation/
| |-- LCD_20x4_Demo.hex 26.8 KB both UNOs (demo sketch V3.0)
| |-- LCD-20x4-ArduinoUnoV3.pdsprj 25.9 KB demo: UNO 1 + Simple, UNO 2 + Advance
| |-- TEPLCD.DLL 376.0 KB copy of the model so the demo runs as is
| |-- TEPSERIALMON.DLL 978.0 KB copy of the monitor model
|-- Arduino Code/
| |-- LCD_20x4_Demo/LCD_20x4_Demo.ino 9.0 KB the demo sketch (source of the .hex)
|-- README.txt ~27.7 KB this file
Total: 2.99 MB (unzipped). The C++ source code of the model is not included.
WHAT IS IT?
A simulation model of the 20x4 character LCD module (the "2004A" board with
the HD44780 controller and the 16-pin header) for Proteus 8 - our own model, not
a new symbol on top of Proteus's LCD. It works with Arduino's LiquidCrystal
library (4-bit or 8-bit bus) and with any code that drives the HD44780:
* The controller as in its datasheet: the 4 / 8-bit bus, the busy times (37 us
per command, 41 us per character, 1.52 ms for clear / home, a 10 ms reset
after power-on - a byte sent while it is busy is LOST, as on a real LCD),
DDRAM (80 characters), CGRAM (8 own characters), the A00 character ROM
(ASCII, the Japanese katakana half, Greek letters, the degree sign 0xDF and
the full block 0xFF), cursor and blink (379 ms), display shift, entry mode,
reading back (RW = 1: the busy flag and the address / data).
* The 20x4 glass wired the way every real one is: the controller has two
40-character lines; line 1 shows on rows 1 AND 3, line 2 on rows 2 AND 4
(setCursor() rows 0 - 3 = the addresses 0x00, 0x40, 0x14, 0x54). A text that
runs past the end of row 1 goes on in row 3, and a display shift moves rows
1 and 3 (and 2 and 4) together, as one line.
* Before the sketch initialises it, the LCD shows dark blocks on rows 1 and 3
(1-line mode after the internal reset drives line 1 only), exactly as a
real one.
* The analog pins are real: VDD / VSS power it (it starts above 4 V), V0 sets
the contrast (VDD - V0: about 4.2 V = good, too little = faint characters,
too much = dark blocks behind them), A / K is the LED backlight (an LED with
its series resistor: the blue board takes about 20 mA at 5 V, the
yellow-green one about 120 mA). Pins you leave open get friendly defaults:
5 V, good contrast, backlight on.
The part looks like the real board: the green 98 x 60 mm PCB with the 16 gold
pads and pin names, four mounting holes, the big metal frame, the glass in the
real 20x4 size with all 80 5x8-dot cells. While the simulation runs the glass
glows with its backlight and shows the characters dot by dot (with the
contrast, the cursor and the blink), and three LEDs show what happens: PWR
(powered), CMD (a command arrived) and DATA (a character arrived) - the LEDs
are TEP additions (a real board has none).
FOUR DEVICES IN ONE LIBRARY (search "LCD20X4" in Pick Devices):
Simple, blue device LCD20X4BLUETEP "LCD 20x4 V3.0 Blue - Simple"
Advance, blue device LCD20X4BLUEADVTEP "LCD 20x4 V3.0 Blue - Advance"
Simple, yellow-green device LCD20X4GREENTEP "LCD 20x4 V3.0 Yellow-green -
Simple"
Advance, yellow-green device LCD20X4GREENADVTEP "LCD 20x4 V3.0 Yellow-green -
Advance"
Blue = white characters on a blue backlight; yellow-green = dark characters on
a yellow-green backlight (the two common 2004 boards).
Simple On-Sheet Panel: the LCD 20x4 STATUS panel under the board - the
banner (READY - 4-BIT BUS, 2 LINES, 5x8 DOTS, DISPLAY ON / NOT
INITIALISED / TOO FAST / NO POWER ...), the readouts DISPLAY, CURSOR,
BLINK, ENTRY, ADDRESS (with the row and column on the 20x4), VDD,
CONTRAST, BACKLIGHT, WRITES and TOO FAST, the last 6 transfers on the
bus (time, CMD / DATA, what it means) and the buttons BACKLIGHT
(A / K PINS, ON, OFF) and CONTRAST (V0 PIN, AUTO (GOOD)). The red X in
the panel's header closes it, the PANEL: SHOWN / CLOSED button on the
board opens it again.
Advance Pop-Up Panel: only the board on the schematic; at Run a TEP pop-up
window "TEP LCD 20x4 Advance" opens - the same look as the TEP Serial
Monitor (move it by its header, resize it, minimise it). The tabs
Display, Bus log and Tests sit in the header; the gear and ? icons
open Settings and Help; the palette icon switches the theme:
Display a big copy of the glass, the controller's state (bus,
lines "2 (4 ROWS)", font, display, cursor, blink, entry,
address), DDRAM (which addresses each row shows), CGRAM,
the supply / contrast / backlight, the backlight and
contrast buttons
Bus log every byte on the bus (up to 512): the time, the gap to
the previous byte, CMD / DATA / READ, the byte, what it
means ("SET DDRAM ADDRESS 0x40", "'H' -> 0x00") and the
margin to the controller's busy time; filters All /
Commands / Characters / Problems, Pause, Clear
Tests four tools - Init check, Timing, Speed, Characters (see
THE TEST TOOLS below)
Settings theme (TEP Dark / Light), text size, open at Run, window
size - remembered for your Windows user
Help Help & Support like the TEP Serial Monitor: report a bug,
suggest a feature, article, user guide, updates, donate,
website, forum; Copy diagnostics for a bug report
The OPEN PANEL button on the board opens the window again after you
close it.
All four use the same model (TEPLCD.DLL).
NEW IN V3.0
* Our own HD44780 model (TEPLCD.DLL) instead of Proteus's built-in LCD: the
real busy timing (bytes sent too fast are lost and reported), CGRAM, the full
A00 ROM, reading back, display shift, cursor and blink - on a 20x4 glass with
the real row order (rows 1 + 3 and 2 + 4) and the two rows of blocks before
initialisation.
* Real analog pins: VDD / VSS, the contrast pin V0 (a pot changes the contrast
live) and the LED backlight A / K (dim it with PWM); open pins get defaults.
* The board: drawn clean and bold in the real colours and the real 2004A
proportions (98 x 60 mm board, 80 5x8-dot cells) in two versions, blue and
yellow-green, with the PWR / CMD / DATA LEDs (TEP additions), a PANEL / OPEN
PANEL button and a SIMPLE / ADVANCE badge.
* Two styles: Simple (the STATUS panel on the sheet) and Advance (the pop-up
window with a bus log and four test tools).
* The demo: ONE project with two UNOs, a contrast pot each and the TEP Serial
Monitor Advance; the sketch shows a small dashboard and answers Serial
commands (TEXT1 - TEXT4, BAR, MINUTE, LIGHT, SCROLL ...).
* Sheet text is plain ASCII. The C++ source code is not included.
TEST STATUS
V3.0: verified in Proteus 8.5 on 12 Oct 2026 (the demo project as shipped: two
UNOs, both Serial Monitors and LCD2's pop-up open). What the run showed:
* The project loads and starts cleanly. Started paused at time 0, LCD1 shows
blocks on rows 1 AND 3 and POWER-ON RESET. Running, both LCDs show the
dashboard: "Hello, World!", the up time with the beating heart, "LCD 20x4 -
4-bit bus" and the bar that fills once a minute; U1 / U2 print the start
lines.
* LCD1's panel: READY - 4-BIT BUS, 2 LINES, 5x8 DOTS, DISPLAY ON; VDD 5.00 V,
CONTRAST GOOD V0 0.76 V (RV1 at 15 %), BACKLIGHT ON 16.8 mA (A on D10),
ADDRESS 0x54 ROW 4, COL 1 after the bar, TOO FAST 0.
* The contrast pot: RV1 at 62 % (V0 3.08 V) - the characters fade out, the
panel says TOO LOW; at 0 % (V0 0 V) the dark blocks show behind the
characters, TOO HIGH; back at 15 % - GOOD.
* U1: LIGHT 60 (the backlight dims to DIM 3.9 mA), LIGHT 255, HELP, STATUS
(all four lines listed), SCROLL - after 20 steps rows 1 and 3 (and 2 and 4)
have swapped places, then the text slides back. U2: BAR 75 (15 full cells),
TEXT3, BLINK ON (the block cursor blinks after the row 1 text), STATUS.
* The panel's BACKLIGHT OFF (FORCED) / A / K PINS buttons; the red X closes the
panel, PANEL on the board opens it.
* LCD2 (Advance): the backlight on +5V takes 123 mA; Display - DDRAM "LINE 1 =
0x00..0x27 (ROWS 1 + 3)"; Init check - every row green, "2 lines (N = 1):
rows 1 + 3 and 2 + 4" (LiquidCrystal initialises the LCD twice: its
constructor and lcd.begin()); Timing - no byte ignored, smallest margin
261.5 us, 785.6 us to spare after a clear, shortest E pulse 6.8 us over
17476 pulses; Speed - 307.2 us per byte, a full line 6.45 ms, a full screen
25.81 ms (up to 39 screens per second); Bus log, Characters.
* Speed: about 0.6 x real time with both monitors and the pop-up open (0.61 -
0.65 x measured).
* The same TEPLCD.DLL runs the LCD 16x2 V3.0, I2C LCD 16x2 V1.0 and I2C LCD
20x4 V1.0 demos unchanged (all re-run in Proteus the same day).
Plus automatic checks on a PC, 0 failed: 49 with the REAL 20x4 demo sketch
and Arduino's LiquidCrystal 1.0.7 against the model (the four rows, the clock,
the minute bar filling with the seconds, every command, the bar's cells,
SCROLL swapping rows 1 / 3 and 2 / 4, the cursor place, the backlight PWM, no
byte too fast, no Serial line over 80 characters), 7,202 on the HD44780
controller, 10 on the pop-up pages (the 20x4's rows of blocks included) and
46 on the glass renders; the demo project read back from disk (245 checks:
devices, pins, wires, labels, no wire crossing).
INSTALLATION (about 2 minutes)
1. Close Proteus. Extract the WHOLE ZIP to a normal folder (e.g. Desktop).
2. Copy everything in "Proteus Library Files" (TEPLCD20X4.LIB with the four
devices, TEPSERIALMON.LIB and the TEP Arduino UNO V3 library ArduinoV3TEP.LIB
/ .IDX used by the demo) to the LIBRARY folder of Proteus, for example:
C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY
(on some PCs: C:\ProgramData\Labcenter Electronics\Proteus 8 Professional\
LIBRARY - use the folder that already holds Proteus's own .LIB files).
3. Copy TEPLCD.DLL and TEPSERIALMON.DLL from "Proteus Model Files" to the MODELS
folder (...\Proteus 8 Professional\MODELS). TEPLCD.DLL is shared with our
LCD 16x2 V3.0, I2C LCD 16x2 V1.0 and I2C LCD 20x4 V1.0 libraries and runs
their devices too - if you have them, keep this (newer) one.
4. Delete TEPLCD20X4.IDX from the LIBRARY folder if there is one (Proteus makes
a new index). Earlier versions of our LCD library use other file names - you
can keep them.
5. Start Proteus. In Pick Devices (P) search "LCD20X4": you get the four devices
(category Optoelectronics > Alphanumeric LCDs).
RUN THE DEMO
"Proteus Simulation\LCD-20x4-ArduinoUnoV3.pdsprj" - keep the .hex file and the
two DLLs beside the project.
UNO 1 (ARD1): LCD1 = blue Simple LCD, contrast pot RV1, Serial Monitor U1;
the backlight (A) on D10 - dimmable with PWM.
UNO 2 (ARD2): LCD2 = yellow-green Advance LCD, contrast pot RV2, Serial
Monitor U2; the backlight (A) on +5V (it takes about 120 mA - too
much for an Arduino pin).
Both run LCD_20x4_Demo.hex.
1. Press Run. Both monitor windows open (9600 baud) and so does LCD2's
pop-up (move them aside - they open over the schematic). The LCDs show
the dashboard: "Hello, World!", the up time with a beating heart, "LCD
20x4 - 4-bit bus" and a bar that fills once a minute; U1 / U2 print "LCD
20x4 V3.0 demo - The Engineering Projects" and "Type HELP for the
commands". LCD1's panel says READY - 4-BIT BUS, 2 LINES, 5x8 DOTS, DISPLAY
ON and lists the transfers.
2. Turn the pots (click the arrows on RV1 / RV2, or hold them): the contrast
changes - too far one way the characters fade, the other way dark blocks
show behind them; LCD1's CONTRAST readout says WEAK / GOOD / TOO LOW / TOO
HIGH with V0.
3. U1's quick buttons: STATUS, TEXT1 Hello, TEP!, LIGHT 60 (the backlight
dims - LCD1's BACKLIGHT readout shows the current), LIGHT 255.
U2's quick buttons: STATUS, BAR 75 (a bar graph from the 8 own characters),
SCROLL (the display slides 20 steps left and back - watch rows 1 and 3
swap), MINUTE (the minute bar again). Type more in the monitors - see THE
DEMO SKETCH below.
4. LCD1: click BACKLIGHT OFF / ON and CONTRAST AUTO (GOOD) on the panel (the
panel overrides the pins), close the panel with its red X and open it with
PANEL on the board.
5. LCD2 (Advance): Display page - the big glass, the state and DDRAM; Bus log
- every byte with its meaning; Tests - run Init check, Timing, Speed and
click characters in the Characters map.
6. Close LCD2's window and open it again with OPEN PANEL on the board.
Closed a monitor window? Click OPEN MONITOR on the monitor part.
WIRING (the same in Proteus and on a real board)
LCD pin Arduino UNO / supply
1 VSS GND
2 VDD 5V
3 V0 the wiper of a 10k pot between 5V and GND (contrast)
4 RS D2
5 RW GND (the sketch only writes)
6 E D3
7-10 D0 - D3 not connected (4-bit bus)
11 D4 D4
12 D5 D5
13 D6 D6
14 D7 D7
15 A D10 (PWM backlight, blue board) or 5V
16 K GND
In the sketch: LiquidCrystal lcd(2, 3, 4, 5, 6, 7); // RS, E, D4, D5, D6, D7
and lcd.begin(20, 4); // columns, rows - this sets the row addresses
Serial Monitor RXD <- Arduino D1 (TX), Serial Monitor TXD -> Arduino D0 (RX),
Serial Monitor GND -> ground. RXD2 is not needed.
In the demo the LCD's power pins reach GND / +5V through short wires with net
labels (GND, +5V, V0_1 / V0_2 - the same name = connected), the bus through
wires.
REAL HARDWARE:
* Most blue 2004 boards have a backlight resistor on the board (A straight to
5V is fine); some yellow-green boards have none and take far more current -
check your board's datasheet and add a series resistor if it asks for one.
* Do not drive a big backlight from an Arduino pin: the blue one (about 20 mA)
is fine on D10, the yellow-green one (about 120 mA) needs a transistor.
* A blank glass at power-on usually means the contrast: turn the pot until the
blocks of rows 1 and 3 just show, then a bit back.
* Two rows of blocks (rows 1 and 3) and nothing else: the sketch never
initialised the LCD (wrong pins in LiquidCrystal lcd(...), or E / RS
swapped).
* Text from row 1 continues in row 3: that is the 20x4's line order - print
each row after its own lcd.setCursor(0, row), and call lcd.begin(20, 4), not
lcd.begin(16, 2).
* Garbage characters: a loose data wire, or bytes sent too fast (the Timing
tool shows it in the simulation).
* Write in the setup() after lcd.createChar() only after lcd.setCursor() or
lcd.clear(): createChar() leaves the address in CGRAM (a real HD44780 does
the same - the demo sketch shows how).
THE TEST TOOLS (Advance, Tests tab) - what they really measure
Every tool reads the bytes as the model takes them from the bus during the
running simulation (the same bytes a real LCD would get); each shows one "Good
for:" line and a verdict per row (green = fine, amber = check, red = wrong).
Init check Good for: an LCD that stays blank or shows rows of blocks - is
the sketch's lcd.begin() right? The start-up sequence since
power-on against the datasheet's "Initializing by Instruction":
the wait after power-on (40 ms asked), the 0x3, 0x3, 0x3, 0x2
nibbles of the 4-bit start, the interface, 2 lines (= rows 1 + 3
and 2 + 4 on a 20x4), display on, clear, entry mode, and a
verdict.
Timing Good for: lost characters or commands - every byte must wait
for the previous one's busy time. Measures from Start: the bytes,
the ones ignored while busy (which, in the bus log), the smallest
margin after the 37 / 41 us busy times and after clear / home
(1.52 ms; LiquidCrystal waits 2 ms), the shortest E pulse (at
least 450 ns).
Speed Good for: flicker / slow screens - how long a full line and a
full screen take on this bus: the bytes measured, the bursts of
writes, the typical time per byte while writing (the pauses
between the sketch's writes - 5 ms or more - are not counted),
a full line (20 characters + the address), a full screen (80
characters + 4 addresses, and how many screens per second),
characters per second; a chart of the gap before each of the
last 60 bytes.
Characters Good for: finding a symbol's code (the degree sign is 0xDF =
223) - all 256 codes as the datasheet's table (codes 0 - 15 =
the 8 own CGRAM characters, twice), the ones on the display now
highlighted; click one: it is drawn big with its code (hex and
decimal), the line to print it (lcd.write(223);) and, for a
CGRAM character, its 8 rows as a byte array for createChar().
A tool waits for bytes from the sketch; it shows "No power" while VDD is off.
THE DEMO SKETCH ON THE SERIAL MONITOR (LCD_20x4_Demo V3.0)
HELP the command list
STATUS lines 1 - 4, the backlight, cursor and blink
TEXT1 <text> line 1 (20 characters; longer text is cut); TEXT2, TEXT3 and
TEXT4 the same for lines 2 - 4 (TEXT2 stops the clock, TEXT4
the bar)
CLOCK line 2 = the up time with the beating heart again
MINUTE line 4 = the bar that fills once a minute again
BAR <0-100> line 4 = a bar graph (100 steps: 20 cells x 5 columns)
CHARS line 4 = the 8 own characters (CGRAM)
LIGHT <0-255> the backlight PWM on D10 (analogWrite)
CURSOR ON|OFF the underline cursor (it waits after the line 1 text)
BLINK ON|OFF the blinking block cursor (there too)
SCROLL the display slides 20 steps left and back (rows 1 / 3 and
2 / 4 swap half way)
CLEAR all four lines empty
Commands are not case-sensitive. Monitor quick buttons in the demo: U1 STATUS,
TEXT1 Hello, TEP!, LIGHT 60, LIGHT 255; U2 STATUS, BAR 75, SCROLL, MINUTE.
The bar is redrawn only when it changes, the clock twice a second. Every line
the demo prints is at most 80 characters (the TEP Serial Monitor's Simple
interface shows about 80).
EXPECTED MONITOR OUTPUT (U1 and U2)
LCD 20x4 V3.0 demo - The Engineering Projects
Type HELP for the commands
STATUS:
Line 1: Hello, World!
Line 2: clock
Line 3: LCD 20x4 - 4-bit bus
Line 4: minute bar
Backlight 255, cursor off, blink off
TEXT1 Hello, TEP! / BAR 37 / LIGHT 60:
OK - line 1: Hello, TEP!
OK - bar 37%
OK - backlight 60
An unknown command:
Unknown command: FOO
Type HELP for the commands
PROPERTIES (double-click the part > Edit Properties)
PANEL Simple devices only: the STATUS panel at the start, OPEN or
CLOSED (default OPEN)
BACKLIGHT PINS (default: from A / K), ON or OFF (forced)
CONTRAST PIN (default: from V0) or AUTO (always good)
Every run starts again from the properties; the panel's buttons change them for
the run. A bad value is logged and the default used. The panel style and the
glass colour are chosen by the device, not by a property. The Advance window
settings (theme, text size, open at Run, size) are on its Settings page. The
demo's Serial Monitors: BAUD 9600, THEME TEPDARK, AUTOOPEN YES, QUICK1-4 as
above (see the Serial Monitor's article for all its properties).
LINKS.INI (OPTIONAL)
The Help page cards of the Advance devices open web pages. To point them
somewhere else without a new DLL, put a text file named links.ini next to
TEPLCD.DLL with lines KEY=URL, for example:
ARTICLE=https://www.theengineeringprojects.com/...
Keys: WEBSITE, FORUM, BUG_REPORT, FEATURE_REQUEST, ARTICLE, USER_GUIDE,
UPDATE_CHECK, DONATE. Only http:// and https:// links are used; lines starting
with # are comments.
TROUBLESHOOTING
* The glass stays dark / the PWR LED is off: no power - check VDD and VSS (the
panel says NO POWER with the voltage). The LCD starts above 4 V.
* Blocks on rows 1 and 3: the sketch did not initialise the LCD - check the pins
in LiquidCrystal lcd(...) and the wires to RS / E / D4 - D7 (the panel says
NOT INITIALISED; Advance: Tests > Init check).
* Text that runs past the end of row 1 goes on in row 3 (and row 2 in row 4):
that is the HD44780's line order on every 20x4. Print each row after its own
lcd.setCursor(0, row).
* Rows 3 and 4 never show what you print: the sketch calls lcd.begin(16, 2);
give it lcd.begin(20, 4).
* Characters missing or wrong: bytes sent while the controller was busy (the
panel's TOO FAST readout and the red lines in the bus log; Advance: Tests >
Timing) - wait after each command (LiquidCrystal does it right).
* Faint characters or dark blocks behind them: the contrast - turn the pot, or
set CONTRAST AUTO (GOOD).
* Text appears in a strange place after createChar(): call lcd.setCursor() (or
lcd.clear()) after the last createChar().
* The part is not simulated / no panel: TEPLCD.DLL is missing from MODELS and
from the project folder (or an older TEPLCD.DLL without the LCD 20x4 devices
is there - use this one). No monitor window: TEPSERIALMON.DLL is missing, or
click OPEN MONITOR on the monitor part.
* Advance: the pop-up does not appear - click OPEN PANEL on the LCD board, use
Proteus's Debug menu, or turn "Open the panel at Run" on its Settings page
back on.
BUG REPORTS AND FEATURE REQUESTS
Please post them in our forum with a screenshot, the Serial Monitor text, the
simulation log and (Advance) the Copy diagnostics text:
https://www.theengineeringprojects.com/forum/category/lcd-proteus-library
SUPPORT US
This library is free. If it saves you time, please support our work:
https://www.theengineeringprojects.co
…Development1 release
-
V3.0LCD 20x4 Library for Proteus V3.0this page
V3.0 is the only release in the Download Center so far. When a newer version is published, it appears above with its own download page.
Installation8 steps
From the download to a working project, in order. The steps follow what the package contains.
You will need
- Proteus Design SuiteProteus 8 or newer (Labcenter), on Windows
- Arduino IDE1.8 or 2.x, with the board of the tutorial chosen under Tools → Board
- Any archive toolWindows, macOS and Linux extract ZIP files on their own
Steps
- 1
Extract the archive
Right-click lcd-20x4-tep-v3-0-f655358116b94fbfa980edd48f87cd64.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (LCD-20x4-TEP-v3.0) as it is.
- 2
Copy the library files into Proteus
Move ArduinoV3TEP.LIB, TEPLCD20X4.LIB and TEPSERIALMON.LIB and ArduinoV3TEP.IDX into the LIBRARY folder of your Proteus installation: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY for Proteus 8, or the matching Proteus 7 folder. Older versions keep it under ProgramData\Labcenter Electronics. If Proteus is open, close it first.
- 3
Add the simulation model
Copy TEPLCD.DLL and TEPSERIALMON.DLL into the MODELS folder next to LIBRARY, so the component can run, not only be drawn.
- 4
Restart Proteus and place the component
Start Proteus, open a schematic, press P (Pick Devices) and search for the component by the name used in the tutorial. It appears with its pins ready to wire.
- 5
Open the sketch in the Arduino IDE
Open LCD_20x4_Demo.ino, select your board and port under Tools, then Verify. Sketch → Export Compiled Binary writes the HEX file a simulation needs.
- 6
Load the HEX file
In Proteus double-click the microcontroller, set Program File to LCD_20x4_Demo.hex and run the simulation. For real hardware, flash the same file with your programmer.
- 7
Open the example simulation
Open LCD-20x4-ArduinoUnoV3.pdsprj in Proteus to see the wiring exactly as in the tutorial. Check the controller's Program File path, then press Play.
- 8
Follow the tutorial
LCD 20x4 Library for Proteus V3.0 (HD44780 + Arduino) explains every connection and setting in order; keep it open beside the files while you build.
FAQs9 questionsContact TEP
How do I download LCD 20x4 Library for Proteus V3.0?
Wait for the 30-second guest countdown on this page, then press the download button; the file comes straight from our storage. Members who are logged in skip the wait. If the browser opens the file instead of saving it, use its Save as option. The download link is made for you when the countdown ends and works for 15 minutes; a saved or shared link stops working, so share this page instead.
What is inside the archive?
LCD 20x4 Library for Proteus V3.0 comes as a ZIP archive of 12 files (1.4 MB, 3.0 MB unpacked) holding Proteus library files, simulation model DLLs, a Proteus simulation, an Arduino sketch and compiled HEX firmware. Open the File Structure tab for the full list of 12 files.
What should I do if the download does not start?
Check the browser's download list first; an ad blocker or a company firewall can also hold it back, so try another browser or network. If the file arrives incomplete, download it again. For an installation problem, read the Install tab or tell us in the comments with your software version and the exact error message.
Is this file free?
Yes. Every file in the TEP Download Center is free for learning, personal and student projects. If you share it, link back to this page or the tutorial so others find the latest version.
How do I check that the file arrived complete?
Compare its SHA-256 with the one on this page, 26da73321296d16d433819884b6ba4864df40c261a0331abb1aa52ea735bc249. In PowerShell run Get-FileHash "lcd-20x4-tep-v3-0-f655358116b94fbfa980edd48f87cd64.zip"; on macOS or Linux run shasum -a 256 "lcd-20x4-tep-v3-0-f655358116b94fbfa980edd48f87cd64.zip". The same value means the file is exactly the one in our storage; a different one means the download broke off, so download it again.
Do I need WinRAR to open the ZIP file?
No. Windows, macOS and Linux open ZIP archives on their own (Extract All, or double-click). WinRAR and 7-Zip work too. Extract the whole archive before using the files.
Where do I put the LIB and IDX files?
Both files go into the LIBRARY folder of your Proteus installation (Proteus 8: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY; Proteus 7 has the same folder under its own name). Restart Proteus afterwards and search for the component with P.
Which Proteus version does the library need?
The tutorial names the Proteus version the library was made and tested with. Most TEP libraries work in Proteus 7 and Proteus 8; if the component does not appear after a restart, check that both the LIB and the IDX file were copied and that Proteus was fully closed while copying.
How do I get the HEX file into the simulation?
Compile the sketch in the Arduino IDE (Sketch → Export Compiled Binary gives you the HEX next to the sketch), then in Proteus double-click the board, set Program File to that HEX and run.
Members skip the wait. Log in or join TEP.
- 15Total downloads
- 4%Popularity
- ProteusCategory
- 0Comments
- ssyedzainnasirUploaded by
- 11 Oct 2026Uploaded at
26da73321296d16d433819884b6ba4864df40c261a0331abb1aa52ea735bc249

















Comments
0