TEP DOWNLOAD CENTER

Project Files of MAX485 RS485 Module Library for Proteus V1.0: Modbus RTU + Arduino

Libraries Code Projects Simulation
tep://download-terminal max485-rs485-module-tep-v1-0-13615404ddba4067bb97c340403d1078.zip ZIP archiveV1.0Verified59 downloadsFree
MAX485 RS-485 Module Library for Proteus V1.0: the module with its STATUS panel next to an Arduino UNO
Proteus library · File 1 of 1

MAX485 RS485 Module Library for Proteus V1.0

MAX485 RS485 Module Library for Proteus V1.0 comes as a ZIP archive of 12 files (1.2 MB, 2.6 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

This is the download page of MAX485 RS485 Module Library for Proteus V1.0, the file package of the tutorial MAX485 RS485 Module Library for Proteus V1.0: Modbus RTU + Arduino, published on The Engineering Projects in October 2026. Here you get the ZIP file (1.2 MB) with the Proteus library files (LIB and IDX), the simulation model (DLL), a ready Proteus simulation, an Arduino sketch and the compiled HEX firmware, the list of files it contains, the README when there is one, and the installation steps in order.

What this library is

MAX485-RS485-Module-Library-for-Proteus-v1.0.zip with the MAX485 TTL to RS-485 module (DE / RE, the A / B half-duplex bus, every byte decoded, Modbus RTU frames with their CRC, the DE timing, collisions, CABLE and NOISE), Simple and Advance (TEPMAX485.LIB and TEPMAX485.DLL), our Arduino UNO V4.0 library with its built-in serial monitor (ArduinoV4TEP.LIB and TEPARDUINO.DLL), the two-UNO simulation with a Modbus master (ModbusMaster) and a slave, their HEX files, the sketches 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

  • ArduinoV4TEP.LIB – Proteus library, 201.9 KB
  • TEPMAX485.LIB – Proteus library, 59.2 KB
  • TEPARDUINO.DLL – Simulation model, 883.5 KB
  • TEPMAX485.DLL – Simulation model, 281.5 KB
  • MAX485-RS485-Modbus-ArduinoUnoV4.pdsprj – Proteus simulation, 23.5 KB
  • RS485_Master.ino – Arduino sketch, 4.8 KB
  • and 6 more, all listed in the File Structure tab

The archive unpacks to 2.6 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 ArduinoV4TEP.LIB and TEPMAX485.LIB into its LIBRARY folder (Proteus 8: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY).
  • Step 3: Copy TEPARDUINO.DLL and TEPMAX485.DLL into the MODELS folder next to it, so the part simulates.
  • Step 4: Start Proteus, press P and search for "ArduinoV4TEP"; place and wire it as in the tutorial.
  • Step 5: Open RS485_Master.ino and RS485_Slave1.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 RS485_Master.hex and RS485_Slave1.hex; on hardware, flash the same file.
  • Step 7: Open MAX485-RS485-Modbus-ArduinoUnoV4.pdsprj in Proteus and press Play.

Read the detailed guide

This page is for the files. The full tutorial, MAX485 RS485 Module Library for Proteus V1.0: Modbus RTU + 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.

Read MAX485 RS485 Module Library for Proteus V1.0: Modbus RTU + Arduino

File Structure

max485-rs485-module-tep-v1-0-13615404ddba4067bb97c340403d1078.zip12 files · 6 folders · 2.6 MB unpacked
MAX485-RS485-TEP-v1.0/12 files · 2.6 MB
Arduino Code/2 files · 8.9 KB
RS485_Master/1 file · 4.8 KB
INO RS485_Master.inoArduino sketch 4.8 KB
RS485_Slave1/1 file · 4.1 KB
INO RS485_Slave1.inoArduino sketch 4.1 KB
Proteus Library Files/2 files · 261.1 KB
LIB ArduinoV4TEP.LIBProteus library 201.9 KB
LIB TEPMAX485.LIBProteus library 59.2 KB
Proteus Model Files/2 files · 1.1 MB
DLL TEPARDUINO.DLLSimulation model 883.5 KB
DLL TEPMAX485.DLLSimulation model 281.5 KB
Proteus Simulation/5 files · 1.2 MB
DSN MAX485-RS485-Modbus-ArduinoUnoV4.pdsprjProteus simulation 23.5 KB
HEX RS485_Master.hexCompiled HEX file 25.4 KB
HEX RS485_Slave1.hexCompiled HEX file 19.2 KB
DLL TEPARDUINO.DLLSimulation model 883.5 KB
DLL TEPMAX485.DLLSimulation model 281.5 KB
TXT README.txtText file 30.8 KB

README

README.txt 414 lines
MAX485 RS-485 MODULE LIBRARY FOR PROTEUS - V1.0 (HALF-DUPLEX BUS, MODBUS RTU DECODED)
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/max485-rs485-module-library-for-proteus-v1-0.html
Report a bug or suggest a feature (our forum):
  https://www.theengineeringprojects.com/forum/category/max485-rs485-module-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
The built-in monitor is our TEP Serial Monitor Advance - its own article:
  https://www.theengineeringprojects.com/2026/10/serial-monitor-advance-proteus-library.html
The demo sketches use two Arduino libraries (not included - install them with
the Library Manager of the Arduino IDE):
  ModbusMaster 2.0.1 (Apache 2.0), by Doc Walker (the master sketch):
    https://github.com/4-20ma/ModbusMaster
  AltSoftSerial 1.4 (MIT), by Paul Stoffregen (both sketches):
    https://github.com/PaulStoffregen/AltSoftSerial
Support us (the libraries are free):
  https://www.theengineeringprojects.com/donate

FILE STRUCTURE
MAX485-RS485-TEP-v1.0/
|-- Proteus Library Files/
|   |-- ArduinoV4TEP.LIB                              201.9 KB   TEP Arduino boards V4.0 (UNO), to LIBRARY
|   |-- TEPMAX485.LIB                                  59.2 KB   the MAX485 RS-485 module (2 parts), to LIBRARY
|-- Proteus Model Files/
|   |-- TEPARDUINO.DLL                                883.5 KB   the Arduino board model, to MODELS
|   |-- TEPMAX485.DLL                                 281.5 KB   the MAX485 model, to MODELS
|-- Proteus Simulation/
|   |-- MAX485-RS485-Modbus-ArduinoUnoV4.pdsprj        23.5 KB   demo: 2 UNOs, 2 MAX485 modules on one bus
|   |-- RS485_Master.hex                               25.4 KB   ARD1, the Modbus master V1.0
|   |-- RS485_Slave1.hex                               19.2 KB   ARD2, slave 1 V1.0
|   |-- TEPARDUINO.DLL                                883.5 KB   copy of the board model
|   |-- TEPMAX485.DLL                                 281.5 KB   copy of the model
|-- Arduino Code/
|   |-- RS485_Master/RS485_Master.ino                   4.8 KB   the master (ModbusMaster)
|   |-- RS485_Slave1/RS485_Slave1.ino                   4.1 KB   the slave
|-- README.txt                                        ~31.5 KB   this file
Total: 2.64 MB (unzipped). The C++ source code of the model is not included.

WHAT IS IT?
A simulation model of the MAX485 TTL to RS-485 module of the Arduino shops:
the MAX485 half-duplex transceiver on a small blue board with its 10 kohm
resistors, the 120 ohm terminator (R7), the green screw terminal A B and two
4-pin headers. Our own model, written from the MAX485 datasheet and the
Modbus RTU specification:
  * The driver: DE HIGH drives the pair - A = DI, B = NOT DI; DE LOW turns it
    off and the board's bias resistors hold A HIGH and B LOW (the idle line
    reads 1).
  * The receiver: RE LOW gives the line on RO (A above B = 1); RE HIGH turns
    it off and the board pulls RO HIGH.
  * A / B are a real bus: connect the A and B pins of two or more modules;
    one driver at a time - two drivers in opposite directions leave A and B
    at the same level (a collision).
  * The bus decoder: every byte on the line, 8N1, at the BAUD property's rate
    or measured on the line (AUTO); bytes grouped into frames by 3.5
    characters of silence; each frame checked (Modbus RTU CRC-16) and decoded
    - the slave, the function, the registers, the values, the exceptions;
    requests and answers told apart.
  * The timing of this node's own frames: DE HIGH before the first start bit
    (the lead), DE LOW after the last stop bit (the tail), DE dropped inside
    a byte (the classic missing Serial.flush()), gaps longer than 1.5
    characters inside a frame.
  * Wiring checks: RE tied to DE or not (the echo of a node that hears
    itself), the idle level, A and B swapped (the line held LOW), collisions.
