Project Files of RYLR998 LoRa Module Library for Proteus Simulation
5b906ffada204f04a0621e062acc3820.zip

RYLR998 LoRa Module Library for Proteus V1.0
RYLR998 LoRa Module Library for Proteus V1.0 comes as a ZIP archive of 18 files (1.8 MB, 4.2 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
RYLR998-LoRa-Module-Library-for-Proteus-v1.0.zip with the RYLR998 LoRa module for Proteus simulation (TEPRYLR998.LIB and TEPRYLR998.DLL), our Arduino UNO V4.0, the A3 node and gateway demo with its two sketches and a README.
File Structure
3 KB3.3 KB201.9 KB21.8 KB306.9 KB12.9 KB883.5 KB289.5 KB311 KB328.5 KB23.1 KB20.1 KB28 KB883.5 KB289.5 KB311 KB328.5 KB13.6 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in RYLR998 LoRa Module Library for Proteus Simulation. Open an image for its full size.
README
RYLR998 LORA MODULE LIBRARY FOR PROTEUS SIMULATION - V1.0 (a LoRa transceiver with AT commands, 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/11/rylr998-lora-module-library-for-proteus.html
Report a bug or suggest a feature (our forum):
https://www.theengineeringprojects.com/forum/category/heltec-wifi-lora-32-v3-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
RYLR998-LoRa-TEP-v1.0/
|-- Proteus Library Files/
| |-- ArduinoV4TEP.LIB 201.9 KB TEP Arduino boards V4.0 (UNO) -> LIBRARY
| |-- TEPLED5MM.LIB 21.8 KB a part the demo uses -> LIBRARY folder
| |-- TEPRESISTOR.LIB 306.9 KB a part the demo uses -> LIBRARY folder
| |-- TEPRYLR998.LIB 12.9 KB the library -> LIBRARY folder
|-- Proteus Model Files/
| |-- TEPARDUINO.DLL 883.5 KB the Arduino board model -> MODELS folder
| |-- TEPLED5MM.DLL 289.5 KB its model -> MODELS folder
| |-- TEPRESISTOR.DLL 311.0 KB its model -> MODELS folder
| |-- TEPRYLR998.DLL 328.5 KB the model -> MODELS folder
|-- Proteus Simulation/
| |-- RYLR998_Gateway.hex 20.1 KB the demo firmware
| |-- RYLR998_Node.hex 28.0 KB the demo firmware
| |-- RYLR998-Node-Gateway-ArduinoUnoV4.pdsprj 23.1 KB the demo project
| |-- TEPARDUINO.DLL 883.5 KB copy of the board model
| |-- TEPLED5MM.DLL 289.5 KB copy of its model
| |-- TEPRESISTOR.DLL 311.0 KB copy of its model
| |-- TEPRYLR998.DLL 328.5 KB copy of the model
|-- Arduino Code/
| |-- RYLR998_Gateway/RYLR998_Gateway.ino 3.0 KB the demo sketch (source of the .hex)
| |-- RYLR998_Node/RYLR998_Node.ino 3.3 KB the demo sketch (source of the .hex)
|-- README.txt ~14.2 KB this file
Total: 4.16 MB (unzipped). The C++ source code of the models is not included.
WHAT IS IT?
A RYLR998 LoRa transceiver module drawn from the front at its real size: the 18 x 15 mm module with
its shield can, the antenna
connector and a short whip, the 6-pin edge VDD, NRST, RXD, TXD, NC, GND, and a TX and an RX LED (TEP
additions). The module is our own
drawing; it behaves the way the maker's AT command guide describes it:
* A UART at 115200 8N1 from the factory; AT+IPR stores another rate (the BAUD property is that
stored rate).
* Every command ends with CR LF and gets a line back: AT, AT+RESET (+RESET, +READY), AT+MODE,
AT+IPR, AT+BAND, AT+PARAMETER
(SF, BW, CR, preamble - the factory 9,7,1,12), AT+ADDRESS, AT+NETWORKID, AT+CPIN, AT+CRFOP,
AT+SEND=<address>,<length>,<data>,
AT+UID?, AT+VER?, AT+FACTORY and the queries; a received packet:
+RCV=<address>,<length>,<data>,<RSSI>,<SNR>; errors +ERR=1, 2, 4, 5,
13, 17.
* The time on air from the spreading factor, bandwidth, coding rate, preamble and length; a module
transmitting cannot take the next
AT+SEND (+ERR=17).
* The radio is the DLL's shared air: the RYLR998s on the same sheet hear each other with the same
band, parameters, network ID and
password; address 0 reaches everyone. RSSI from the DISTANCE properties, SNR from the noise
floor; too weak and overlapping packets
are lost. Click the part for the pop-up: the UART log, the address, band, parameters, time on
air, the last RSSI / SNR, the
packets and the losses; 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 "RYLR998" or "LoRa" in Pick Devices):
RYLR998TEP "RYLR998 LoRa Module V1.0" in TEPRYLR998.LIB (Modules > LoRa), prefix U, model
TEPRYLR998.DLL (mixed). Pins on the left:
VDD, NRST, RXD, TXD, NC, GND.
THE POP-UP
Click the part at Run. Tabs:
LoRa Radio The UART (commands and answers); tiles: the address and network, the band and power,
the parameters, the time on air, the
last packet in (RSSI, SNR), the packets, the losses, the UART and distance, the last
send, the last error.
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 16.4 simulated seconds in about 3 minutes on
our PC with the pop-ups open and the
pictures being taken.
* The start: both modules +READY at 102 ms; the node set address 1, network 18, 915 MHz and SF9 /
125 kHz / 4/5 / 12 (AT+PARAMETER?
-> +PARAMETER=9,7,1,12); the gateway address 2 with the same settings - every command +OK.
* The node sent "T=..,H=.." (13 bytes) to address 2 at 4.1, 8.1, 12.1 and 16.1 s - 181 ms on the
air each.
* The gateway (1.2 km away) received each one: +RCV=1,13,...,-80,12 / -79,12 - RSSI -79 to -80
dBm, SNR 12 dB; its LED blinked and it
answered ACK,1 / ACK,2 / ACK,3 (5 bytes, 140 ms on the air).
* The node received the answers about 0.45 s after each send: "From 2: ACK,1 (RSSI -79 dBm, SNR
12 dB)".
* At 16.4 s: the node 4 sent, 3 received (the fourth answer on its way); the gateway 4 received, 3
sent; nothing too weak, no collision,
no +ERR.
* The pop-ups (LoRa Radio, Graphs, Event log, Check) followed the run.
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" (TEPRYLR998.LIB, TEPLED5MM.LIB, TEPRESISTOR.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 TEPRYLR998.DLL, TEPLED5MM.DLL, TEPRESISTOR.DLL and TEPARDUINO.DLL from "Proteus Model Files"
to the MODELS folder (...\Proteus 8 Professional\MODELS).
4. Delete TEPRYLR998.IDX from the LIBRARY folder if it is there (Proteus makes a new index).
5. Start Proteus. In Pick Devices (P) search "RYLR998".
RUN THE DEMO
"Proteus Simulation\RYLR998-Node-Gateway-ArduinoUnoV4.pdsprj" (an A3 sheet) - keep the .hex file and
the DLLs beside the project.
A LoRa sensor node and a gateway 1.2 km apart:
ARD1: Arduino UNO V4.0 running RYLR998_Node.hex (window "TEP Arduino UNO - ARD1"); U1 the
RYLR998 (BAUD 9600, DISTANCE 0): TXD to D8,
RXD to D9. It sets address 1 and sends a temperature and humidity line to address 2 every
4 seconds.
ARD2: Arduino UNO V4.0 running RYLR998_Gateway.hex (window "TEP Arduino UNO - ARD2"); U2 the
RYLR998 (BAUD 9600, DISTANCE 1200), the
LED D1 (220 ohm) on D5. It prints each reading with its RSSI and SNR, blinks the LED and
answers ACK,<n>.
Each module: VDD and NRST on +3.3V, GND.
Closed the monitor? Click the UNO's USB port.
WIRING (the same in Proteus and on a real board)
VDD to 3.3 V, GND, TXD to the board's RX (D8 for AltSoftSerial), RXD to its TX (D9) - from a 5 V
board through a level shifter or a
divider - NRST to 3.3 V (low resets the module). The factory rate is 115200: set 9600 once with
AT+IPR=9600 for a software serial port.
REAL HARDWARE:
* The module is a 3.3 V part: power it from 3.3 V and shift the UART levels from a 5 V board.
* AltSoftSerial cannot run at 115200 on an UNO: store 9600 once with AT+IPR=9600 (the module keeps
it).
* Respect the duty-cycle rules of your band (1 % in much of Europe at 868 MHz): long time on air
limits how often you may send.
* Use the same AT+BAND, AT+PARAMETER, AT+NETWORKID and AT+CPIN on every node of a network.
THE DEMO SKETCH ON THE SERIAL MONITOR (RYLR998_Node V1.0, 9600 baud)
The second board runs RYLR998_Gateway (Arduino Code\RYLR998_Gateway\RYLR998_Gateway.ino, its HEX
beside the project; 7,322 bytes of
flash, 598 of RAM): it prints each reading with its RSSI and SNR.
RYLR998_Node prints each command and answer and the gateway's answers. EXPECTED MONITOR OUTPUT
RYLR998 LoRa sensor node - The Engineering Projects
Module: +READY
AT+ADDRESS=1 -> +OK
AT+SEND=2,13,T=23.9,H=59.2 -> +OK
From 2: ACK,1 (RSSI -79 dBm, SNR 12 dB)
PROPERTIES (double-click the part > Edit Properties)
BAUD The UART rate stored in the module (AT+IPR): 115200 from the factory; 9600 in the demo.
DISTANCE Its distance from the origin in metres; the link distance between two modules is the
difference.
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 TEPRYLR998.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
* No answer: the baud rate differs (the factory 115200), TXD / RXD crossed wrong, NRST low, or no
3.3 V.
* +ERR=1: the command does not end with CR LF - use println. +ERR=5: the length in AT+SEND does not
match the data.
* +ERR=17: the last packet is still on the air - wait (SF9 at 125 kHz: about 0.2 s for a short
message).
* Nothing arrives: a different band, parameters, network ID or password - or the distance is too
great for the SF (see the
sensitivity in the Event log).
* The part is not simulated: TEPRYLR998.DLL is missing from MODELS and from the project folder.
* The part is not simulated: TEPRYLR998.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/heltec-wifi-lora-32-v3-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 (TEPRYLR998.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\RYLR998_Node\RYLR998_Node.ino, select Arduino Uno and use Sketch > Export Compiled
Binary. Replace the simulation's .hex with the exported HEX. The sketch needs 10,182 bytes of flash
and 612 bytes of RAM.
MODEL SCOPE AND LIMITS
Modelled: the UART, the AT commands and answers above, the time on air, the address / network /
password filters, RSSI and SNR from
distance, the sensitivity, collisions. Our choices: the shared air (only RYLR998s on the same
sheet), the module's own header (3 bytes),
the path loss (free space to 100 m, then an exponent of 2.7), SNR at most +12 dB, the LEDs. Not
modelled: other LoRa devices and
LoRaWAN, real duty-cycle limits, the smart receiving power mode.
VERSION
TEP RYLR998 LoRa library V1.0 (Nov 2026). Device RYLR998TEP (TEPRYLR998.LIB / TEPRYLR998.DLL). Demo
sketches RYLR998_Node and RYLR998_Gateway V1.0 (AltSoftSerial - no LoRa library). Demo boards: two
ARDUINO UNO V4.0 (TEP Arduino Library V4.0) with their built-in serial monitors.Development1 release
-
V1.0RYLR998 LoRa 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
Extract the archive
Right-click 5b906ffada204f04a0621e062acc3820.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (RYLR998-LoRa-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move ArduinoV4TEP.LIB, TEPLED5MM.LIB and TEPRESISTOR.LIB and 1 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, TEPLED5MM.DLL and TEPRESISTOR.DLL and 1 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 RYLR998_Gateway.ino and RYLR998_Node.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 RYLR998_Gateway.hex and RYLR998_Node.hex and run the simulation. For real hardware, flash the same file with your programmer.
- 7
Open the example simulation
Open RYLR998-Node-Gateway-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
RYLR998 LoRa Module 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 RYLR998 LoRa 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?
RYLR998 LoRa Module Library for Proteus V1.0 comes as a ZIP archive of 18 files (1.8 MB, 4.2 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 18 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, 0824107413cf50e94a29c947563439cc466e7b39566209b26ecb97d610e2e35c. In PowerShell run Get-FileHash "5b906ffada204f04a0621e062acc3820.zip"; on macOS or Linux run shasum -a 256 "5b906ffada204f04a0621e062acc3820.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
- 29 Nov 2026Uploaded at
0824107413cf50e94a29c947563439cc466e7b39566209b26ecb97d610e2e35c



























Comments
0