Project Files of I2C LCD 20x4 Library for Proteus V1.0 (PCF8574 + Arduino)
i2c-lcd-20x4-tep-v1-0-a624eed96d8d4e78b0b6db9ef8770830.zip

I2C LCD 20x4 Library for Proteus V1.0
I2C LCD 20x4 Library for Proteus V1.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
Looking for the files of I2C LCD 20x4 Library for Proteus V1.0 (PCF8574 + Arduino)? I2C LCD 20x4 Library for Proteus V1.0 is the ZIP package (1.4 MB) you need. It holds the Proteus library files (LIB and IDX), the simulation model (DLL), a ready Proteus simulation, an Arduino sketch and the compiled HEX firmware. Below are the file structure, the README and the installation steps, so you can go from download to a working Proteus simulation in a few minutes.
What this library is
I2C-LCD-20x4-Library-for-Proteus-v1.0.zip with the blue and yellow-green I2C LCD 20x4 Simple and Advance with the PCF8574 backpack (TEPI2CLCD20X4.LIB and TEPLCD.DLL), the TEP Serial Monitor and Arduino UNO libraries for Proteus, the two-UNO LiquidCrystal_I2C dashboard simulation with its HEX file, the demo sketch and a README.
This is version 1.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
- TEPI2CLCD20X4.LIB – Proteus library, 205.4 KB
- TEPSERIALMON.LIB – Proteus library, 11.1 KB
- ArduinoV3TEP.IDX – Library index, 830 B
- TEPLCD.DLL – Simulation model, 375.5 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, TEPI2CLCD20X4.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 I2C_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 I2C_LCD_20x4_Demo.hex; on hardware, flash the same file.
- Step 7: Open I2C-LCD-20x4-ArduinoUnoV3.pdsprj in Proteus and press Play.
Read the detailed guide
This page is for the files. The full tutorial, I2C LCD 20x4 Library for Proteus V1.0 (PCF8574 + 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.9 KB830 B95.6 KB205.4 KB11.1 KB375.5 KB978 KB25.7 KB32.5 KB375.5 KB978 KB24.7 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in I2C LCD 20x4 Library for Proteus V1.0 (PCF8574 + Arduino). Open an image for its full size.












README
I2C LCD 20X4 LIBRARY FOR PROTEUS - V1.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/i2c-lcd-20x4-library-for-proteus-v1-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 backpack on the small 16x2 LCD: our I2C LCD 16x2 Library for Proteus
V1.0:
https://www.theengineeringprojects.com/2026/10/i2c-lcd-16x2-library-for-proteus-v1-0.html
Support us (the libraries are free):
https://www.theengineeringprojects.com/donate
FILE STRUCTURE
I2C-LCD-20x4-TEP-v1.0/
|-- Proteus Library Files/
| |-- ArduinoV3TEP.IDX 0.8 KB its index -> LIBRARY folder
| |-- ArduinoV3TEP.LIB 95.6 KB TEP Arduino UNO (demo) -> LIBRARY folder
| |-- TEPI2CLCD20X4.LIB 205.4 KB the 4 I2C LCD 20x4 devices -> LIBRARY folder
| |-- TEPSERIALMON.LIB 11.1 KB TEP Serial Monitor Advance -> LIBRARY folder
|-- Proteus Model Files/
| |-- TEPLCD.DLL 375.5 KB the LCD + backpack model -> MODELS folder
| |-- TEPSERIALMON.DLL 978.0 KB Serial Monitor model -> MODELS folder
|-- Proteus Simulation/
| |-- I2C_LCD_20x4_Demo.hex 32.5 KB both UNOs (demo sketch V1.0)
| |-- I2C-LCD-20x4-ArduinoUnoV3.pdsprj 25.7 KB demo: UNO 1 + Simple 0x27, UNO 2 + Advance 0x3F
| |-- TEPLCD.DLL 375.5 KB copy of the model so the demo runs as is
| |-- TEPSERIALMON.DLL 978.0 KB copy of the monitor model
|-- Arduino Code/
| |-- I2C_LCD_20x4_Demo/I2C_LCD_20x4_Demo.ino 9.9 KB the demo sketch (source of the .hex)
|-- README.txt ~25.4 KB this file
Total: 3.04 MB (unzipped). The C++ source code of the model is not included.
WHAT IS IT?
A simulation model of the I2C LCD 20x4 module for Proteus 8: the 20x4
character LCD (the "2004A", HD44780 controller) with the common black PCF8574T
I2C backpack soldered to its header - four wires (GND, VCC, SDA, SCL) instead
of sixteen. Our own model, not a symbol on top of Proteus's parts. It works
with the LiquidCrystal_I2C library and with any code that talks to the PCF8574
the same way:
* The backpack as on the real board: an I2C port expander at 0x20 - 0x27
(PCF8574T) or 0x38 - 0x3F (PCF8574AT), its 8 port pins wired P0 RS, P1 RW,
P2 E, P3 the backlight, P4 - P7 D4 - D7 (what LiquidCrystal_I2C expects).
It acknowledges its address, takes every port byte, can be read back, and
its A0 / A1 / A2 pads set the address (open = 1: 0x27 / 0x3F).
* The I2C side is open-drain like the real chip: SDA is pulled low for the
ACK and released to the board's pull-up; the clock is measured.
* Behind it the full HD44780 of our LCD libraries, on a 20x4 glass the way
the real one is wired: the controller has two 40-character lines, line 1
is shown on rows 1 and 3, line 2 on rows 2 and 4 (setCursor() rows 0 - 3 =
addresses 0x00, 0x40, 0x14, 0x54). The busy times (a byte sent while it is
busy is LOST), DDRAM, CGRAM (8 own characters), the A00 character ROM,
cursor and blink, display shift, and the blocks on rows 1 AND 3 before the
sketch initialises it (the real 20x4's "two rows of blocks").
* The contrast trimmer of the backpack (V0 = the trimmer's share of VCC):
too far one way the characters fade out, the other way dark blocks show
behind them - the classic "my I2C LCD shows nothing" case.
* The backlight follows P3 (lcd.backlight() / lcd.noBacklight()) through the
LED jumper; pull the jumper and it stays dark.
The part looks like the real module: the green 98 x 60 mm LCD board with the
glass in the real 20x4 size, and the black backpack drawn folded up above the
header (on a real module it sits behind the LCD) so you can see and click its
parts: the blue contrast trimmer, the LED jumper, the A0 - A2 pads, the PCF8574
(it shows its type and address), the 4-pin header. While the simulation runs
the glass glows and shows the characters dot by dot, and LEDs show what
happens: PWR, CMD (a command), DATA (a character) on the LCD and I2C (a
transaction to this address) on the backpack - the LEDs are TEP additions
(most real modules have none of them).
FOUR DEVICES IN ONE LIBRARY (search "I2CLCD20X4" in Pick Devices):
Simple, blue device I2CLCD20X4BLUETEP "I2C LCD 20x4 V1.0 Blue -
Simple"
Advance, blue device I2CLCD20X4BLUEADVTEP "I2C LCD 20x4 V1.0 Blue -
Advance"
Simple, yellow-green device I2CLCD20X4GREENTEP "I2C LCD 20x4 V1.0
Yellow-green - Simple"
Advance, yellow-green device I2CLCD20X4GREENADVTEP "I2C LCD 20x4 V1.0
Yellow-green - Advance"
Blue = white characters on a blue backlight; yellow-green = dark characters on
a yellow-green backlight.
Simple On-Sheet Panel: the STATUS panel under the board - the banner
(READY - I2C 0x27, 4-BIT, 2 LINES = 4 ROWS ... / WAITING FOR I2C /
WRONG ADDRESS / NOT INITIALISED / TOO FAST / NO POWER), the
readouts DISPLAY, CURSOR, BLINK, ENTRY, ADDRESS (with the row and
column), VCC, CONTRAST, BACKLIGHT, I2C (the address and the
transactions) and WRITES, the last 6 transfers to the LCD, and the
buttons BACKLIGHT (BACKPACK, ON, OFF) and CONTRAST (TRIMMER, AUTO
(GOOD)). The red X closes the panel, PANEL: SHOWN / CLOSED on the
board opens it again.
Advance Pop-Up Panel: only the module on the schematic; at Run a TEP pop-up
window "TEP I2C LCD 20x4 Advance" opens - the look of the TEP Serial
Monitor. Tabs Display, Bus log and Tests; gear and ? icons for
Settings and Help; the palette icon switches the theme:
Display a big copy of the glass, the controller's state, DDRAM
(which addresses each row shows), CGRAM, the supply /
trimmer / backlight, the backlight and contrast
buttons, the latest transfers
Bus log every byte the LCD took from the backpack (up to 512):
the time, the gap, CMD / DATA / READ, what it means
Tests four tools - Init check, I2C bus, Speed, Characters (see
THE TEST TOOLS below)
Settings theme, text size, open at Run, window size
Help report a bug, suggest a feature, article, updates,
donate, forum; Copy diagnostics for a bug report
The OPEN PANEL button on the board opens the window again.
All four use the same model (TEPLCD.DLL). The backpack's parts work on all four.
CLICK THE BACKPACK (while the simulation runs)
Contrast trimmer the left half (-) turns the contrast down, the right half
(+) up - 5 % of VCC on V0 per click; the label above it
shows V0
LED jumper pull / fit it: without it the backlight stays off
A0 / A1 / A2 pads bridge / open a pad: the address changes at once (bridged =
0). The sketch keeps its old address until you reset the
Arduino - the panel then says WRONG ADDRESS, as a real
module would stay blank.
Each click is written to the simulation log. The start values are the
properties ADDRESS, TRIMMER and LED_JUMPER.
TEST STATUS
V1.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. The sketch finds each LCD itself:
U1 prints "LCD found at 0x27", U2 "LCD found at 0x3F"; the LCDs show the
dashboard - "Hello from 0x27" / "Hello from 0x3F", "Up 00:00:11" with the
beating heart, "LCD 20x4 over I2C" and the minute bar (9 cells at 26 s).
* LCD1's panel: READY - I2C 0x27, 4-BIT, 2 LINES = 4 ROWS, 5x8 DOTS, DISPLAY
ON; VCC 5.00 V, CONTRAST GOOD V0 0.75 V, BACKLIGHT ON (P3 HIGH), I2C 0x27
and the transactions counting; ADDRESS 0x54 ROW 4, COL 1 after the bar.
* U1: HELP, TEXT1 Hello, TEP!, BAR 75 (15 full cells), TEXT3 20 x 4 = 80
chars, STATUS (all four lines listed), SCAN - "I2C devices: 0x27".
* U2: CHARS (the 8 own characters on row 4), TEXT2, CURSOR ON and BLINK ON
(the cursor waits after the row 1 text), LIGHT OFF (the glass goes dark,
BACKLIGHT OFF (P3 LOW)).
* Started paused (time 0, before lcd.init()): rows 1 AND 3 show blocks, rows
2 and 4 stay empty, the banner WAITING FOR I2C - NOTHING WRITTEN TO 0x27 YET.
* The trimmer: 7 clicks on - (V0 2.50 V) - the characters fade, TOO LOW; 10
clicks on + (V0 0 V) - dark blocks behind them, TOO HIGH; back to 0.75 V -
GOOD.
* Pad A0 bridged: the chip shows 0x26, the banner WRONG ADDRESS - THE SKETCH
WRITES TO 0x27, THIS BACKPACK IS 0x26, the clock stops; opened again: READY
and the clock runs on. The LED jumper pulled: BACKLIGHT OFF (NO JUMPER);
fitted again: on.
* LCD2 (Advance): Display (DDRAM: line 1 = rows 1 + 3, line 2 = rows 2 + 4),
Init check - every row green (LiquidCrystal_I2C waits 1.1 s after
power-on); I2C bus - 0x3F, PCF8574AT, "this backpack", 15 address checks
from the sketch's search, SCL 100 kHz, the port decoded per transaction;
Speed - 1.49 ms per character, a full line 31 ms, the full screen 125 ms;
Characters.
* Speed: about 0.63 x real time with both monitors and the pop-up open.
* The same TEPLCD.DLL runs the LCD 16x2 V3.0 and I2C LCD 16x2 V1.0 demos
unchanged (both re-run in Proteus the same day).
Plus automatic checks on a PC, 0 failed: 45 with the REAL 20x4 demo sketch
and the UNMODIFIED LiquidCrystal_I2C 1.1.2 talking bit by bit (100 kHz) to
the backpack model (the four rows, the minute bar filling with the seconds,
every command, the bar's cells, the cursor place, finding a 0x3F board, no
byte too fast), 65 on the backpack with the I2C 16x2 sketch (the wrong
address, a pad changed at Run, two boards on one bus, reading the port
back), 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 (130 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" (TEPI2CLCD20X4.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 and I2C LCD 16x2 V1.0 libraries and runs their devices too -
if you have them, keep this (newer) one.
4. Delete TEPI2CLCD20X4.IDX from the LIBRARY folder if there is one (Proteus
makes a new index).
5. Start Proteus. In Pick Devices (P) search "I2CLCD20X4": you get the four
devices (category Optoelectronics > Alphanumeric LCDs).
RUN THE DEMO
"Proteus Simulation\I2C-LCD-20x4-ArduinoUnoV3.pdsprj" - keep the .hex file and
the two DLLs beside the project.
UNO 1 (ARD1): LCD1 = blue Simple I2C LCD 20x4 at 0x27 (PCF8574T), Serial
Monitor U1.
UNO 2 (ARD2): LCD2 = yellow-green Advance I2C LCD 20x4 at 0x3F (PCF8574AT),
Serial Monitor U2.
Both run I2C_LCD_20x4_Demo.hex - the same sketch finds either address.
1. Press Run. Both monitor windows open (9600 baud) and so does LCD2's
pop-up (move them aside - they open over the schematic). After about a
second (LiquidCrystal_I2C waits 1 s in lcd.init()) the LCDs show the
dashboard: "Hello from 0x27" / "Hello from 0x3F", the up time with the
beating heart, "LCD 20x4 over I2C" and a bar that fills once a minute;
U1 / U2 print the start lines with the address found.
2. Click the backpack: the trimmer halves, the LED jumper, a pad (see CLICK
THE BACKPACK above).
3. U1's quick buttons: STATUS, TEXT1 Hello, TEP!, LIGHT OFF, LIGHT ON.
U2's quick buttons: STATUS, BAR 75, SCAN, MINUTE. Type more in the
monitors - see THE DEMO SKETCH below.
4. LCD1: BACKLIGHT ON / OFF and CONTRAST AUTO (GOOD) on the panel override the
backpack; close the panel with its red X, open it with PANEL on the board.
5. LCD2 (Advance): Display, Bus log, and Tests - Init check, I2C bus, Speed,
Characters.
Closed a monitor window? Click OPEN MONITOR on the monitor part.
WIRING (the same in Proteus and on a real board)
Backpack pin Arduino UNO
GND GND
VCC 5V
SDA A4 (SDA)
SCL A5 (SCL)
In the sketch: LiquidCrystal_I2C lcd(0x27, 20, 4); // address, columns, rows
(the demo sketch searches 0x20 - 0x27 and 0x38 - 0x3F and uses what answers).
Serial Monitor RXD <- Arduino D1 (TX), Serial Monitor TXD -> Arduino D0 (RX),
Serial Monitor GND -> ground. RXD2 is not needed.
In the demo every backpack pin reaches the UNO through a short wire with a net
label - SDA_1 / SCL_1 (node 1), SDA_2 / SCL_2 (node 2), VCC and GND: the same
name = connected. (Direct wires would have to cross: the backpack's pins and
the UNO's A4 / A5 both point left with SDA above SCL.)
REAL HARDWARE:
* Nothing on the screen: turn the blue trimmer on the back first - nine times
out of ten that is it (the module ships with any setting).
* Still nothing: the address. Run an I2C scanner (or the demo's SCAN); a
PCF8574T board is 0x27, a PCF8574AT board 0x3F, unless pads are bridged.
* Two rows of blocks (rows 1 and 3): the LCD has power and contrast but was
never initialised - wrong address, SDA / SCL swapped, or no lcd.init().
* The backlight off: the LED jumper is missing, or the sketch never called
lcd.backlight().
* The 20x4's backlight draws more current than a 16x2's - check your module's
datasheet when it runs from a battery or a weak supply.
* The backpack has 4.7k pull-ups on SDA / SCL; for long wires or many devices
add your own.
* The PCF8574 is rated for 100 kHz (Wire's default); 400 kHz usually works
but is outside its datasheet.
THE TEST TOOLS (Advance, Tests tab) - what they really measure
Every tool reads the bus as the model sees it during the running simulation;
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 start-up right? The sequence since power-on against the
datasheet: the wait (40 ms asked), the wake-up function sets,
4-bit, 2 lines (= rows 1 + 3 and 2 + 4 on a 20x4), display on,
clear, entry mode, a verdict, and the start-up as the sketch
sent it.
I2C bus Good for: a blank I2C LCD - the wrong address, SDA / SCL
swapped, or a clock too fast. This backpack's address and chip
and its pads; the address the sketch writes to (and a red line
when it is not this one); transactions and bytes since Start;
the address checks (a scanner / auto-detect); the SCL clock
(measured, the PCF8574 is rated 100 kHz); the port now (RS, RW,
E, LED, D7 - D4); bytes lost because the LCD was busy; the last
transactions with every port byte decoded.
Speed Good for: flicker / slow screens - how long a character, a full
line and a full screen take over I2C (LiquidCrystal_I2C sends 3
port writes per nibble: about 1.5 ms per character at 100 kHz,
a 20-character line about 31 ms, all 80 characters about
125 ms - so redraw only what changes).
Characters Good for: finding a symbol's code (the degree sign is 0xDF =
223) - the A00 ROM table; click one for its code, the line to
print it and, for a CGRAM character, its createChar() bytes.
THE DEMO SKETCH ON THE SERIAL MONITOR (I2C_LCD_20x4_Demo V1.0)
HELP the command list
STATUS the LCD's address, lines 1 - 4, backlight, cursor, blink
SCAN every I2C device on the bus (0x08 - 0x77)
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 ON|OFF the backlight (lcd.backlight() / lcd.noBacklight(): P3)
CURSOR ON|OFF the underline cursor (it waits after the line 1 text)
BLINK ON|OFF the blinking block cursor (there too)
CLEAR all four lines empty
Commands are not case-sensitive. Monitor quick buttons in the demo: U1 STATUS,
TEXT1 Hello, TEP!, LIGHT OFF, LIGHT ON; U2 STATUS, BAR 75, SCAN, MINUTE.
The bar is redrawn only when it changes, the clock twice a second - the way to
keep an I2C LCD quick. Every line the demo prints is at most 80 characters.
EXPECTED MONITOR OUTPUT (U1)
I2C LCD 20x4 V1.0 demo - The Engineering Projects
LCD found at 0x27
Type HELP for the commands
STATUS:
LCD at 0x27
Line 1: Hello from 0x27
Line 2: clock
Line 3: LCD 20x4 over I2C
Line 4: minute bar
Backlight on, cursor off, blink off
SCAN (U2) / BAR 75:
I2C devices: 0x3F
OK - bar 75%
Without any LCD on the bus:
No I2C LCD found - check SDA (A4), SCL (A5), VCC
PROPERTIES (double-click the part > Edit Properties)
PANEL Simple devices only: the STATUS panel at the start, OPEN or
CLOSED (default OPEN)
ADDRESS the I2C address: 0x20 - 0x27 (a PCF8574T board) or 0x38 - 0x3F
(a PCF8574AT board); default 0x27. The pads follow it.
TRIMMER the contrast trimmer at the start: V0 in % of VCC, 0 - 100
(default 15 = good contrast; 0 = dark blocks, 50 = blank)
LED_JUMPER FITTED (default) or REMOVED
BACKLIGHT BACKPACK (default: P3 + the jumper), ON or OFF (forced)
CONTRAST TRIMMER (default) or AUTO (always good)
Every run starts again from the properties; clicks on the backpack and 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. The
demo's Serial Monitors: BAUD 9600, THEME TEPDARK, AUTOOPEN YES, QUICK1-4 as
above.
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 VCC and GND (the
panel says NO POWER with the voltage).
* WAITING FOR I2C: nothing reached this address - check SDA -> A4, SCL -> A5
(swapped lines look the same), and that the sketch runs.
* WRONG ADDRESS: the sketch writes to another address - change the address in
the sketch, or the ADDRESS property / the pads (the I2C bus tool shows both).
* Blocks on rows 1 and 3: the LCD was not initialised (lcd.init() /
lcd.begin() missing; 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).
* "LiquidCrystal_I2C lcd(0x27, 16, 2)" on a 20x4: rows 3 and 4 are reached
with the wrong addresses - give the library 20, 4.
* Faint characters or dark blocks behind them: the contrast - click the
trimmer, or set CONTRAST AUTO (GOOD).
* The backlight stays off: the LED jumper (click it), lcd.backlight() in the
sketch, or BACKLIGHT OFF on the panel.
* 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. 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 board, 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.com/donate
WEBSITE
https://www.theengineeringprojects.com/
LICENCES AND THIRD-PARTY NOTES
* The LCD and backpack model (TEPLCD.DLL), the symbols and artwork and the TEP
Serial Monitor Advance (TEPSERIALMON.LIB / .DLL) are made by The Engineering
Projects. The model is an independent implementation written from the
HD44780 and PCF8574 datasheets. The models use only standard Windows
libraries; no Visual C++ redistributable is needed.
The C++ source code is not included.
* TEP Arduino UNO V3 library (ArduinoV3TEP.LIB / .IDX): The Engineering
Projects, https://www.theengineeringprojects.com/2023/10/arduino-library-for-proteus-v30.html
* The demo sketch uses the LiquidCrystal_I2C library 1.1.2 ("LiquidCrystal I2C"
by Frank de Brabander in the Arduino Library Manager, maintained by Marco
Schwartz: https://github.com/marcoschwartz/LiquidCrystal_I2C) and Arduino's
Wire library. The .hex file is built from the demo sketch,
LiquidCrystal_I2C 1.1.2 and the Arduino AVR core 1.8.6 (with Wire), which
includes LGPL-licensed code; its source code is available at
https://github.com/arduino/ArduinoCore-avr/tree/1.8.6
* Proteus is a product of Labcenter Electronics and is not included. Arduino is
a trademark of Arduino SA. HD44780 is a Hitachi part and PCF8574 an NXP / TI
part; this library is not made or endorsed by them or by Labcenter.
REBUILDING THE FIRMWARE (OPTIONAL)
The HEX file is supplied; Arduino IDE is not needed to run the demo. To edit the
sketch, install "LiquidCrystal I2C" by Frank de Brabander from the Library
Manager, open Arduino Code\I2C_LCD_20x4_Demo\I2C_LCD_20x4_Demo.ino, select
Arduino Uno and use Sketch > Export Compiled Binary. Replace the simulation's
.hex with the exported HEX.
MODEL SCOPE AND LIMITS
Modelled: the PCF8574 / PCF8574A I2C slave (address with A0 - A2, ACK, write
the port, read the pins: quasi-bidirectional with the LCD driving D4 - D7
during a read), the backpack's wiring to the LCD, the LED jumper and the
contrast trimmer; the HD44780 instruction set with its busy times (bytes during
the busy time are ignored), the power-on reset, the A00 ROM, the 5x8 font,
1 / 2-line mode and the 20x4 row order, cursor blink; VCC as a supply (on above
4 V), the contr
…Development1 release
-
V1.0I2C LCD 20x4 Library for Proteus V1.0this page
V1.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 i2c-lcd-20x4-tep-v1-0-a624eed96d8d4e78b0b6db9ef8770830.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (I2C-LCD-20x4-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move ArduinoV3TEP.LIB, TEPI2CLCD20X4.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 I2C_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 I2C_LCD_20x4_Demo.hex and run the simulation. For real hardware, flash the same file with your programmer.
- 7
Open the example simulation
Open I2C-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
I2C LCD 20x4 Library for Proteus V1.0 (PCF8574 + Arduino) explains every connection and setting in order; keep it open beside the files while you build.
FAQs9 questionsContact TEP
How do I download I2C LCD 20x4 Library for Proteus V1.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?
I2C LCD 20x4 Library for Proteus V1.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, e09877673cbd0e1bdfafcbdf3fb09c8350f58461c14a041ce311103eff550b85. In PowerShell run Get-FileHash "i2c-lcd-20x4-tep-v1-0-a624eed96d8d4e78b0b6db9ef8770830.zip"; on macOS or Linux run shasum -a 256 "i2c-lcd-20x4-tep-v1-0-a624eed96d8d4e78b0b6db9ef8770830.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.
- 35Total downloads
- 4%Popularity
- ProteusCategory
- 0Comments
- ssyedzainnasirUploaded by
- 11 Oct 2026Uploaded at
e09877673cbd0e1bdfafcbdf3fb09c8350f58461c14a041ce311103eff550b85

















Comments
0