The module is drawn at about its real size next to the Arduino UNO V4.0 (the
real board is 44 x 14 mm), seen from above: the TTL header RO RE DE DI on the
left, the MAX485 (SOIC-8), the four "103" resistors, the "121" terminator and
the capacitor, the screw terminal A B and the header VCC B A GND on the right.
TEP additions: the SIMPLE / ADVANCE badge, the PWR LED, the TX LED (this node
drives the bus) and the RX LED (activity on the bus), the panel button, and
two actions: CABLE (cut this node off the bus and back) and NOISE (flip one
bit of the next frame this node receives - its CRC fails).

TWO DEVICES IN ONE LIBRARY (search "MAX485" or "RS-485" in Pick Devices):
  Simple    MAX485TEP     "MAX485 RS-485 Module V1.0 - Simple"
  Advance   MAX485ADVTEP  (the same, "- Advance")
            (category Modules > Communication)
  Simple    On-Sheet Panel: the STATUS panel under the module - the banner
            (green while listening, orange while this node sends, amber with
            CRC errors or the cable cut, red for a collision or no power),
            CABLE, NOISE, CLEAR, ten readouts (the mode, the line, the baud
            rate, the frames, the bytes, the CRC, the last frame, the DE
            timing, the collisions, the errors), the last six frames on the
            bus decoded and the last four events. The red X closes the panel;
            the PANEL button opens it again.
  Advance   Pop-Up Panel: only the module on the schematic; at Run a TEP
            pop-up window opens - the look of the TEP Serial Monitor. Tabs
            Bus, Event log and Tests; gear and ? icons for Settings and
            Help; the palette icon switches the theme:
              Bus        the banner, four tiles (the line, this node, the
                         traffic, the errors), the frames on the bus - click
                         one to see it field by field (the slave, the
                         function, the data, the CRC, the DE timing); CABLE,
                         NOISE and CLEAR on the toolbar
              Event log  the frames sent and received, the DE timing, the bus,
                         power, warnings (filters, pause, clear)
              Tests      Timing, Modbus, Wiring (THE TEST TOOLS)
              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 opens the window again.
