TEP DOWNLOAD CENTER

Project Files of INA226 Power Monitor Library for Proteus Simulation

Libraries Code Projects Simulation
tep://download-terminal 390517e4881641809f9d7b345b820756.zip ZIP archiveV1.0Verified0 downloadsFree
INA226 Power Monitor Library for Proteus Simulation: the INA226 module in a 12 V line with a lamp, a heater, MOSFETs and an Arduino UNO V4.0
Proteus library · File 1 of 1

INA226 Power Monitor Library for Proteus V1.0

INA226 Power Monitor Library for Proteus V1.0 comes as a ZIP archive of 22 files (2.6 MB, 5.5 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

INA226-Power-Monitor-Library-for-Proteus-v1.0.zip with the INA226 power monitor for Proteus simulation (TEPINA226.LIB and TEPINA226.DLL), our I2C LCD, MOSFETs, bulb and power resistor, our Arduino UNO V4.0, the A4 demo, its sketch and a README.

Read INA226 Power Monitor Library for Proteus Simulation

File Structure

390517e4881641809f9d7b345b820756.zip22 files · 5 folders · 5.5 MB unpacked
INA226-Power-Monitor-TEP-v1.0/22 files · 5.5 MB
Arduino Code/1 file · 6 KB
INA226_Demo/1 file · 6 KB
INO INA226_Demo.inoArduino sketch 6 KB
Proteus Library Files/6 files · 592.6 KB
LIB ArduinoV4TEP.LIBProteus library 201.9 KB
LIB TEPBULB.LIBProteus library 17.7 KB
LIB TEPI2CLCD16X2.LIBProteus library 181.4 KB
LIB TEPINA226.LIBProteus library 16.5 KB
LIB TEPNMOS.LIBProteus library 17.9 KB
LIB TEPPOWERRES.LIBProteus library 157.2 KB
Proteus Model Files/6 files · 2.4 MB
DLL TEPARDUINO.DLLSimulation model 883.5 KB
DLL TEPBULB.DLLSimulation model 291 KB
DLL TEPINA226.DLLSimulation model 310.5 KB
DLL TEPLCD.DLLSimulation model 409 KB
DLL TEPNMOS.DLLSimulation model 295 KB
DLL TEPPOWERRES.DLLSimulation model 304.5 KB
Proteus Simulation/8 files · 2.5 MB
DSN INA226-Electronic-Fuse-12V-ArduinoUnoV4.pdsprjProteus simulation 26.9 KB
HEX INA226_Demo.hexCompiled HEX file 35.5 KB
DLL TEPARDUINO.DLLSimulation model 883.5 KB
DLL TEPBULB.DLLSimulation model 291 KB
DLL TEPINA226.DLLSimulation model 310.5 KB
DLL TEPLCD.DLLSimulation model 409 KB
DLL TEPNMOS.DLLSimulation model 295 KB
DLL TEPPOWERRES.DLLSimulation model 304.5 KB
TXT README.txtText file 14.4 KB

README

README.txt 245 lines
INA226 POWER MONITOR LIBRARY FOR PROTEUS SIMULATION - V1.0 (voltage, current and power on I2C, an alert pin, 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/ina226-power-monitor-library-for-proteus.html
Report a bug or suggest a feature (our forum):
  https://www.theengineeringprojects.com/forum/category/ina219-current-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
INA226-Power-Monitor-TEP-v1.0/
|-- Proteus Library Files/
|   |-- ArduinoV4TEP.LIB                              201.9 KB   TEP Arduino boards V4.0 (UNO) -> LIBRARY
|   |-- TEPBULB.LIB                                    17.7 KB   a part the demo uses -> LIBRARY folder
|   |-- TEPI2CLCD16X2.LIB                             181.4 KB   a part the demo uses -> LIBRARY folder
|   |-- TEPINA226.LIB                                  16.5 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
|-- Proteus Model Files/
|   |-- TEPARDUINO.DLL                                883.5 KB   the Arduino board model -> MODELS folder
|   |-- TEPBULB.DLL                                   291.0 KB   its model -> MODELS folder
|   |-- TEPINA226.DLL                                 310.5 KB   the model -> MODELS folder
|   |-- TEPLCD.DLL                                    409.0 KB   its model -> MODELS folder
|   |-- TEPNMOS.DLL                                   295.0 KB   its model -> MODELS folder
|   |-- TEPPOWERRES.DLL                               304.5 KB   its model -> MODELS folder
|-- Proteus Simulation/
|   |-- INA226_Demo.hex                                35.5 KB   the demo firmware
|   |-- INA226-Electronic-Fuse-12V-ArduinoUnoV4.pdsprj   26.9 KB   the demo project
|   |-- TEPARDUINO.DLL                                883.5 KB   copy of the board model
|   |-- TEPBULB.DLL                                   291.0 KB   copy of its model
|   |-- TEPINA226.DLL                                 310.5 KB   copy of the model
|   |-- TEPLCD.DLL                                    409.0 KB   copy of its model
|   |-- TEPNMOS.DLL                                   295.0 KB   copy of its model
|   |-- TEPPOWERRES.DLL                               304.5 KB   copy of its model
|-- Arduino Code/
|   |-- INA226_Demo/INA226_Demo.ino                     6.0 KB   the demo sketch (source of the .hex)
|-- README.txt                                        ~14.7 KB   this file
Total: 5.53 MB (unzipped). The C++ source code of the models is not included.

WHAT IS IT?
The common INA226 power monitor module, drawn from the top at its real size (about 23 x 16 mm): the
R100 (0.1 ohm) shunt with its
thick copper to IN+ and IN-, the INA226, the A0 / A1 address pads, the PWR and ALERT LEDs and the
header VBS GND SCL SDA ALE VCC. The drawing
is our own; the model follows the INA226 datasheet:
  * The shunt is in the circuit between IN+ and IN- (RSHUNT, 0.1 ohm). The INA226 measures the shunt
    voltage (2.5 uV per bit, +-81.92 mV:
    +-0.82 A with R100) and the bus voltage on VBS (1.25 mV per bit, 0 - 36 V).
  * I2C at 0x40 - 0x4F (ADDRESS), 16-bit registers MSB first: 00h configuration (power-on 4127h:
    averaging, conversion times 140 us -
    8.244 ms, continuous or triggered modes, RST), 01h shunt, 02h bus, 03h power, 04h current, 05h
    calibration, 06h mask / enable,
    07h alert limit, FEh 5449h, FFh 2260h.
  * Current = shunt x CAL / 2048 and power = current x bus / 20000 - both read 0 until the
    calibration is written
    (CAL = 0.00512 / (Current_LSB x R)).
  * Each result is the average of the real signal over the averaging window, so PWM loads read as
    their average.
  * ALE: one alert function at a time (shunt over / under, bus over / under, power over, conversion
    ready), active low or high, latched
    (read 06h to clear) or transparent; the ALERT LED on the board follows it.
  * Click the board for the pop-up: the registers with their meaning, the last writes and alerts,
    the live voltage, current and power;
    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 "INA226" or "power monitor" in Pick Devices):
  INA226TEP  "INA226 Power Monitor V1.0" in TEPINA226.LIB (Modules > Sensors), prefix U, model
  TEPINA226.DLL (mixed).
             Pins: VBS GND SCL SDA ALE VCC (left), IN+ IN- (right).
  The demo also uses our I2C LCD 16x2 (TEPI2CLCD16X2 / TEPLCD), IRLZ44N MOSFETs (TEPNMOS), a 12 V 5
  W bulb (TEPBULB) and a 10 W resistor
  (TEPPOWERRES).

THE POP-UP
Click the part at Run. Tabs:
    Monitor     The registers 00h - 07h, FEh, FFh with their values and meaning (the current and
    power in amps and watts from the
                calibration and RSHUNT); the last writes and alerts; tiles: the address and VCC, the
                bus voltage, the current, the power,
                the shunt voltage and the range, the result rate and count, the alerts and ALE, the
                writes and reads.
    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 4.8 simulated seconds in about 2 minutes 9
    seconds on our PC with the pop-up open
    and the pictures being taken. ID registers 5449h / 2260h, configuration 4527h (average 16, shunt
    + bus continuous), calibration 512.
  * The lamp at 100 % (1.2 s): bus 255Fh = 11.958 V, current 103Eh = 0.4158 A, power 07C4h = 4.97 W;
    the LCD "11.96V 0.416A" / "4.97W".
  * Dimmed to 50 % PWM (1.5 - 2.3 s): the current register 0990h = 0.2448 A, the power 2.93 W; the
    monitor 0.2441 - 0.2493 A.
  * The heater on at 3.0 s: the first result 0.648 A, above the 0.6 A limit - ALERT SOL at 3.092 s,
    ALE low, both MOSFETs off by the
    interrupt; "3.03 s FUSE TRIPPED at 0.648 A (limit 0.6 A) - loads off"; the latch cleared by the
    read at 3.093 s; 12.000 V and 0 A after.
  * The restart (lamp only, fuse armed): 0.4162 A and 4.975 W at 4.4 s; the energy 3.355 mWh during
    the trip, 4.359 mWh at 4.6 s.
  * The Check page: 218 results, 64 reads, 9 writes; no averaged result beyond +-81.92 mV (the
    largest instant 549 mV, the inrush).
  * The pop-up (INA226, 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" (TEPINA226.LIB, TEPI2CLCD16X2.LIB, TEPNMOS.LIB,
TEPBULB.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 TEPINA226.DLL, TEPLCD.DLL, TEPNMOS.DLL, TEPBULB.DLL, TEPPOWERRES.DLL and TEPARDUINO.DLL from
"Proteus Model Files" to the MODELS folder (...\Proteus 8 Professional\MODELS).
4. Delete TEPINA226.IDX from the LIBRARY folder if it is there (Proteus makes a new index).
5. Start Proteus. In Pick Devices (P) search "INA226".

RUN THE DEMO
"Proteus Simulation\INA226-Electronic-Fuse-12V-ArduinoUnoV4.pdsprj" (an A4 sheet) - keep the .hex
file and the DLLs beside the project.
  ARD1:     Arduino UNO V4.0 running INA226_Demo.hex (window "TEP Arduino UNO - ARD1"): A4 / A5 =
  SDA / SCL, D2 = the alert, D8 = the heater,
            D9 = the lamp (PWM).
  U1:       the INA226 module in the +12 V line: +12V to IN+, IN- to the loads, VBS on the load
  side.
  L1, Q1:   a 12 V 5 W bulb, switched and dimmed by an IRLZ44N on D9.
  R1, Q2:   a 39 ohm 10 W resistor - the "heater" - switched by an IRLZ44N on D8.
  LCD1:     a 16x2 LCD on its I2C backpack at 0x27: volts, amps, watts and the energy in mWh.
  The sketch sets averaging 16 (a result every 35.2 ms) and 0.1 mA per bit, soft-starts the lamp,
  arms the INA226's own alert at 0.6 A
  (shunt over limit, latched), dims the lamp, then switches the heater on - the total passes 0.6 A,
  ALE falls, the interrupt cuts both
  loads, and a second later the lamp restarts alone.
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 and GND; SCL / SDA to the I2C bus; IN+ to the supply side and IN- to the load side
  of the line you measure (0 - 36 V);
  VBS to the point whose voltage you want (usually IN-); ALE to an interrupt pin with a pull-up. The
  module's GND must be the load's ground.
REAL HARDWARE:
 * R100 limits the module to about 0.82 A: for more current fit a smaller shunt and change the
   calibration (and RSHUNT here).
 * Write the calibration after every power-up - it is 0 at power-on.
 * Averaging and longer conversion times give quieter readings but fewer of them; a fuse needs a
   short window.
 * Never apply more than 36 V to IN+, IN- or VBS.

THE DEMO SKETCH ON THE SERIAL MONITOR (INA226_Demo V1.0, 9600 baud)
INA226_Demo prints a reading every 200 ms. EXPECTED MONITOR OUTPUT (shortened)
  Electronic fuse: INA226 at 0x40 (R100), lamp on D9, heater on D8, alert on D2
  INA226 IDs 0x5449 / 0x2260
    -> lamp on (soft start), fuse armed at 0.6 A
  ...
    -> heater on: 0.31 A more
  ... FUSE TRIPPED at ... A (limit 0.6 A) - loads off

PROPERTIES (double-click the part > Edit Properties)
  ADDRESS  The I2C address set by the A1 / A0 pads: 0x40 - 0x4F. Default 0x40.
  RSHUNT   The shunt resistor, ohms. Default 0.1 (R100).
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 TEPINA226.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
* Current and power read 0: the calibration register was not written (or was lost at a power-up /
  reset).
* The current reads too high or low by a fixed factor: the Current_LSB in the sketch does not match
  the calibration.
* The shunt reading stops at 81.92 mV: the current is beyond the shunt's range - use a smaller
  shunt.
* ALE never falls: no alert function in 06h, the limit in 07h is in the wrong units, or no pull-up
  on ALE.
* The part is not simulated: TEPINA226.DLL is missing from MODELS and from the project folder.
* The part is not simulated: TEPINA226.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/ina219-current-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 (TEPINA226.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\INA226_Demo\INA226_Demo.ino, select Arduino Uno and use Sketch > Export Compiled
Binary. Replace the simulation's .hex with the exported HEX. The sketch needs 12,906 bytes of flash
and 511 bytes of RAM.

MODEL SCOPE AND LIMITS
Modelled: the shunt in the circuit, the registers and their bits, averaging and conversion times,
continuous and triggered modes,
current and power from the calibration with overflow, the five alert functions and conversion ready,
latch / transparent, the polarity,
the address, the IDs.
Our figures: each result is the exact average over its window (the real ADC samples); VBS input 830
kohm.
Not modelled: the ADC's noise and offset, the 2.94 MHz I2C high-speed mode, the alert pin's exact
timing inside a conversion.

VERSION
TEP INA226 Power Monitor library V1.0 (Nov 2026). Device INA226TEP (TEPINA226.LIB / TEPINA226.DLL).
Demo sketch INA226_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, N-MOSFET, filament bulb and power resistor
libraries.
Advertisement

Development1 release

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

  2. 2

    Copy the library files into Proteus

    Move ArduinoV4TEP.LIB, TEPBULB.LIB and TEPI2CLCD16X2.LIB and 3 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. 3

    Add the simulation model

    Copy TEPARDUINO.DLL, TEPBULB.DLL and TEPINA226.DLL and 3 more 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 INA226_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 INA226_Demo.hex and run the simulation. For real hardware, flash the same file with your programmer.

  7. 7

    Open the example simulation

    Open INA226-Electronic-Fuse-12V-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

    INA226 Power Monitor 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 INA226 Power Monitor 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?

INA226 Power Monitor Library for Proteus V1.0 comes as a ZIP archive of 22 files (2.6 MB, 5.5 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 22 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, a646933adcb19185760ae18e615f45c720915841ad3400b632e415b8a8e20adc. In PowerShell run Get-FileHash "390517e4881641809f9d7b345b820756.zip"; on macOS or Linux run shasum -a 256 "390517e4881641809f9d7b345b820756.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 · 390517e4881641809f9d7b345b820756.zip
Rating
Your download will be ready shortly
Preparing your download…

Members skip the wait. Log in or join TEP.

  • 0Total downloads
  • 4%Popularity
  • ProteusCategory
  • 0Comments
  • ssyedzainnasirUploaded by
  • 2 Dec 2026Uploaded at
Last 14 days0 downloads
SHA-256 a646933adcb19185760ae18e615f45c720915841ad3400b632e415b8a8e20adc
DocumentationINA226 Power Monitor 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.