TEP DOWNLOAD CENTER

Project Files of TCRT5000 IR Sensor Library for Proteus Simulation

Libraries Code Projects Simulation
tep://download-terminal a84d506448a24814a264da78c8813b29.zip ZIP archiveV1.0Verified1 downloadsFree
TCRT5000 IR Sensor Library for Proteus Simulation: the TCRT5000 module, an I2C LCD 16x2 and an Arduino UNO V4.0 as a tachometer
Proteus library · File 1 of 1

TCRT5000 IR Sensor Library for Proteus V1.0

TCRT5000 IR Sensor Library for Proteus V1.0 comes as a ZIP archive of 13 files (1.6 MB, 3.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

TCRT5000-IR-Sensor-Library-for-Proteus-v1.0.zip with the TCRT5000 IR sensor module for Proteus simulation (TEPTCRT5000.LIB and TEPTCRT5000.DLL), our I2C LCD, our Arduino UNO V4.0, the A4 demo, its sketch and a README.

Read TCRT5000 IR Sensor Library for Proteus Simulation

File Structure

a84d506448a24814a264da78c8813b29.zip13 files · 5 folders · 3.6 MB unpacked
TCRT5000-IR-Sensor-TEP-v1.0/13 files · 3.6 MB
Arduino Code/1 file · 3.5 KB
TCRT5000_Demo/1 file · 3.5 KB
INO TCRT5000_Demo.inoArduino sketch 3.5 KB
Proteus Library Files/3 files · 398.4 KB
LIB ArduinoV4TEP.LIBProteus library 201.9 KB
LIB TEPI2CLCD16X2.LIBProteus library 181.4 KB
LIB TEPTCRT5000.LIBProteus library 15.1 KB
Proteus Model Files/3 files · 1.6 MB
DLL TEPARDUINO.DLLSimulation model 883.5 KB
DLL TEPLCD.DLLSimulation model 409 KB
DLL TEPTCRT5000.DLLSimulation model 307 KB
Proteus Simulation/5 files · 1.6 MB
DSN TCRT5000-Tachometer-ArduinoUnoV4.pdsprjProteus simulation 21.9 KB
HEX TCRT5000_Demo.hexCompiled HEX file 26.8 KB
DLL TEPARDUINO.DLLSimulation model 883.5 KB
DLL TEPLCD.DLLSimulation model 409 KB
DLL TEPTCRT5000.DLLSimulation model 307 KB
TXT README.txtText file 12.7 KB

README

README.txt 216 lines
TCRT5000 IR SENSOR LIBRARY FOR PROTEUS SIMULATION - V1.0 (a reflective IR sensor module, 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/tcrt5000-ir-sensor-library-for-proteus.html
Report a bug or suggest a feature (our forum):
  https://www.theengineeringprojects.com/forum/category/infrared-sensor-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
TCRT5000-IR-Sensor-TEP-v1.0/
|-- Proteus Library Files/
|   |-- ArduinoV4TEP.LIB                              201.9 KB   TEP Arduino boards V4.0 (UNO) -> LIBRARY
|   |-- TEPI2CLCD16X2.LIB                             181.4 KB   a part the demo uses -> LIBRARY folder
|   |-- TEPTCRT5000.LIB                                15.1 KB   the library -> LIBRARY folder
|-- Proteus Model Files/
|   |-- TEPARDUINO.DLL                                883.5 KB   the Arduino board model -> MODELS folder
|   |-- TEPLCD.DLL                                    409.0 KB   its model -> MODELS folder
|   |-- TEPTCRT5000.DLL                               307.0 KB   the model -> MODELS folder
|-- Proteus Simulation/
|   |-- TCRT5000_Demo.hex                              26.8 KB   the demo firmware
|   |-- TCRT5000-Tachometer-ArduinoUnoV4.pdsprj        21.9 KB   the demo project
|   |-- TEPARDUINO.DLL                                883.5 KB   copy of the board model
|   |-- TEPLCD.DLL                                    409.0 KB   copy of its model
|   |-- TEPTCRT5000.DLL                               307.0 KB   copy of the model
|-- Arduino Code/
|   |-- TCRT5000_Demo/TCRT5000_Demo.ino                 3.5 KB   the demo sketch (source of the .hex)
|-- README.txt                                        ~13.8 KB   this file
Total: 3.58 MB (unzipped). The C++ source code of the models is not included.

WHAT IS IT?
The common TCRT5000 reflective IR sensor module, drawn from the top at its real size (32 x 14 mm):
the TCRT5000 with its emitter and
detector lenses, the LM393 comparator, the blue threshold trimmer, the power and D0 LEDs, the M3
hole and the 4-pin header VCC GND D0 A0.
The drawing is our own; the model follows the TCRT5000 datasheet and the module's schematic:
  * The sensor: an IR LED and a phototransistor side by side. The reflected light - and so the
    phototransistor's current - peaks with the
    surface 2.5 mm away, is above 50 % of that from about 0.3 to 7 mm and above 20 % from 0.2 to 15
    mm.
  * A0 is the phototransistor's collector: 10 kohm to VCC and 100 nF to GND. Over black or nothing
    it sits near VCC; over white close by
    it falls towards 0 V. The 100 nF gives it a 1 ms time constant.
  * D0 is the LM393 comparing A0 with the trimmer: LOW (the D0 LED on) when A0 is below the
    threshold - white or a near object - and HIGH
    over black or nothing. It is an open-collector output with a 10 kohm pull-up.
  * The target: PROFILE DEMO is a dark disc with one white mark on a motor (a tachometer: 1500 and
    3000 rpm, then it stops); STEADY is a
    surface at DISTANCE with REFLECT. The LEDs light at Run.
  * Click the module for the pop-up: the disc, A0 as a scope with the threshold and D0; 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 "TCRT5000" or "reflective" in Pick Devices):
  TCRT5000TEP  "TCRT5000 IR Sensor V1.0" in TEPTCRT5000.LIB (Modules > Sensors), prefix U, model
  TEPTCRT5000.DLL (analog).
             Pins: VCC GND D0 A0 (left, the header).
  The demo also uses our I2C LCD 16x2 (TEPI2CLCD16X2 / TEPLCD).

THE POP-UP
Click the part at Run. Tabs:
    TCRT5000    The disc under the sensor with its white mark turning (or the surface); A0 over the
    last 48 ms with the threshold and D0
                below; tiles: the distance and its share of the peak signal, the reflectivity, the
                phototransistor current, A0, the
                threshold, D0, the pulses on D0 and the speed from them. Chips: Disc (demo), White
                paper, Black tape, Nothing.
    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 A4 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 5.6 simulated seconds in about 2 minutes on
    our PC with the pop-up open and the
    pictures being taken. The disc 3 mm above the sensor (96 % of the peak signal), the threshold at
    50 % = 2.50 V.
  * Stopped over black: 0.074 mA, A0 4.26 V, D0 HIGH. The run-up: 943 rpm at 1.05 s, 1339 at 1.30 s,
    then a steady 1500 rpm.
  * 1500 rpm (pop-up at 1.9 s): A0 swings 0.04 - 4.26 V across the 2.50 V threshold, one D0 pulse
    per turn, 25 pulses, 1500 rpm.
  * 3000 rpm: 1814, 2508, then 3001 - 3002 rpm; the pop-up at 3.5 s 85 pulses, 2999 rpm from the
    last two; the mark passes in 1.7 ms -
    still enough for the 1 ms time constant.
  * Running down from 4.0 s: 2877, 2167, 1473, 852, 595 rpm; the pop-up at 4.6 s 1200 rpm (1346 from
    the last two pulses).
  * Stopped at 5.0 s over black: A0 4.26 V, D0 HIGH, 0 rpm half a second after the last turn; 135
    turns in all.
  * The Check page: 5.00 V / 7.5 mA, 3.0 mm = 96 % of the peak, A0 steady at 4.26 V with D0 HIGH,
    135 falling edges.
  * The pop-up (TCRT5000, 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" (TEPTCRT5000.LIB, TEPI2CLCD16X2.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 TEPTCRT5000.DLL, TEPLCD.DLL and TEPARDUINO.DLL from "Proteus Model Files" to the MODELS
folder (...\Proteus 8 Professional\MODELS).
4. Delete TEPTCRT5000.IDX from the LIBRARY folder if it is there (Proteus makes a new index).
5. Start Proteus. In Pick Devices (P) search "TCRT5000".

RUN THE DEMO
"Proteus Simulation\TCRT5000-Tachometer-ArduinoUnoV4.pdsprj" (an A4 sheet) - keep the .hex file and
the DLLs beside the project.
  ARD1:     Arduino UNO V4.0 running TCRT5000_Demo.hex (window "TEP Arduino UNO - ARD1"): D2 = D0
  (TACH), A0 = A0 (IR), A4 / A5 = the LCD.
  U1:       the TCRT5000 module 3 mm under the DEMO disc, the threshold at 50 % of VCC.
  LCD1:     a 16x2 LCD on its I2C backpack at 0x27: the speed, the turns and the A0 swing.
  The sketch timestamps each falling edge of D0 (one turn) with micros() in an interrupt and shows
  60 s / the time of one turn.
Closed the monitor? Click the UNO's USB port.

WIRING (the same in Proteus and on a real board)
  VCC to 5 V (or 3.3 V), GND, D0 to a digital pin (an interrupt pin for counting), A0 to an analog
  pin. The sensor faces the surface,
  2 - 5 mm away for the strongest signal.
REAL HARDWARE:
 * Sunlight and lamps contain infrared - shade the sensor or set the threshold with the light on.
 * Glossy surfaces reflect at an angle; matt white paper and matt black tape give the clearest
   difference.
 * Turn the trimmer until the D0 LED changes exactly between your two surfaces.
 * A real comparator can chatter at a slow edge - debounce D0 in software, as the demo does.

THE DEMO SKETCH ON THE SERIAL MONITOR (TCRT5000_Demo V1.0, 9600 baud)
TCRT5000_Demo prints a line every 250 ms. EXPECTED MONITOR OUTPUT (shortened)
  Tachometer: TCRT5000 D0 on D2 (FALLING = the white mark), A0 on A0, one mark per turn, LCD at 0x27
  ... s  ... rpm  turns ...  A0 ....

PROPERTIES (double-click the part > Edit Properties)
  PROFILE    DEMO (the tachometer disc) or STEADY (a surface). Default DEMO.
  DISTANCE   The distance to the surface, mm. Default 3 (the peak is at 2.5 mm).
  REFLECT    The surface for STEADY: 0.9 white paper, 0.06 black, 0 nothing. Default 0.9.
  THRESHOLD  The trimmer: the comparator threshold, % of VCC. Default 50.
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 TEPTCRT5000.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
* D0 never changes: the threshold is outside the A0 swing - turn THRESHOLD (the trimmer) between the
  two A0 levels.
* D0 is LOW all the time: the surface is too close or too bright for the threshold, or the sensor
  sees white everywhere.
* Counts are missed at high speed: the mark is too short for A0's 1 ms time constant - widen the
  mark.
* Double counts: a slow edge makes the comparator chatter - debounce in software.
* The part is not simulated: TEPTCRT5000.DLL is missing from MODELS and from the project folder.
* The part is not simulated: TEPTCRT5000.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/infrared-sensor-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 (TEPTCRT5000.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\TCRT5000_Demo\TCRT5000_Demo.ino, select Arduino Uno and use Sketch > Export Compiled
Binary. Replace the simulation's .hex with the exported HEX. The sketch needs 9,764 bytes of flash
and 517 bytes of RAM.

MODEL SCOPE AND LIMITS
Modelled: the distance curve of the datasheet, the reflectivity, the phototransistor's saturation,
A0 with its 10 kohm and 100 nF,
the comparator against the trimmer, the open-collector D0 with its pull-up and LED, the supply
current.
Our figures: 1.2 mA at the peak on white, 5 uA of ambient light, no comparator hysteresis, the DEMO
disc and its speeds.
Not modelled: sunlight and lamps, glossy surfaces, the sensor's angle, temperature.

VERSION
TEP TCRT5000 IR Sensor library V1.0 (Nov 2026). Device TCRT5000TEP (TEPTCRT5000.LIB /
TEPTCRT5000.DLL). Demo sketch TCRT5000_Demo V1.0 (Wire only). Demo board: ARDUINO UNO V4.0 (TEP
Arduino Library V4.0) with its built-in serial monitor; our I2C LCD 16x2 library.
Advertisement

Development1 release

  1. V1.0TCRT5000 IR Sensor 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 a84d506448a24814a264da78c8813b29.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (TCRT5000-IR-Sensor-TEP-v1.0) as it is.

  2. 2

    Copy the library files into Proteus

    Move ArduinoV4TEP.LIB, TEPI2CLCD16X2.LIB and TEPTCRT5000.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, TEPLCD.DLL and TEPTCRT5000.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 TCRT5000_Demo.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 TCRT5000_Demo.hex and run the simulation. For real hardware, flash the same file with your programmer.

  7. 7

    Open the example simulation

    Open TCRT5000-Tachometer-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

    TCRT5000 IR Sensor Library for Proteus Simulation 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 TCRT5000 IR Sensor 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?

TCRT5000 IR Sensor Library for Proteus V1.0 comes as a ZIP archive of 13 files (1.6 MB, 3.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 13 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, 1b7160cce53215e58d6f29062544b582d19d52fe771511ee5fe3b7821e835025. In PowerShell run Get-FileHash "a84d506448a24814a264da78c8813b29.zip"; on macOS or Linux run shasum -a 256 "a84d506448a24814a264da78c8813b29.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 · a84d506448a24814a264da78c8813b29.zip
Rating
Your download will be ready shortly
Preparing your download…

Members skip the wait. Log in or join TEP.

  • 1Total downloads
  • 4%Popularity
  • ProteusCategory
  • 0Comments
  • ssyedzainnasirUploaded by
  • 3 Dec 2026Uploaded at
Last 14 days1 download
SHA-256 1b7160cce53215e58d6f29062544b582d19d52fe771511ee5fe3b7821e835025
DocumentationTCRT5000 IR Sensor Library for Proteus Simulation
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.