Both devices use one model, TEPMAX485.DLL.

TEST STATUS
V1.0: verified in Proteus 8.5 on 18 Oct 2026 (the demo project as shipped:
two Arduino UNO V4.0 boards with their built-in monitors; node 1 the Simple
part with the master, node 2 the Advance part with slave 1).
What the run showed:
  * The master read slave 1 every 2 seconds ("slave 1: uptime 2 s, LED OFF,
    answered 1, CRC errors 0"); each request 01 03 00 00 00 04 44 09 and its
    13-byte answer decoded on both modules, the CRC good, 9600 baud measured.
  * LED ON: function 06 wrote register 1, the slave's LED on D13 lit and the
    slave echoed the request. WRITE 3 5: "error 02 - exception: illegal data
    address". ID 7: "error E2 - no answer in 2 s".
  * NOISE on U2: the slave saw a bad CRC, ignored the request, and the master
    reported E2. CABLE on U2: E2 until the cable was back.
  * Node 1 with the guarded real mouse: NOISE on the panel flipped a bit of
    the function byte of the next answer - the panel showed CRC BAD and the
    master reported E1 (another function); CABLE cut and restored it.
  * DE was HIGH 6 us before the first start bit and LOW 12 us after the last
    stop bit (AltSoftSerial's flush() waits for the stop bit).
  * 40.0 s of simulation took 111 s with the pop-up and both monitors open
    (about 0.36 x real time).

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" (TEPMAX485.LIB with the two
   parts, 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
   (on some PCs: C:\ProgramData\Labcenter Electronics\Proteus 8 Professional\
   LIBRARY - use the folder that already holds Proteus's own .LIB files).
3. Copy TEPMAX485.DLL and TEPARDUINO.DLL from "Proteus Model Files" to the
   MODELS folder (...\Proteus 8 Professional\MODELS).
   ArduinoV4TEP.LIB and TEPARDUINO.DLL are the files of our Arduino Library
   V4.0 - if you have it, they are the same.
4. Delete TEPMAX485.IDX from the LIBRARY folder if it is there (Proteus makes
   a new index).
5. Start Proteus. In Pick Devices (P) search "MAX485".

RUN THE DEMO
"Proteus Simulation\MAX485-RS485-Modbus-ArduinoUnoV4.pdsprj" - keep the two
.hex files and the two DLLs beside the project.
  ARD1: Arduino UNO V4.0 + U1 = the MAX485 module (Simple) - the Modbus
        master, RS485_Master.hex (ModbusMaster).
  ARD2: Arduino UNO V4.0 + U2 = the MAX485 module (Advance) - slave 1,
        RS485_Slave1.hex (a small Modbus RTU slave: 4 registers; register 1
        is the LED on D13).
  On both: RO on D8 (AltSoftSerial RX), DI on D9 (AltSoftSerial TX), DE and RE
  together on D2; VCC and GND to the rails; A and B to the labels A_BUS and
  B_BUS - the bus between the two nodes. Each UNO has its serial monitor
  built in ("TEP Arduino UNO - ARD1" / "- ARD2").
  1. Press Run. Both UNOs' monitor windows open (9600 baud) and so does the
     pop-up of U2 (move it aside - it opens over the schematic). Every 2
     seconds the master reads the 4 registers of slave 1 and prints them.
  2. Type LED ON in ARD1's monitor: the master writes register 1 and the LED
     on ARD2's D13 lights. LED OFF turns it off.
  3. WRITE 3 5: the slave answers an exception (illegal data address -
     register 3 is read only). ID 7 then READ: no slave 7 - no answer in 2 s.
     ID 1 talks to slave 1 again.
  4. Click NOISE on U1's panel: one bit of the next answer flips (its CRC fails;
     the master reports E1 or E3). Click CABLE: the master gets no answer until
     you click it again.
Closed a monitor window? Click the UNO's USB port.

WIRING
  Module pin    Arduino UNO (the demo)
  VCC           5V
  GND           GND
  RO            D8 (AltSoftSerial RX; or the hardware RX, D0)
  DI            D9 (AltSoftSerial TX; or the hardware TX, D1)
  DE            D2 - HIGH to send
  RE            D2 too (tied to DE) - LOW to listen
  A             A of the other node(s)
  B             B of the other node(s)
In the demo VCC and GND go to power terminals and the other pins to labels
(RX_1, TX_1, DE_1 ... A_BUS, B_BUS). The serial monitors need no wires: they
are built into the Arduino UNO V4.0.
AltSoftSerial uses D8 and D9 on the UNO (and blocks PWM on D10). SoftwareSerial
cannot receive in Proteus (no pin-change interrupts) - use AltSoftSerial, the
hardware Serial or a Mega's Serial1 - 3.
REAL HARDWARE:
 * Connect GND between the nodes too, not only A and B.
 * Terminate a long cable with 120 ohm at its two ends only: the module has
   one (R7) - remove it on the nodes in the middle of the bus.
 * DE and RE on one pin is the usual way: the receiver is off while a node
   sends, so it does not read its own bytes back.
 * Call Serial.flush() before DE LOW: write() only queues the bytes.
 * RS-485 runs up to 1200 m; the MAX485 up to 2.5 Mbps and 32 unit loads.

THE TEST TOOLS (Advance, Tests tab) - what they really measure
Every tool reads the model during the running simulation; each shows one
"Good for:" line and, where it judges, a verdict per row (green = fine, amber
= check, red = wrong, grey = only an explanation).
  Timing   Good for: a last byte that arrives broken, answers that collide,
           the wrong baud rate, gaps the slave rejects. The bit time measured
           on the line, DE dropped early, the gaps inside frames, and the DE
           lead and tail of every frame this node sent with a verdict.
  Modbus   Good for: a slave that does not answer, CRC errors, exceptions, how
           long the slave takes to answer. The requests and the answers, the
           CRC, the exceptions, the unanswered requests, the answer time; a
           Modbus RTU frame explained.
  Wiring   Good for: nothing on the bus, a node that hears itself, A and B
           swapped, two nodes that talk at once. Power, the cable, DE, RE
           (tied to DE?), the echo, the idle line, collisions, an undefined
           line.

THE DEMO SKETCHES ON THE SERIAL MONITORS
RS485_Master (ARD1) - ModbusMaster 2.0.1 over AltSoftSerial at 9600 baud,
preTransmission() / postTransmission() switch DE + RE; every 2 seconds
readHoldingRegisters(0, 4) of slave 1. Commands:
  READ                 read the 4 registers now
  LED ON / LED OFF     writeSingleRegister(1, 1 / 0) - the slave's LED on D13
  WRITE r v            writeSingleRegister(r, v)
  ID n                 talk to slave n
  POLL n               read every n seconds (POLL 0 stops)
  HELP
The master prints ModbusMaster's result codes: 01 - 04 exceptions, E2 no
answer in 2 s, E3 a wrong CRC.
RS485_Slave1 (ARD2) - a small Modbus RTU slave written in the sketch (no
library): address 1, 9600 baud, a frame ends after 4 ms of silence; function
03 reads and 06 writes; anything else gets an exception (01 illegal function,
02 illegal data address). Its registers:
  0  the uptime in seconds          (read only)
  1  the LED on D13: 0 off, 1 on    (read and write)
  2  the requests answered          (read only)
  3  the frames with a bad CRC      (read only)
Commands are not case-sensitive; type them in the UNO's built-in monitor and
press Enter.

PROPERTIES (double-click the part > Edit Properties)
  BAUD    the decoder's baud rate: AUTO (9600 at the start, then measured
          on the line) or a number (1200 - 115200)
  PANEL   Simple only: the STATUS panel at the start, OPEN or CLOSED
Every run starts again from the properties.
The demo's UNOs (ARDUINO UNO V4.0): PROGRAM RS485_Master.hex / RS485_Slave1.hex,
MONITOR YES (the built-in monitor), BAUD 9600, AUTOOPEN YES, BOOTLOADER YES.

LINKS.INI (OPTIONAL)
The Help page cards of the Advance device open web pages. To point them
somewhere else without a new DLL, put a text file named links.ini next to
TEPMAX485.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
* "error E2 - no answer in 2 s": a wrong slave address, the slave's DE never
  HIGH, A and B swapped between the nodes, the cable cut (CABLE), the wrong
  baud rate - or the slave dropped a frame with a bad CRC (NOISE).
* "error E3 - the answer's CRC is wrong" or "E1 - the answer has another
  function": noise (NOISE - it flips a bit of the function byte), or two nodes
  sent at once - Wiring shows collisions.
* The last byte of every frame is broken: DE goes LOW before the last stop
  bit - Serial.flush() before DE LOW (Timing shows it).
* The sketch reads its own requests back: RE is LOW while it sends - tie RE
  to DE.
* Nothing on the bus: DE not connected, or no VCC (the PWR LED).
* No UNO / no monitor window: TEPARDUINO.DLL is missing, or click the UNO's
  USB port.
* 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/max485-rs485-module-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 MAX485 model (TEPMAX485.DLL), the symbols and artwork 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 model is
  an independent implementation written from the MAX485 datasheet and the
  Modbus RTU specification. It uses 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 files are built from the demo sketches, AltSoftSerial 1.4 (both),
  ModbusMaster 2.0.1 (RS485_Master.hex) and the Arduino AVR core 1.8.6.
  - ModbusMaster: Copyright 2009-2016 Doc Walker, Apache License 2.0;
    https://github.com/4-20ma/ModbusMaster - the licence text is at the end
    of this file (APACHE LICENSE 2.0).
  - AltSoftSerial: Copyright (c) 2014 PJRC.COM, LLC, Paul Stoffregen, MIT
    License; https://github.com/PaulStoffregen/AltSoftSerial
    MIT License: Permission is hereby granted, free of charge, to any person
    obtaining a copy of this software and associated documentation files
    (the "Software"), to deal in the Software without restriction, including
    without limitation the rights to use, copy, modify, merge, publish,
    distribute, sublicense, and/or sell copies of the Software, and to permit
    persons to whom the Software is furnished to do so, subject to the
    following conditions: The above copyright notice and this permission
    notice shall be included in all copies or substantial portions of the
    Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND.
  - The Arduino AVR core 1.8.6 includes LGPL-licensed code; its source code is
    available at https://github.com/arduino/ArduinoCore-avr/tree/1.8.6
  The demo sketches are included (Arduino Code).
* Proteus is a product of Labcenter Electronics and is not included. Arduino is
  a trademark of Arduino SA. MAX485 names the chip of compatible modules, not
  an endorsement; Modbus is a trademark of Schneider Electric. This library is
  not made or endorsed by Analog Devices / Maxim Integrated, the Modbus
  Organization, Microchip / Atmel, Arduino or Labcenter.

REBUILDING THE FIRMWARE (OPTIONAL)
The HEX files are supplied; Arduino IDE is not needed to run the demo. To
edit a sketch, install "ModbusMaster" (2.0.1 or newer) and "AltSoftSerial"
(1.4 or newer) with the Library Manager, open Arduino Code\RS485_Master\
RS485_Master.ino or Arduino Code\RS485_Slave1\RS485_Slave1.ino, select Arduino
Uno and use Sketch > Export Compiled Binary. Replace the simulation's .hex
with the exported HEX. RS485_Master needs 9,238 bytes of flash and
981 bytes of RAM, RS485_Slave1 6,996 and 653.

MODEL SCOPE AND LIMITS
Modelled: the MAX485's driver (DE, DI to A / B) and receiver (RE, A / B to
RO), the board's bias (the idle line 1) and RO pull-up, the bus between
modules (strong drivers beat the bias; two drivers fighting leave the line
undefined), the decoder (8N1, the baud rate fixed or measured), Modbus RTU
frames (3.5 characters of silence), the CRC, requests and answers, the DE
timing, gaps, collisions, a line held LOW, the echo; CABLE and NOISE.
How the parts work with the circuit: digital pins; DI, DE, RE, A and B are
read at every edge; A and B are driven strongly while DE is HIGH and weakly
(the bias) while it is LOW; RO is driven while RE is LOW and pulled HIGH
while RE is HIGH; VCC and GND are read as logic levels.
Not modelled: the analog differential voltages, the cable (length, delay,
reflections - the 120 ohm terminator is drawn, not simulated), the common-mode
range, the slew rate, more than 32 unit loads, other framings than 8N1
(7 bits, parity, 2 stop bits), ASCII Modbus.
The model's own choices: AUTO starts at 9600 baud and follows a line whose
bytes fail at that rate; NOISE flips data bit 3 of the second byte of the
next frame this node receives; one collision is counted per transmission.

