Project Files of PCF8574 I/O Expander Library for Proteus Simulation
1351ee01a7ce46339c219ff96a3de3cf.zip

PCF8574 I/O Expander Library for Proteus V1.0
PCF8574 I/O Expander Library for Proteus V1.0 comes as a ZIP archive of 22 files (2.5 MB, 7.1 MB unpacked) holding Proteus library files, simulation model DLLs, a Proteus simulation, an Arduino sketch and compiled HEX firmware.
- LIBProteus library
- DLLProteus model
- DSNProteus simulation
- INOArduino sketch
- HEXHEX firmware
Description
PCF8574-IO-Expander-Library-for-Proteus-v1.0.zip with the PCF8574 I/O expander for Proteus simulation (TEPPCF8574.LIB and TEPPCF8574.DLL), our LEDs, resistors, DIP switch and 16x2 LCD, our Arduino UNO V4.0, the A3 demo, its sketch and a README.
File Structure
3.8 KB201.9 KB1.6 MB137.8 KB21.8 KB19.3 KB306.9 KB883.5 KB279.5 KB330.5 KB289.5 KB302.5 KB311 KB29.3 KB23.4 KB883.5 KB279.5 KB330.5 KB289.5 KB302.5 KB311 KB13.4 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in PCF8574 I/O Expander Library for Proteus Simulation. Open an image for its full size.
README
PCF8574 I/O EXPANDER LIBRARY FOR PROTEUS SIMULATION - V1.0 (eight more pins on two wires, a pop-up)
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/12/pcf8574-io-expander-library-for-proteus.html
Report a bug or suggest a feature (our forum):
https://www.theengineeringprojects.com/forum/category/lcd-proteus-library
The demo runs on our Arduino UNO V4.0 (included) - working LEDs, RESET and a
built-in serial monitor, no Virtual Terminal to wire - its own article:
https://www.theengineeringprojects.com/2026/10/arduino-uno-library-for-proteus-v40.html
Support us (the libraries are free):
https://www.theengineeringprojects.com/donate
FILE STRUCTURE
PCF8574-IO-Expander-TEP-v1.0/
|-- Proteus Library Files/
| |-- ArduinoV4TEP.LIB 201.9 KB TEP Arduino boards V4.0 (UNO) -> LIBRARY
| |-- TEPDIP.LIB 1.63 MB a part the demo uses -> LIBRARY folder
| |-- TEPLCD16X2.LIB 137.8 KB a part the demo uses -> LIBRARY folder
| |-- TEPLED5MM.LIB 21.8 KB a part the demo uses -> LIBRARY folder
| |-- TEPPCF8574.LIB 19.3 KB the library -> LIBRARY folder
| |-- TEPRESISTOR.LIB 306.9 KB a part the demo uses -> LIBRARY folder
|-- Proteus Model Files/
| |-- TEPARDUINO.DLL 883.5 KB the Arduino board model -> MODELS folder
| |-- TEPDIP.DLL 279.5 KB its model -> MODELS folder
| |-- TEPLCD.DLL 330.5 KB its model -> MODELS folder
| |-- TEPLED5MM.DLL 289.5 KB its model -> MODELS folder
| |-- TEPPCF8574.DLL 302.5 KB the model -> MODELS folder
| |-- TEPRESISTOR.DLL 311.0 KB its model -> MODELS folder
|-- Proteus Simulation/
| |-- PCF8574_Demo.hex 23.4 KB the demo firmware
| |-- PCF8574-LEDs-Switches-LCD-ArduinoUnoV4.pdsprj 29.3 KB the demo project
| |-- TEPARDUINO.DLL 883.5 KB copy of the board model
| |-- TEPDIP.DLL 279.5 KB copy of its model
| |-- TEPLCD.DLL 330.5 KB copy of its model
| |-- TEPLED5MM.DLL 289.5 KB copy of its model
| |-- TEPPCF8574.DLL 302.5 KB copy of the model
| |-- TEPRESISTOR.DLL 311.0 KB copy of its model
|-- Arduino Code/
| |-- PCF8574_Demo/PCF8574_Demo.ino 3.8 KB the demo sketch (source of the .hex)
|-- README.txt ~13.7 KB this file
Total: 7.05 MB (unzipped). The C++ source code of the models is not included.
WHAT IS IT?
The common PCF8574 8-bit I/O expansion board, drawn from the top at its real size: the 46 x 21 mm
blue board, the PCF8574, the A0 / A1 / A2
address jumpers, the pull-ups, the PWR LED, the I2C header VCC GND SDA SCL INT on the left and P0 -
P7 on the right. The drawing is our own;
the model follows the PCF8574 datasheet:
* An I2C slave at 0x20 - 0x27 (A2 A1 A0 - the ADDRESS property; the jumpers on the board follow
it) or, as the PCF8574A, 0x38 - 0x3F
(the VERSION property). No registers: one byte written goes to the eight pins, one byte read is
the eight pins.
* Quasi-bidirectional pins: a written 0 is a strong low (it sinks an LED from VCC), a written 1 a
weak pull-up - a weak high and an
input at the same time. The pins change at each byte's ACK.
* INT (open drain, active low) goes low when a pin used as an input changes against the last read
or write, and back high at the next
read or write.
* Click the board for the pop-up: the eight pins (written, the level, output or input, pulled low
by the circuit), the last
transfers; graphs, an event log and a check page.
The body is drawn as on the real part and to true scale against our Arduino.
The TEP signature and the pop-up are TEP additions.
ONE DEVICE (search "PCF8574" or "expander" in Pick Devices):
IOEXPPCF8574TEP "PCF8574 I/O Expander V1.0" in TEPPCF8574.LIB (Modules > Interface), prefix U,
model TEPPCF8574.DLL (mixed).
Pins: VCC GND SDA SCL INT (left), P0 - P7 (right).
The demo also uses our 5 mm LEDs (TEPLED5MM), resistors (TEPRESISTOR), the 4-way DIP switch
(TEPDIP) and the 16x2 LCD (TEPLCD16X2 / TEPLCD).
THE POP-UP
Click the part at Run. Tabs:
Expander The eight pins (what was written, the level, output LOW or input / weak high or an
input pulled LOW by the circuit), the
last transfers (time, read / write, the byte); tiles: the address and the supply,
the latch, the pins, INT, the writes
and reads, the inputs pulled low, the chip.
Graphs the live values over the last 2, 6 or 15 s. Live / Freeze.
Event log every change and warning; filters All / Changes / Warnings, Pause, Clear
Check what the part is doing and what to look at, each with a verdict (green = fine, amber
= check, red = wrong)
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
TEST STATUS
V1.0: verified in Proteus 8.5 on 21 Nov 2026 (the demo project as shipped: an A3 sheet, an Arduino UNO V4.0).
What the runs showed (the model's own numbers and the sketch's monitor):
* The project loads and starts cleanly; the demo ran 3.0 simulated seconds in about 1 minute 46
seconds on our PC with both pop-ups
open and the pictures being taken.
* U1 at 0x20 (A2 A1 A0 = 0 0 0) answered from the first transfer: the sketch wrote 0xFF, read the
switches and started counting. At
0.59 s the latch held 0xFD and the pins read 0xAD - P1 sinking LED D2, P4 and P6 pulled low by
DIP switches 1 and 3.
* The switches read "1010" on the monitor and on the LCD (switches 1 and 3 ON), and stayed the
same over the run: INT never fell.
* The counter showed on the four LEDs (P0 - P3, a 0 lights an LED): 0xFA at 1.38 s, 0xF6 at 2.19
s, 0xF3 at 2.99 s - the monitor
printed Count 1 -> 0xFE up to Count 12 -> 0xF3.
* U2 at 0x27 (A2 A1 A0 = 1 1 1) drove the 16x2 LCD in 4-bit mode with the backlight on: "PCF8574
x2 I2C" and "LED 0101 SW 1010",
1,357 one-byte writes over the run.
* U1 in all: 13 writes, 12 reads, 0 NACKs. No other address answered, no bus error.
* The pop-ups (Expander, Graphs, Event log, Check) followed the run; the Check page showed all
four lines green.
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" (TEPPCF8574.LIB, TEPLED5MM.LIB, TEPRESISTOR.LIB,
TEPDIP.LIB, TEPLCD16X2.LIB and our Arduino library V4.0, ArduinoV4TEP.LIB, with the ARDUINO UNO V4.0
used by the demo) to the LIBRARY folder of Proteus, for example:
C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY
(use the folder that already holds Proteus's own .LIB files).
3. Copy TEPPCF8574.DLL, TEPLED5MM.DLL, TEPRESISTOR.DLL, TEPDIP.DLL, TEPLCD.DLL and TEPARDUINO.DLL
from "Proteus Model Files" to the MODELS folder (...\Proteus 8 Professional\MODELS).
4. Delete TEPPCF8574.IDX from the LIBRARY folder if it is there (Proteus makes a new index).
5. Start Proteus. In Pick Devices (P) search "PCF8574".
RUN THE DEMO
"Proteus Simulation\PCF8574-LEDs-Switches-LCD-ArduinoUnoV4.pdsprj" (an A3 sheet) - keep the .hex
file and the DLLs beside the project.
ARD1: Arduino UNO V4.0 running PCF8574_Demo.hex (window "TEP Arduino UNO - ARD1"): A4 / A5 =
SDA / SCL, D2 = INT of U1.
U1: a PCF8574 at 0x20: P0 - P3 sink D1 - D4 (red LEDs from +5V through R1 - R4, 220 ohm), P4
- P7 read SW1 (a 4-way DIP switch to GND,
switches 1 and 3 ON).
U2: a PCF8574 at 0x27, wired like an I2C LCD backpack to LCD1 (16x2): P0 RS, P1 RW, P2 E, P4
- P7 D4 - D7 (P3 is the backlight bit
on a real backpack, unused here).
The sketch counts in binary on the LEDs, reads the switches and writes both to the LCD in 4-bit
mode through U2; INT on D2 reports a
switch you click while it runs.
Closed the monitor? Click the UNO's USB port.
WIRING (the same in Proteus and on a real board)
VCC 2.5 - 6 V and GND, SDA / SCL to the I2C bus (the board has the pull-ups). An LED: from VCC
through a resistor to Pn (write 0 to
light it). A switch or a button: from Pn to GND (write 1 to the pin first, read 0 when it is
pressed). INT to an interrupt pin with a
pull-up.
REAL HARDWARE:
* A pin sinks up to about 25 mA but sources only about 100 uA: drive LEDs from VCC to the pin,
never from the pin to GND.
* Write a 1 to every pin you want to read; after power-on all pins are 1.
* Up to eight PCF8574 (0x20 - 0x27) and eight PCF8574A (0x38 - 0x3F) share one bus.
* Most I2C LCD backpacks are a PCF8574 (0x27) or a PCF8574A (0x3F) wired exactly like U2.
THE DEMO SKETCH ON THE SERIAL MONITOR (PCF8574_Demo V1.0, 9600 baud)
PCF8574_Demo prints the count and the switches. EXPECTED MONITOR OUTPUT (shortened)
Two PCF8574: U1 at 0x20 (LEDs, switches), U2 at 0x27 (LCD)
LCD ready (4-bit through U2)
Switches 1-4: 1010
Count 1 -> U1 0xFE
Count 2 -> U1 0xFD
PROPERTIES (double-click the part > Edit Properties)
ADDRESS The A2 A1 A0 jumpers: 0 - 7 (PCF8574 0x20 - 0x27, PCF8574A 0x38 - 0x3F). Default 0.
VERSION PCF8574 or PCF8574A. Default PCF8574.
Every run starts again from the properties.
LINKS.INI (OPTIONAL)
The Help page cards of the pop-up open web pages. To point them somewhere else without a new DLL,
put a text file named links.ini next to TEPPCF8574.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
* An LED does not light: it is wired from the pin to GND - the pin cannot source current; wire it
from VCC to the pin and write 0.
* A switch always reads 0: a 0 was written to that pin - write 1 first.
* INT stays low: the sketch never reads (or writes) the port after the change.
* No answer: the address does not match ADDRESS / VERSION, or VCC is not powered.
* The part is not simulated: TEPPCF8574.DLL is missing from MODELS and from the project folder.
* The part is not simulated: TEPPCF8574.DLL is missing from MODELS and from the project folder. No
UNO / no monitor window: TEPARDUINO.DLL is missing, or click the UNO's USB port.
BUG REPORTS AND FEATURE REQUESTS
Please post them in our forum with a screenshot, the Serial Monitor text, the
simulation log and the pop-up's 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 model (TEPPCF8574.DLL), the symbols and artwork, the other parts of ours in the demo and the
Arduino Library V4.0 (ArduinoV4TEP.LIB / TEPARDUINO.DLL, with its built-in TEP Serial Monitor
Advance) are made by The Engineering Projects. The models use only standard Windows libraries; no
Visual C++ redistributable is needed.
The C++ source code is not included.
* Arduino UNO V4.0 (ArduinoV4TEP.LIB / TEPARDUINO.DLL, our Arduino Library V4.0 - its
microcontroller is Proteus's own AVR model): The Engineering Projects,
https://www.theengineeringprojects.com/2026/10/arduino-uno-library-for-proteus-v40.html
* The .hex file is built from the demo sketch and the Arduino AVR core 1.8.6, 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.
This library is not made or endorsed by Arduino or Labcenter.
REBUILDING THE FIRMWARE (OPTIONAL)
The HEX file is supplied; Arduino IDE is not needed to run the demo. To edit the sketch, open
Arduino Code\PCF8574_Demo\PCF8574_Demo.ino, select Arduino Uno and use Sketch > Export Compiled
Binary. Replace the simulation's .hex with the exported HEX. The sketch needs 8,518 bytes of flash
and 466 bytes of RAM.
MODEL SCOPE AND LIMITS
Modelled: the I2C slave (write and read, the pins changing at each ACK), the quasi-bidirectional
pins (strong low, weak high), INT on an
input change and its release, the address of the PCF8574 and the PCF8574A.
Our figures: a written 1 is weak high (the real chip adds a short strong-high pulse on a 0 to 1
change).
Not modelled: the strong-high pulse, the pin currents' limits, the 400 kHz timing limits.
VERSION
TEP PCF8574 I/O Expander library V1.0 (Nov 2026). Device IOEXPPCF8574TEP (TEPPCF8574.LIB /
TEPPCF8574.DLL). Demo sketch PCF8574_Demo V1.0 (Wire only). Demo board: ARDUINO UNO V4.0 (TEP
Arduino Library V4.0) with its built-in serial monitor; our 5 mm LED, resistor, DIP switch and 16x2
LCD libraries.Development1 release
-
V1.0PCF8574 I/O Expander 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 1351ee01a7ce46339c219ff96a3de3cf.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (PCF8574-IO-Expander-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move ArduinoV4TEP.LIB, TEPDIP.LIB and TEPLCD16X2.LIB and 3 more and the files 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 TEPARDUINO.DLL, TEPDIP.DLL and TEPLCD.DLL and 3 more 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 PCF8574_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 PCF8574_Demo.hex and run the simulation. For real hardware, flash the same file with your programmer.
- 7
Open the example simulation
Open PCF8574-LEDs-Switches-LCD-ArduinoUnoV4.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
PCF8574 I/O Expander Library for Proteus Simulation explains every connection and setting in order; keep it open beside the files while you build.
FAQs9 questionsContact TEP
How do I download PCF8574 I/O Expander 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?
PCF8574 I/O Expander Library for Proteus V1.0 comes as a ZIP archive of 22 files (2.5 MB, 7.1 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 22 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, 2ec2208b9d4f66183ccae2599bccba5079b9a687b93758eec152e78520f9d4f6. In PowerShell run Get-FileHash "1351ee01a7ce46339c219ff96a3de3cf.zip"; on macOS or Linux run shasum -a 256 "1351ee01a7ce46339c219ff96a3de3cf.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.
- 0Total downloads
- 4%Popularity
- ProteusCategory
- 0Comments
- ssyedzainnasirUploaded by
- 1 Dec 2026Uploaded at
2ec2208b9d4f66183ccae2599bccba5079b9a687b93758eec152e78520f9d4f6



























Comments
0