Project Files of Solar Irradiance Sensor (Pyranometer) Library for Proteus Simulation
dd5f91ce6a284f9396c0c75b546c69cb.zip

Solar Irradiance Sensor (Pyranometer) Library for Proteus V1.0
Solar Irradiance Sensor (Pyranometer) Library for Proteus V1.0 comes as a ZIP archive of 10 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
Solar-Irradiance-Sensor-Pyranometer-Library-for-Proteus-v1.0.zip with the solar irradiance sensor for Proteus simulation (TEPPYRANO.LIB and TEPPYRANO.DLL), our Arduino UNO V4.0, the A4 demo with its sketch and a README.
File Structure
3.2 KB201.9 KB17.2 KB883.5 KB326.5 KB16.6 KB18.4 KB883.5 KB326.5 KB15 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in Solar Irradiance Sensor (Pyranometer) Library for Proteus Simulation. Open an image for its full size.












README
SOLAR IRRADIANCE SENSOR (PYRANOMETER) LIBRARY FOR PROTEUS SIMULATION - V1.0 (W/m2 as a voltage, with 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/solar-irradiance-sensor-pyranometer-library-for-proteus.html
Report a bug or suggest a feature (our forum):
https://www.theengineeringprojects.com/forum/category/motor-driver-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
Solar-Irradiance-Sensor-TEP-v1.0/
|-- Proteus Library Files/
| |-- ArduinoV4TEP.LIB 201.9 KB TEP Arduino boards V4.0 (UNO) -> LIBRARY
| |-- TEPPYRANO.LIB 17.2 KB the library -> LIBRARY folder
|-- Proteus Model Files/
| |-- TEPARDUINO.DLL 883.5 KB the Arduino board model -> MODELS folder
| |-- TEPPYRANO.DLL 326.5 KB the model -> MODELS folder
|-- Proteus Simulation/
| |-- Irradiance_Demo.hex 16.6 KB the demo firmware
| |-- Solar-Irradiance-Sensor-Pyranometer-ArduinoUnoV4.pdsprj 18.4 KB the demo project
| |-- TEPARDUINO.DLL 883.5 KB copy of the board model
| |-- TEPPYRANO.DLL 326.5 KB copy of the model
|-- Arduino Code/
| |-- Irradiance_Demo/Irradiance_Demo.ino 3.2 KB the demo sketch (source of the .hex)
|-- README.txt ~16.3 KB this file
Total: 2.63 MB (unzipped). The C++ source code of the models is not included.
WHAT IS IT?
An amplified silicon-cell pyranometer - the small solar irradiance sensor of weather stations and
solar plants - seen
from above and drawn small and compact (our own drawing, no maker's mark): a black body, the white
diffuser in its
middle, a bubble level. It turns the sunlight on its diffuser into a voltage:
* 0 to 2000 W/m2. MODEL 2.5: 0 to 2.5 V, 1.25 mV per W/m2 (W/m2 = volts x 800), on a 5 to 24 V
supply. MODEL 5: 0 to
5 V, 2.5 mV per W/m2 (W/m2 = volts x 400), on 5.5 to 24 V. Both take 300 uA. These are a maker's
figures for
sensors of this kind.
* The light (SOURCE): SUN = the sun of the day, from the solar time (HOUR, running SPEED times
faster than the
simulation), the LATITUDE and the DAY of the year; or a number = that many W/m2, for a bench
test.
* The sky (SKY): CLEAR, CLOUDS (clouds pass over the sun and the light dips) or OVERCAST.
* The cosine law: light at an angle counts with the cosine of the angle. TILT leans the sensor
towards the south, for
example into the plane of a solar panel. The sensor's own small cosine error is in: 2 % at 45
degrees, 5 % at 75.
* OUT never goes higher than 0.5 V under the supply (ours): the 0 - 5 V model needs more than 5 V.
* On the sheet the diffuser glows with the light and the plate shows the W/m2 (ours). Click it at
Run for the pop-up:
the curve of the day against a clear sky, the cosine law with the sun's angle, eight live values
with the energy of
the day in kWh/m2 (peak sun hours); 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 "PYRANOMETER" or "IRRADIANCE" in Pick Devices):
PYRANOMETERTEP "Solar Irradiance Sensor (Pyranometer) V1.0" in TEPPYRANO.LIB (Transducers >
Light), prefix PY, model
TEPPYRANO.DLL. Three pins under the plate: GND, OUT, V+.
THE POP-UP
Click the part at Run. Tabs:
Sensor chips: the sky (Clear, Clouds, Overcast), the day (21 March, 21 June, 21 December)
and the clock (x 1,
x 3600, x 7200). The day from 05:00 to 19:00: what a clear sky would give (grey) and
what the sensor
has measured (yellow); the cosine law: the sensor, its axis and the sun's ray, with
the sum; eight live
values: the W/m2 on the sensor, its parts from the sun and from the sky, the volts on
OUT, the solar
time and the sun's height, the energy of the day, the brightest moment, the sky, the
supply.
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 16 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 demo as shipped (Irradiance_Demo; PY1 MODEL 2.5, SOURCE SUN, HOUR 6, SPEED 3600, LATITUDE 30,
DAY 81, SKY CLOUDS,
TILT 0; V+ on the 5 V rail, OUT on A0), one run (irrfinal2), the model's pauses:
* 09:00 (3 s), the sun is free: 573 W/m2 on the sensor, 0.716 V on OUT; the sun 38 deg up, 52 deg
from the sensor's
axis (cos 0.61); 504 W/m2 from the sun + 82 from the sky = 587, of which the sensor shows 573
(its cosine error);
0.73 kWh/m2 so far.
* 09:51 (3.85 s), A CLOUD OVER THE SUN: 241 W/m2 (a clear sky 714), 0.301 V; 77 W/m2 from the sun
+ 166 from the
sky.
* 12:00 (6 s): 872 W/m2, 1.090 V; the sun 60 deg up, 30 deg from the axis (cos 0.87); 791 from the
sun + 91 from the
sky = 882; 2.60 kWh/m2 so far. On the sheet the diffuser glows, the plate shows 872 W/m2 and the
UNO's LED is lit
(good sun).
* 13:18 (7.3 s), a cloud again: 257 W/m2 (a clear sky 812), 0.322 V; 88 from the sun + 171 from
the sky; 3.62
kWh/m2.
* 15:00 (9 s): 573 W/m2 again, as at 09:00.
* After sunset (18:00): 5.41 kWh/m2 for the day = 5.4 peak sun hours; the most 872 W/m2 at 12:00.
Seven clouds
passed.
* The monitor (a line every 1000 ms = an hour, each about five minutes past the hour): 176 W/m2
after 07:00, 587
after 09:00, 841 after 11:00, 872 W/m2 and 1.090 V after 12:00 (GOOD SUN), 559 after 15:00, 145
after 17:00, DARK
after 18:00 with 5.41 kWh/m2 and peak 872: the sketch's sum of the day is the model's. 175 s for
the 12.5 s.
A second run under an overcast sky (irrover2: SKY OVERCAST), at 12:00: 231 W/m2 (24 from the sun +
208 from the sky),
0.289 V; 0.83 kWh/m2 so far.
A third run with the sensor tilted 30 deg to the south under a clear sky (irrtilt2: SKY CLEAR, TILT
30), at 12:00: the
sun on the sensor's axis (cos 1.00): 913 W/m2 from the sun + 85 from the sky = 998 W/m2, 1.248 V;
3.53 kWh/m2 so far.
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" (TEPPYRANO.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 TEPPYRANO.DLL and TEPARDUINO.DLL from "Proteus Model Files" to the MODELS folder
(...\Proteus 8 Professional\MODELS).
4. Delete TEPPYRANO.IDX from the LIBRARY folder if it is there (Proteus makes a new index).
5. Start Proteus. In Pick Devices (P) search "PYRANOMETER".
RUN THE DEMO
"Proteus Simulation\Solar-Irradiance-Sensor-Pyranometer-ArduinoUnoV4.pdsprj" (an A4 sheet) - keep
the .hex file and the DLLs beside the project.
A sunlight logger:
ARD1: Arduino UNO V4.0 running Irradiance_Demo.hex, its serial monitor built in (window "TEP
Arduino UNO - ARD1").
PY1: the sensor, the 0 - 2.5 V model, lying level: V+ on the 5 V rail, OUT to A0 (the label
IRR), GND on ground.
Its day: 21 March at latitude 30, from 06:00, SPEED 3600 (an hour each second), a sky with
passing clouds.
Twenty times a second the sketch averages sixteen readings of A0, turns the volts into
W/m2 (x 800), adds them
up to the energy of the day in kWh/m2 and keeps the brightest moment. The UNO's LED lights
in good sun (over
600 W/m2). The monitor prints a line each second - each hour of the demo's day.
Closed the monitor? Click the UNO's USB port.
WIRING (the same in Proteus and on a real board)
V+ to the supply (5 to 24 V for the 0 - 2.5 V model, 5.5 to 24 V for the 0 - 5 V model), GND to
ground, OUT to an analog
input. On a 3.3 V board the 0 - 2.5 V model fits the input range as it is.
REAL HARDWARE:
* Mount it level, with its bubble level, for the weather; or in the plane of the solar panels to
measure what they get.
* Keep the diffuser clean: dust and bird droppings read as clouds.
* A silicon cell sees only a part of the sun's spectrum; it is calibrated for daylight and reads
lamps wrongly.
* Have it recalibrated every two years or so: sensors of this kind drift by up to 2 % a year.
* 1000 W/m2 for one hour is 1 kWh/m2, one peak sun hour: a panel of 100 W rated power gives about
100 Wh in it.
THE DEMO SKETCH ON THE SERIAL MONITOR (Irradiance_Demo V1.0, 9600 baud)
The sketch reports every 1000 ms (an hour of the demo's day). Type a command:
reset start the day's sum again rate 500 report every 500 ms help
EXPECTED MONITOR OUTPUT
Sunlight logger - The Engineering Projects
Commands: reset | rate 1000 | help
8 W/m2 0.010 V 0.00 kWh/m2 peak 5 WEAK
176 W/m2 0.220 V 0.08 kWh/m2 peak 176 WEAK
...
872 W/m2 1.090 V 2.64 kWh/m2 peak 872 GOOD SUN
...
145 W/m2 0.181 V 5.36 kWh/m2 peak 872 WEAK
4 W/m2 0.005 V 5.41 kWh/m2 peak 872 DARK
PROPERTIES (double-click the part > Edit Properties)
The model (MODEL) 2.5 (0 - 2.5 V, 5 - 24 V) or 5 (0 - 5 V, 5.5 - 24 V) (2.5)
The light (SOURCE) SUN, or a fixed irradiance 0 - 2000 W/m2 (SUN)
Solar time at the start (HOUR) 0 - 24 hours (6)
Clock (SPEED) 1 real time, 3600 an hour each simulated second, 1 - 14400
(3600)
Latitude (LATITUDE) 0 - 66 degrees north (30)
Day of the year (DAY) 1 - 365: 81 = 21 March, 172 = 21 June, 355 = 21 December (81)
The sky (SKY) CLEAR, CLOUDS or OVERCAST (CLEAR)
Tilt (TILT) 0 - 90 degrees towards the south: 0 level (0)
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 TEPPYRANO.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
* OUT stays at 0 V: no supply on V+ (the pop-up says NO SUPPLY), or it is night in the model - look
at the solar time.
* The W/m2 are twice or half the truth: the factor in the code is for the other model (800 for 0 -
2.5 V, 400 for
0 - 5 V).
* The 0 - 5 V model never shows more than 1800 W/m2 on a 5 V supply: OUT stays 0.5 V under the
supply. Give it 5.5 V
or more.
* The reading jumps up and down: clouds pass (SKY CLOUDS). Average over a minute, as weather
stations do.
* The noon value is lower than 1000 W/m2: the sensor lies level and the sun is not overhead - the
cosine law. Tilt it
to the sun (TILT) and it reads more.
* The part is not simulated: TEPPYRANO.DLL is missing from MODELS and from the project folder.
* The part is not simulated: TEPPYRANO.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/motor-driver-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 (TEPPYRANO.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\Irradiance_Demo\Irradiance_Demo.ino, select Arduino Uno and use Sketch > Export
Compiled Binary. Replace the simulation's .hex with the exported HEX. The sketch needs 6,022 bytes
of flash and 272 bytes of RAM.
MODEL SCOPE AND LIMITS
Modelled: the two output ranges and their supply rules, the 300 uA; the sun's place from the solar
time, the latitude
and the day; the light of a clear sky from the air mass, passing clouds and an overcast sky; the
cosine law with the
tilt and the sensor's small cosine error; the energy of the day. Our own figures: the cloud pattern,
the diffuse share
of the light, the 100 ohm output, the 0.5 V headroom. Not modelled: the temperature response (about
0.04 % a degree),
the spectral error under clouds and lamps, drift, dirt on the diffuser.
VERSION
TEP Solar Irradiance Sensor library V1.0 (Nov 2026). Device PYRANOMETERTEP (TEPPYRANO.LIB /
TEPPYRANO.DLL). Demo sketch Irradiance_Demo V1.0 (no library needed). Demo board: ARDUINO UNO V4.0
(TEP Arduino Library V4.0) with its built-in serial monitor.Development1 release
-
V1.0Solar Irradiance Sensor (Pyranometer) 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 dd5f91ce6a284f9396c0c75b546c69cb.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (Solar-Irradiance-Sensor-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move ArduinoV4TEP.LIB and TEPPYRANO.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
Add the simulation model
Copy TEPARDUINO.DLL and TEPPYRANO.DLL 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 Irradiance_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 Irradiance_Demo.hex and run the simulation. For real hardware, flash the same file with your programmer.
- 7
Open the example simulation
Open Solar-Irradiance-Sensor-Pyranometer-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
Solar Irradiance Sensor (Pyranometer) 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 Solar Irradiance Sensor (Pyranometer) 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?
Solar Irradiance Sensor (Pyranometer) Library for Proteus V1.0 comes as a ZIP archive of 10 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 10 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, 477f196a33fff32012acaaf3390010d07f082a57fb72188cac7c9907f3cda67d. In PowerShell run Get-FileHash "dd5f91ce6a284f9396c0c75b546c69cb.zip"; on macOS or Linux run shasum -a 256 "dd5f91ce6a284f9396c0c75b546c69cb.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
- 17 Nov 2026Uploaded at
477f196a33fff32012acaaf3390010d07f082a57fb72188cac7c9907f3cda67d
















Comments
0