VERSION
TEP MAX485 RS-485 library V1.0 (Oct 2026). Devices MAX485TEP / MAX485ADVTEP
(TEPMAX485.LIB / TEPMAX485.DLL). Demo sketches RS485_Master V1.0 and
RS485_Slave1 V1.0 (RO D8, DI D9, DE + RE D2; ModbusMaster 2.0.1,
AltSoftSerial 1.4). Demo board: ARDUINO UNO V4.0 (TEP Arduino Library V4.0)
with its built-in serial monitor.

APACHE LICENSE 2.0
(the licence of ModbusMaster, compiled into RS485_Master.hex)
                                 Apache License
                           Version 2.0, January 2004
                        http://www.apache.org/licenses/

   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

   1. Definitions.

      "License" shall mean the terms and conditions for use, reproduction,
      and distribution as defined by Sections 1 through 9 of this document.

      "Licensor" shall mean the copyright owner or entity authorized by
      the copyright owner that is granting the License.

      "Legal Entity" shall mean the union of the acting entity and all
      other entities that control, are controlled by, or are under common
      control with that entity. For the purposes of this definition,
      "control" means (i) the power, direct or indirect, to cause the
      direction or management of such entity, whether by contract or
      otherwise, or (ii) ownership of fifty percent (50%) or more of the
      outstanding shares, or (iii) beneficial ownership of such entity.

      "You" (or "Your") shall mean an individual or Legal Entity
      exercising permissions granted by this License.

      "Source" form shall mean the preferred form for making modifications,
      including but not limited to software source code, documentation
      source, and configuration files.

      "Object" form shall mean any form resulting from mechanical
      transformation or translation of a Source form, including but
      not limited to compiled object code, generated documentation,
      and conversions to other media types.

      "Work" shall mean the work of authorship, whether in Source or
      Object form, made available under the License, as indicated by a
      copyright notice that is included in or attached to the work
      (an example is provided in the Appendix below).

      "Derivative Works" shall mean any work, whether in Source or Object
      form, that is based on (or derived from) the Work and for which the
      editorial revisions, annotations, elaborations, or other modifications
      represent, as a whole, an original work of authorship. For the purposes
      of this License, Derivative Works shall not include works that remain
      separable from, or merely link (or bind by name) to the interfaces of,
      the Work and Derivative Works thereof.

      "Contribution" shall mean any work of authorship, including
      the original version of the Work and any modifications or additions
      to that Work or Derivative Works thereof, that is intentionally
      submitted to Licensor for inclusion in the Work by the copyright owner
      or by an individual or Legal Entity authorized to submit on behalf of
      the copyright owner. For the purposes of this definition, "submitted"
      means any form of electronic, verbal, or written communication sent
      to the Licensor or its representatives, including but not limited to
      communication on electronic mailing lists, source code control systems,
      and issue tracking systems that are managed by, or on behalf of, the
      Licensor for the purpose of discussing and improving the Work, but
      excluding communication that is conspicuously marked or otherwise
      designated in writing by the copyright owner as "Not a Contribu
