Project Files of TCS3200 Color Sensor Library for Proteus Simulation
df928328991b4f43a8d7d990a408824c.zip

TCS3200 Color Sensor Library for Proteus V1.0
TCS3200 Color Sensor Library for Proteus V1.0 comes as a ZIP archive of 19 files (2.3 MB, 5.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
TCS3200-Color-Sensor-Library-for-Proteus-v1.0.zip with the TCS3200 colour sensor for Proteus simulation (TEPTCS3200.LIB and TEPTCS3200.DLL), our I2C LCD, resistors and RGB LED, our Arduino UNO V4.0, the A4 demo, its sketch and a README.
File Structure
4.7 KB201.9 KB181.4 KB306.9 KB13.9 KB20.5 KB883.5 KB409 KB311 KB287 KB310 KB27.6 KB30.2 KB883.5 KB409 KB311 KB287 KB310 KB13.4 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in TCS3200 Color Sensor Library for Proteus Simulation. Open an image for its full size.
README
TCS3200 COLOR SENSOR LIBRARY FOR PROTEUS SIMULATION - V1.0 (a colour-to-frequency 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/tcs3200-color-sensor-library-for-proteus.html
Report a bug or suggest a feature (our forum):
https://www.theengineeringprojects.com/forum/category/photodiode-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
TCS3200-Color-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
| |-- TEPRESISTOR.LIB 306.9 KB a part the demo uses -> LIBRARY folder
| |-- TEPRGB.LIB 13.9 KB a part the demo uses -> LIBRARY folder
| |-- TEPTCS3200.LIB 20.5 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
| |-- TEPRESISTOR.DLL 311.0 KB its model -> MODELS folder
| |-- TEPRGB.DLL 287.0 KB its model -> MODELS folder
| |-- TEPTCS3200.DLL 310.0 KB the model -> MODELS folder
|-- Proteus Simulation/
| |-- TCS3200_Demo.hex 30.2 KB the demo firmware
| |-- TCS3200-Color-Detector-ArduinoUnoV4.pdsprj 27.6 KB the demo project
| |-- TEPARDUINO.DLL 883.5 KB copy of the board model
| |-- TEPLCD.DLL 409.0 KB copy of its model
| |-- TEPRESISTOR.DLL 311.0 KB copy of its model
| |-- TEPRGB.DLL 287.0 KB copy of its model
| |-- TEPTCS3200.DLL 310.0 KB copy of the model
|-- Arduino Code/
| |-- TCS3200_Demo/TCS3200_Demo.ino 4.7 KB the demo sketch (source of the .hex)
|-- README.txt ~14.0 KB this file
Total: 5.08 MB (unzipped). The C++ source code of the models is not included.
WHAT IS IT?
The common TCS3200 colour sensor module, drawn from the top at its real size (28.4 x 28.4 mm): the
TCS3200 in its clear package with the
8 x 8 photodiode array, the four white LEDs, the four mounting holes and two 4-pin headers, S0 S1 OE
GND and VCC OUT S2 S3. The drawing is
our own; the model follows the TCS3200 datasheet:
* 64 photodiodes: 16 each under red, green, blue and clear filters. S2 S3 choose which ones are
read: LL red, HH green, LH blue, HL clear.
* A current-to-frequency converter: OUT is a 50 % square wave whose frequency is proportional to
the light on the chosen photodiodes.
* S0 S1 scale the output: LL power down (OUT high impedance), LH 2 %, HL 20 %, HH 100 % (full
scale 600 kHz typical). OE active low.
* The four white LEDs light the object; the light it reflects in each colour sets the four
frequencies. The distance matters: 10 - 20 mm.
* The object: PROFILE DEMO is a conveyor of cards (white, black, red, green, blue, yellow, purple,
0.8 s each); STEADY is COLOR. The LEDs
light and the array takes the object's colour at Run.
* Click the module for the pop-up: the card under the sensor, the four photodiode frequencies with
the pulse widths an Arduino reads;
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 "TCS3200" or "color" in Pick Devices):
TCS3200TEP "TCS3200 Color Sensor V1.0" in TEPTCS3200.LIB (Modules > Sensors), prefix U, model
TEPTCS3200.DLL (mixed).
Pins: S0 S1 OE GND (left), VCC OUT S2 S3 (right).
The demo also uses our I2C LCD 16x2 (TEPI2CLCD16X2 / TEPLCD), resistors (TEPRESISTOR) and our RGB
LED (TEPRGB, LEDRGBCCTEP).
THE POP-UP
Click the part at Run. Tabs:
TCS3200 The card under the sensor with its reflectance in red, green and blue; the four
photodiode types as bars at the current
scaling with their frequency and LOW half-period (the chosen filter boxed); tiles:
S0 S1 and the scaling, S2 S3 and the
filter, the OUT frequency, the LOW half-period, OE, the distance, the filter
changes, the edges on OUT. Chips: Conveyor and
the red, green, blue, yellow and purple cards.
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 22 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.4 simulated seconds in about 2 minutes 20
seconds on our PC with the pop-up open
and the pictures being taken. S0 S1 = HL (20 %), OE tied low, the cards 10 mm away.
* Calibration: white about 42 / 55 / 59 us (red / green / blue LOW half-periods), black about 203
/ 269 / 287 us.
* Red card: R 49 us, G 245 us, B 232 us = 244 / 27 / 62 "RED", the RGB LED red; the pop-up at 2.2
s 10.26 / 2.04 / 2.16 kHz.
* Green card: R 162, G 74, B 165 us = 67 / 234 / 135 "GREEN". Blue card: R 185, G 156, B 70 us =
30 / 135 / 244 "BLUE".
* Yellow card: R 46, G 65, B 192 us = 249 / 245 / 107 "YELLOW"; the pop-up at 4.6 s on the blue
filter: 2.58 kHz, LOW 194 us.
* Purple card: R 67, G 217, B 85 us = 216 / 61 / 227 "PURPLE". Seven cards, seven right names.
* The Check page: 5.00 V / 60 mA, OE low at 20 %, the brightest channel 36 kHz (full scale 500 -
600 kHz), 10 mm.
* The pop-up (TCS3200, 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" (TEPTCS3200.LIB, TEPI2CLCD16X2.LIB, TEPRESISTOR.LIB,
TEPRGB.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 TEPTCS3200.DLL, TEPLCD.DLL, TEPRESISTOR.DLL, TEPRGB.DLL and TEPARDUINO.DLL from "Proteus
Model Files" to the MODELS folder (...\Proteus 8 Professional\MODELS).
4. Delete TEPTCS3200.IDX from the LIBRARY folder if it is there (Proteus makes a new index).
5. Start Proteus. In Pick Devices (P) search "TCS3200".
RUN THE DEMO
"Proteus Simulation\TCS3200-Color-Detector-ArduinoUnoV4.pdsprj" (an A4 sheet) - keep the .hex file
and the DLLs beside the project.
ARD1: Arduino UNO V4.0 running TCS3200_Demo.hex (window "TEP Arduino UNO - ARD1"): D4 - D7 =
S0 - S3, D8 = OUT, D9 - D11 = the RGB LED,
A4 / A5 = the LCD.
U1: the TCS3200 module 10 mm above the DEMO conveyor; OE tied to GND.
LCD1: a 16x2 LCD on its I2C backpack at 0x27: R, G and B as 0 - 255 and the colour's name.
D1: our RGB LED (common cathode) through R1 - R3 (220 ohm): the colour the Arduino measured.
The sketch sets 20 % scaling, reads pulseIn(OUT, LOW) for each filter, calibrates on the white and
black cards and maps every reading
between them to 255 ... 0.
Closed the monitor? Click the UNO's USB port.
WIRING (the same in Proteus and on a real board)
VCC 2.7 - 5.5 V, GND, S0 - S3 and OE to digital outputs (or OE to GND), OUT to a digital input.
The object 10 - 20 mm in front of
the chip, the module's LEDs the only light.
REAL HARDWARE:
* Room light adds to the LEDs' light - shade the sensor (a black tube or hood).
* Calibrate on white and black in the real set-up; the values change with the distance.
* The colours are not linear: the pulse width falls as 1 / light, so the mapped values bunch
towards 255.
* Glossy objects reflect the LEDs straight back - tilt them a little.
THE DEMO SKETCH ON THE SERIAL MONITOR (TCS3200_Demo V1.0, 9600 baud)
TCS3200_Demo prints the white and black references, then a line every 200 ms. EXPECTED MONITOR
OUTPUT (shortened)
Colour detector: TCS3200 S0-S3 on D4-D7, OUT on D8 (20 %), RGB LED on D9-D11, LCD at 0x27
white R ... us G ... us B ... us
... s R ...us G ...us B ...us RGB ... ... ... RED
PROPERTIES (double-click the part > Edit Properties)
PROFILE DEMO (a conveyor of cards) or STEADY (COLOR). Default DEMO.
DISTANCE The distance to the object, mm. Default 10.
COLOR For STEADY: the reflectance in red, green, blue (0 - 1). Default 0.85,0.22,0.25 (a red
card).
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 TEPTCS3200.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
* pulseIn returns 0: the output is off (S0 S1 = LL or OE high) or the light is too weak for the
timeout.
* All colours read alike: the calibration was made with another distance or lighting.
* The readings saturate (very short pulses): the object is too close or too bright - move it away or
use 2 % scaling.
* Red and green swapped: S2 S3 wired the wrong way round (LL red, HH green).
* The part is not simulated: TEPTCS3200.DLL is missing from MODELS and from the project folder.
* The part is not simulated: TEPTCS3200.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/photodiode-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 (TEPTCS3200.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\TCS3200_Demo\TCS3200_Demo.ino, select Arduino Uno and use Sketch > Export Compiled
Binary. Replace the simulation's .hex with the exported HEX. The sketch needs 10,968 bytes of flash
and 569 bytes of RAM.
MODEL SCOPE AND LIMITS
Modelled: the S0 S1 scaling and power-down, the S2 S3 photodiode choice, OE, the 50 % square wave
following the light within one period,
the four channels from the object's reflectance under the LEDs, the distance, the dark output,
saturation at full scale.
Our figures: 60 / 45 / 42 / 70 kHz (red / green / blue / clear) for white paper at 10 mm and 100 %,
300 Hz of room light, (13 / (d + 3))^2
for the distance, about 60 mA with the LEDs, the DEMO cards' reflectances.
Not modelled: the filters' exact spectral curves, glossy reflections, temperature.
VERSION
TEP TCS3200 Color Sensor library V1.0 (Nov 2026). Device TCS3200TEP (TEPTCS3200.LIB /
TEPTCS3200.DLL). Demo sketch TCS3200_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, resistor and RGB LED
libraries.Development1 release
-
V1.0TCS3200 Color 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
Extract the archive
Right-click df928328991b4f43a8d7d990a408824c.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (TCS3200-Color-Sensor-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move ArduinoV4TEP.LIB, TEPI2CLCD16X2.LIB and TEPRESISTOR.LIB and 2 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, TEPLCD.DLL and TEPRESISTOR.DLL and 2 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 TCS3200_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 TCS3200_Demo.hex and run the simulation. For real hardware, flash the same file with your programmer.
- 7
Open the example simulation
Open TCS3200-Color-Detector-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
TCS3200 Color Sensor 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 TCS3200 Color 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?
TCS3200 Color Sensor Library for Proteus V1.0 comes as a ZIP archive of 19 files (2.3 MB, 5.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 19 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, 8c469028c5978e024f6b940d19aec848fd7b7dd88aad4f3d4d82e0deea700e0f. In PowerShell run Get-FileHash "df928328991b4f43a8d7d990a408824c.zip"; on macOS or Linux run shasum -a 256 "df928328991b4f43a8d7d990a408824c.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
- 3 Dec 2026Uploaded at
8c469028c5978e024f6b940d19aec848fd7b7dd88aad4f3d4d82e0deea700e0f



























Comments
0