Project Files of HLK-PM01 AC-DC Module Library for Proteus Simulation
44e509b521154fc59b64c97b2e895d29.zip

HLK-PM01 AC-DC Module Library for Proteus V1.0
HLK-PM01 AC-DC Module Library for Proteus V1.0 comes as a ZIP archive of 19 files (2.1 MB, 4.8 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
HLK-PM01-AC-DC-Module-Library-for-Proteus-v1.0.zip with the HLK-PM01 AC-DC module for Proteus simulation (TEPHLKPM01.LIB and TEPHLKPM01.DLL), our IRLZ44N MOSFET, resistors and power resistors, our Arduino UNO V4.0, the A4 demo, its sketch and a README.
File Structure
1.6 KB201.9 KB11.8 KB17.9 KB157.2 KB306.9 KB883.5 KB306 KB295 KB304.5 KB311 KB26.6 KB14.2 KB883.5 KB306 KB295 KB304.5 KB311 KB12.5 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in HLK-PM01 AC-DC Module Library for Proteus Simulation. Open an image for its full size.
README
HLK-PM01 AC-DC MODULE LIBRARY FOR PROTEUS SIMULATION - V1.0 (230 V AC to 5 V DC, 3 W, 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/hlk-pm01-ac-dc-module-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
HLK-PM01-AC-DC-Module-TEP-v1.0/
|-- Proteus Library Files/
| |-- ArduinoV4TEP.LIB 201.9 KB TEP Arduino boards V4.0 (UNO) -> LIBRARY
| |-- TEPHLKPM01.LIB 11.8 KB the library -> LIBRARY folder
| |-- TEPNMOS.LIB 17.9 KB a part the demo uses -> LIBRARY folder
| |-- TEPPOWERRES.LIB 157.2 KB a part the demo uses -> LIBRARY folder
| |-- TEPRESISTOR.LIB 306.9 KB a part the demo uses -> LIBRARY folder
|-- Proteus Model Files/
| |-- TEPARDUINO.DLL 883.5 KB the Arduino board model -> MODELS folder
| |-- TEPHLKPM01.DLL 306.0 KB the model -> MODELS folder
| |-- TEPNMOS.DLL 295.0 KB its model -> MODELS folder
| |-- TEPPOWERRES.DLL 304.5 KB its model -> MODELS folder
| |-- TEPRESISTOR.DLL 311.0 KB its model -> MODELS folder
|-- Proteus Simulation/
| |-- HLKPM01_Demo.hex 14.2 KB the demo firmware
| |-- HLK-PM01-230V-to-5V-ArduinoUnoV4.pdsprj 26.6 KB the demo project
| |-- TEPARDUINO.DLL 883.5 KB copy of the board model
| |-- TEPHLKPM01.DLL 306.0 KB copy of the model
| |-- TEPNMOS.DLL 295.0 KB copy of its model
| |-- TEPPOWERRES.DLL 304.5 KB copy of its model
| |-- TEPRESISTOR.DLL 311.0 KB copy of its model
|-- Arduino Code/
| |-- HLKPM01_Demo/HLKPM01_Demo.ino 1.6 KB the demo sketch (source of the .hex)
|-- README.txt ~13.1 KB this file
Total: 4.84 MB (unzipped). The C++ source code of the models is not included.
WHAT IS IT?
The HLK-PM01 class of potted AC-DC power module, drawn from the top at its real size: the 34 x 20 mm
white case with its print, the two
AC pins on the left, -Vo and +Vo on the right. The drawing is our own (no maker's logo); the model
follows the class's data:
* 100 - 240 V AC, 50 / 60 Hz (90 - 264 V), or 120 - 370 V DC, on the two AC pins; an isolated 5 V,
600 mA (3 W) output on +Vo / -Vo.
* The input: a fuse resistor, a bridge and a 4.7 uF bulk capacitor - the input current comes in
short peaks near the top of each half
cycle, so the power factor is 0.3 - 0.5; the converter runs from the capacitor (on above 90 V,
off under 60 V: the hold-up time).
* The output: 5.00 V behind 0.08 ohm, a hiccup over 0.9 A; the losses and the efficiency (about 70
% at full load), the case's warming.
* Click the part for the pop-up: the mains voltage, the input current and the bulk capacitor over
40 ms, the RMS values, the real
power and the power factor, the output, the efficiency, the hold-up time; 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 "HLK-PM01", "AC-DC" or "power module" in Pick Devices):
HLKPM01TEP "HLK-PM01 AC-DC Module V1.0" in TEPHLKPM01.LIB (Modules > Power), prefix U, model
TEPHLKPM01.DLL (analog).
Pins: AC1 AC2 (left, the mains), +VO -VO (right, isolated 5 V).
The demo also uses Proteus's own ALTERNATOR (230 V 50 Hz), our IRLZ44N MOSFET (IRLZ44NTEP,
TEPNMOS), our resistors (TEPRESISTOR) and
our 5 W power resistors (TEPPOWERRES).
THE POP-UP
Click the part at Run. Tabs:
Power The mains voltage, the input current and the bulk capacitor over the last 40 ms;
tiles: the mains (RMS volts, frequency,
amps), the power in and the power factor, the output, the efficiency, the bulk
capacitor and its ripple, the hold-up time,
the load in % of 3 W, the case temperature.
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.0 simulated seconds in about 2 minutes on
our PC with the pop-up open and the
pictures being taken (the 50 Hz input runs at 100 us steps).
* The mains: ALTERNATOR 325 V peak, 50 Hz - 229.7 V RMS measured; the bulk capacitor passed 98 V
in the first millisecond: the converter on.
* No load: 5.000 V out; 0.08 W from the mains, 0.001 A RMS, power factor 0.29; the bulk at 324 V;
hold-up 2.9 s.
* 0.227 A (one 22 ohm load): 4.982 V, 1.13 W out; 1.57 W in, 72 %; 0.018 A RMS in peaks, power
factor 0.39; hold-up about 145 ms.
* 0.451 A (both loads): 4.964 V, 2.24 W out; 3.15 W in, 71 %; 0.031 A RMS, power factor 0.44; the
bulk 314 - 324 V (18 V of ripple);
hold-up 71 - 74 ms.
* The Arduino read 5.00 / 4.99 / 4.97 V on the rail; no limit reached (0.451 A the most of 600
mA); the case at 25.1 C.
* The pop-up (Power, 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" (TEPHLKPM01.LIB, TEPNMOS.LIB, TEPRESISTOR.LIB,
TEPPOWERRES.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 TEPHLKPM01.DLL, TEPNMOS.DLL, TEPRESISTOR.DLL, TEPPOWERRES.DLL and TEPARDUINO.DLL from
"Proteus Model Files" to the MODELS folder (...\Proteus 8 Professional\MODELS).
4. Delete TEPHLKPM01.IDX from the LIBRARY folder if it is there (Proteus makes a new index).
5. Start Proteus. In Pick Devices (P) search "HLK-PM01".
RUN THE DEMO
"Proteus Simulation\HLK-PM01-230V-to-5V-ArduinoUnoV4.pdsprj" (an A4 sheet) - keep the .hex file and
the DLLs beside the project.
V1: ALTERNATOR 325 V peak (230 V RMS), 50 Hz: + to L, - to the ground (the earthed neutral).
U1: the HLK-PM01: AC1 on L, AC2 to the neutral; +VO on 5V, -VO to the ground.
ARD1: Arduino UNO V4.0 running HLKPM01_Demo.hex (window "TEP Arduino UNO - ARD1"): A0 reads the
5 V rail through R1 / R2 (10 k / 10 k);
D7 / D8 switch the loads.
R5, R6: our 22 ohm 5 W power resistors on the 5 V rail, switched by Q1 / Q2 (our IRLZ44N).
The sketch runs no load, one load (0.23 A) and both (0.45 A) and prints the rail.
Closed the monitor? Click the UNO's USB port.
WIRING (the same in Proteus and on a real board)
AC1 / AC2 to the mains through a fuse (0.5 A slow), +Vo / -Vo to the 5 V circuit. Keep the mains
side and the 5 V side apart on the board
(6 mm or more), and never touch the AC pins while it is plugged in.
REAL HARDWARE:
* The AC pins carry mains voltage: a real board needs creepage (6 mm), a fuse and an enclosure.
* The output is isolated - but only as long as the wiring keeps the mains away from it.
* 3 W is the limit: a relay, a microcontroller and a few LEDs; not a motor.
* The input current flows in peaks (a power factor of 0.3 - 0.5): many modules on one circuit add
up.
THE DEMO SKETCH ON THE SERIAL MONITOR (HLKPM01_Demo V1.0, 9600 baud)
HLKPM01_Demo prints the rail at each load. EXPECTED MONITOR OUTPUT
HLK-PM01: 230 V AC in, 5 V out
PROPERTIES (double-click the part > Edit Properties)
(none - the module has no settings)
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 TEPHLKPM01.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 output: the mains missing or under about 70 V AC (the bulk capacitor under 90 V), or the output
over 0.9 A (HICCUP).
* The 5 V rail sags: the load is over 600 mA - the module is a 3 W part.
* The simulation runs slowly: the 50 Hz input needs small time steps (100 us) - that is normal.
* The part is not simulated: TEPHLKPM01.DLL is missing from MODELS and from the project folder.
* The part is not simulated: TEPHLKPM01.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 (TEPHLKPM01.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\HLKPM01_Demo\HLKPM01_Demo.ino, select Arduino Uno and use Sketch > Export Compiled
Binary. Replace the simulation's .hex with the exported HEX. The sketch needs 5,170 bytes of flash
and 213 bytes of RAM.
MODEL SCOPE AND LIMITS
Modelled: the bridge and the bulk capacitor (the peaky input current, the power factor, the ripple,
the hold-up time), the regulated and
current-limited output (hiccup), the losses and the efficiency, the case temperature, the mains' RMS
values and frequency, DC input.
Our figures: 15 ohm in front of the bridge, 4.7 uF, 0.08 ohm out, the loss fit (70 % at 3 W), 25 K/W
for the case.
Not modelled: the flyback's switching and its EMI, the output ripple's shape, the isolation's
breakdown.
VERSION
TEP HLK-PM01 AC-DC Module library V1.0 (Nov 2026). Device HLKPM01TEP (TEPHLKPM01.LIB /
TEPHLKPM01.DLL). Demo sketch HLKPM01_Demo V1.0 (no library). Demo board: ARDUINO UNO V4.0 (TEP
Arduino Library V4.0) with its built-in serial monitor; our IRLZ44N MOSFET, resistors and power
resistors V1.0.Development1 release
-
V1.0HLK-PM01 AC-DC 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 44e509b521154fc59b64c97b2e895d29.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (HLK-PM01-AC-DC-Module-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move ArduinoV4TEP.LIB, TEPHLKPM01.LIB and TEPNMOS.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, TEPHLKPM01.DLL and TEPNMOS.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 HLKPM01_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 HLKPM01_Demo.hex and run the simulation. For real hardware, flash the same file with your programmer.
- 7
Open the example simulation
Open HLK-PM01-230V-to-5V-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
HLK-PM01 AC-DC 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 HLK-PM01 AC-DC 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?
HLK-PM01 AC-DC Module Library for Proteus V1.0 comes as a ZIP archive of 19 files (2.1 MB, 4.8 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, fcade61b1802feaa4c6dcea17073849b31d36a2b9aacf7181008d3684765206c. In PowerShell run Get-FileHash "44e509b521154fc59b64c97b2e895d29.zip"; on macOS or Linux run shasum -a 256 "44e509b521154fc59b64c97b2e895d29.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
- 30 Nov 2026Uploaded at
fcade61b1802feaa4c6dcea17073849b31d36a2b9aacf7181008d3684765206c



























Comments
0