…
Advertisement

Development1 release

  1. V1.0MAX485 RS485 Module 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. 1

    Extract the archive

    Right-click max485-rs485-module-tep-v1-0-13615404ddba4067bb97c340403d1078.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (MAX485-RS485-TEP-v1.0) as it is.

  2. 2

    Copy the library files into Proteus

    Move ArduinoV4TEP.LIB and TEPMAX485.LIB 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. 3

    Add the simulation model

    Copy TEPARDUINO.DLL and TEPMAX485.DLL into the MODELS folder next to LIBRARY, so the component can run, not only be drawn.

  4. 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. 5

    Open the sketch in the Arduino IDE

    Open RS485_Master.ino and RS485_Slave1.ino, select your board and port under Tools, then Verify. Sketch → Export Compiled Binary writes the HEX file a simulation needs.

  6. 6

    Load the HEX file

    In Proteus double-click the microcontroller, set Program File to RS485_Master.hex and RS485_Slave1.hex and run the simulation. For real hardware, flash the same file with your programmer.

  7. 7

    Open the example simulation

    Open MAX485-RS485-Modbus-ArduinoUnoV4.pdsprj in Proteus to see the wiring exactly as in the tutorial. Check the controller's Program File path, then press Play.

  8. 8

    Follow the tutorial

    MAX485 RS485 Module Library for Proteus V1.0: Modbus RTU + Arduino explains every connection and setting in order; keep it open beside the files while you build.

How to add a library in Proteus 8

FAQs9 questionsContact TEP

How do I download MAX485 RS485 Module 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?

MAX485 RS485 Module Library for Proteus V1.0 comes as a ZIP archive of 12 files (1.2 MB, 2.6 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, 5d8d006752bb52c38dd42147b1f31e5d88b0e80e556082c57e7e38ca1ba5b38e. In PowerShell run Get-FileHash "max485-rs485-module-tep-v1-0-13615404ddba4067bb97c340403d1078.zip"; on macOS or Linux run shasum -a 256 "max485-rs485-module-tep-v1-0-13615404ddba4067bb97c340403d1078.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.

preparing · max485-rs485-module-tep-v1-0-13615404ddba4067bb97c340403d1078.zip
Rating
Your download will be ready shortly
Preparing your download…

Members skip the wait. Log in or join TEP.

  • 59Total downloads
  • 4%Popularity
  • ProteusCategory
  • 0Comments
  • ssyedzainnasirUploaded by
  • 18 Oct 2026Uploaded at
Last 14 days41 downloads
SHA-256 5d8d006752bb52c38dd42147b1f31e5d88b0e80e556082c57e7e38ca1ba5b38e
DocumentationMAX485 RS485 Module Library for Proteus V1.0: Modbus RTU + Arduino
Need help with this file? Bug report Ask a question Download problemsGet updates
Advertisement

Comments

0

Join the conversation

Start the conversationAsk a question or share how you used this download.