TEP DOWNLOAD CENTER

Project Files of MPU9250 Library for Proteus V1.0: GY-9250 9-Axis IMU for Arduino

Libraries Code Projects Simulation
tep://download-terminal gy-9250-mpu9250-tep-v1-0-6c7c0d1baa034a6ab5a7035ce0652eb2.zip ZIP archiveV1.0Verified8 downloadsFree
MPU9250 Library for Proteus V1.0: the GY-9250 module with its STATUS panel and the Advance pop-up
Proteus library · File 1 of 1

MPU9250 Library for Proteus V1.0: GY-9250 9-Axis IMU for Arduino

MPU9250 Library for Proteus V1.0: GY-9250 9-Axis IMU for Arduino comes as a ZIP archive of 10 files (1.3 MB, 2.9 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

Looking for the files of MPU9250 Library for Proteus V1.0: GY-9250 9-Axis IMU for Arduino? MPU9250 Library for Proteus V1.0: GY-9250 9-Axis IMU for Arduino is the ZIP package (1.3 MB) you need. It holds the Proteus library files (LIB and IDX), the simulation model (DLL), a ready Proteus simulation, an Arduino sketch and the compiled HEX firmware. Below are the file structure, the README and the installation steps, so you can go from download to a working Proteus simulation in a few minutes.

What this library is

MPU9250-Library-for-Proteus-v1.0.zip with the GY-9250 module with the MPU-9250 9-axis IMU and its AK8963 magnetometer, Simple and Advance (TEPMPU9250.LIB and TEPMPU9250.DLL), our Arduino UNO V4.0 library with its built-in serial monitor (ArduinoV4TEP.LIB and TEPARDUINO.DLL), the two-UNO simulation with its HEX file, the demo sketch and a README.

This is version 1.0; older or newer releases, when they exist, are listed in the Development tab.

What is inside the ZIP file

  • ArduinoV4TEP.LIB – Proteus library, 201.9 KB
  • TEPMPU9250.LIB – Proteus library, 81.1 KB
  • TEPARDUINO.DLL – Simulation model, 883.5 KB
  • TEPMPU9250.DLL – Simulation model, 373.5 KB
  • GY-9250-MPU9250-ArduinoUnoV4.pdsprj – Proteus simulation, 24.9 KB
  • GY9250_IMU_Demo.ino – Arduino sketch, 6.3 KB
  • and 4 more, all listed in the File Structure tab

The archive unpacks to 2.9 MB and carries its own README (README.txt), shown in the README tab above.

How to download

Use the download panel at the top of this page: after the counter (30 seconds for guests, 10 for members) the black button unlocks and the ZIP file comes straight from our content network. If the browser opens it instead of saving, use Save as; extract the whole archive before using anything inside it.

How to install

  • Step 1: Extract the ZIP file with Windows (Extract All), 7-Zip or WinRAR, keeping its folders.
  • Step 2: Close Proteus and copy ArduinoV4TEP.LIB and TEPMPU9250.LIB into its LIBRARY folder (Proteus 8: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY).
  • Step 3: Copy TEPARDUINO.DLL and TEPMPU9250.DLL into the MODELS folder next to it, so the part simulates.
  • Step 4: Start Proteus, press P and search for "ArduinoV4TEP"; place and wire it as in the tutorial.
  • Step 5: Open GY9250_IMU_Demo.ino in the Arduino IDE, pick board and port and Verify (Export Compiled Binary gives the HEX).
  • Step 6: In Proteus set the controller's Program File to GY9250_IMU_Demo.hex; on hardware, flash the same file.
  • Step 7: Open GY-9250-MPU9250-ArduinoUnoV4.pdsprj in Proteus and press Play.

Read the detailed guide

This page is for the files. The tutorial above explains the circuit and the code step by step and shows the working results and the simulation; read it before you build. Questions about the download or the installation go in the comments below; more Proteus downloads are listed further down this page.

Read MPU9250 Library for Proteus V1.0: GY-9250 9-Axis IMU for Arduino

File Structure

gy-9250-mpu9250-tep-v1-0-6c7c0d1baa034a6ab5a7035ce0652eb2.zip10 files · 5 folders · 2.9 MB unpacked
GY-9250-MPU9250-TEP-v1.0/10 files · 2.9 MB
Arduino Code/1 file · 6.3 KB
GY9250_IMU_Demo/1 file · 6.3 KB
INO GY9250_IMU_Demo.inoArduino sketch 6.3 KB
Proteus Library Files/2 files · 283.1 KB
LIB ArduinoV4TEP.LIBProteus library 201.9 KB
LIB TEPMPU9250.LIBProteus library 81.1 KB
Proteus Model Files/2 files · 1.2 MB
DLL TEPARDUINO.DLLSimulation model 883.5 KB
DLL TEPMPU9250.DLLSimulation model 373.5 KB
Proteus Simulation/4 files · 1.3 MB
DSN GY-9250-MPU9250-ArduinoUnoV4.pdsprjProteus simulation 24.9 KB
HEX GY9250_IMU_Demo.hexCompiled HEX file 80.4 KB
DLL TEPARDUINO.DLLSimulation model 883.5 KB
DLL TEPMPU9250.DLLSimulation model 373.5 KB
TXT README.txtText file 25.5 KB

README

README.txt 404 lines
MPU9250 LIBRARY FOR PROTEUS - V1.0 (the GY-9250 module with the MPU-9250 9-axis motion sensor)
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/10/mpu9250-library-for-proteus-v1-0.html
Report a bug or suggest a feature (our forum):
  https://www.theengineeringprojects.com/forum/category/mpu9250-imu-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
The built-in monitor is our TEP Serial Monitor Advance - its own article:
  https://www.theengineeringprojects.com/2026/10/serial-monitor-advance-proteus-library.html
Support us (the libraries are free):
  https://www.theengineeringprojects.com/donate

FILE STRUCTURE
GY-9250-MPU9250-TEP-v1.0/
|-- Proteus Library Files/
|   |-- ArduinoV4TEP.LIB                              201.9 KB   TEP Arduino boards V4.0 (UNO), to LIBRARY
|   |-- TEPMPU9250.LIB                                 81.1 KB   the GY-9250 (MPU-9250), to LIBRARY
|-- Proteus Model Files/
|   |-- TEPARDUINO.DLL                                883.5 KB   the Arduino board model, to MODELS
|   |-- TEPMPU9250.DLL                                373.5 KB   the MPU-9250 + AK8963 model, to MODELS
|-- Proteus Simulation/
|   |-- GY9250_IMU_Demo.hex                            80.4 KB   both UNOs (demo sketch V1.0)
|   |-- GY-9250-MPU9250-ArduinoUnoV4.pdsprj            24.9 KB   demo: 2 UNOs, 2 GY-9250
|   |-- TEPARDUINO.DLL                                883.5 KB   copy of the board model
|   |-- TEPMPU9250.DLL                                373.5 KB   copy of the model
|-- Arduino Code/
|   |-- GY9250_IMU_Demo/GY9250_IMU_Demo.ino             6.3 KB   the demo sketch (source of the .hex)
|-- README.txt                                        ~26.5 KB   this file
Total: 2.87 MB (unzipped). The C++ source code of the model is not included.

WHAT IS IT?
A simulation model of the popular GY-9250 module with the MPU-9250 from
InvenSense (TDK): a 3-axis accelerometer, a 3-axis gyroscope and the AK8963
3-axis magnetometer from AKM in one package - nine axes - with the board's
attitude, the Earth's field and the things that pull an IMU off.
Our own model, not a part that shows a number:
  * The MPU at 0x68 (AD0 low) or 0x69 (AD0 high) as its register map
    describes it: WHO_AM_I 0x71; PWR_MGMT_1 (reset, sleep, cycle, the clock)
    and PWR_MGMT_2 (axes off); SMPLRT_DIV and CONFIG (the sample rate and the
    DLPF), GYRO_CONFIG (+-250 to +-2000 dps, self-test), ACCEL_CONFIG (+-2 to
    +-16 g, self-test), ACCEL_CONFIG2, LP_ACCEL_ODR (cycle mode); the data
    high byte first from ACCEL_XOUT_H (0x3B) to GYRO_ZOUT_L (0x48), one burst
    = one sample; the temperature; INT_PIN_CFG (active high / low, push-pull /
    open drain, latched / 50 us pulse, BYPASS_EN), INT_ENABLE / INT_STATUS
    (data ready, FIFO overflow, wake on motion); the 512-byte FIFO; the offset
    registers (gyro and accelerometer, the factory trim at power-on); the
    self-test registers and responses; the internal I2C master (I2C_SLV0..4,
    EXT_SENS_DATA) towards the AK8963.
  * The AK8963 at 0x0C, behind the MPU: it answers on the main bus only while
    BYPASS_EN = 1. WIA 0x48, ST1 (DRDY, DOR), the data low byte first (HXL
    0x03 to HZH 0x08), ST2 (the end of a read), CNTL1 (power-down, single,
    continuous 8 or 100 Hz, self-test, fuse ROM; 14 bits 0.6 uT or 16 bits
    0.15 uT a count), CNTL2 (soft reset), the fuse ROM ASAX / ASAY / ASAZ (the
    sensitivity adjustment); its data is protected from the first data byte
    until ST2 is read.
  * The world: the board's yaw (from magnetic north, clockwise), pitch (nose
    up) and roll (right side down) - the panel's steps turn it smoothly, so
    the gyro sees each turn; ROTATE 360 (a full turn in 8 s, 45 deg/s),
    FIGURE 8 (20 s of turning and tilting - what a magnetometer calibration
    needs), a MAGNET on the board (hard iron: X +26, Y -15, Z +20 uT on the
    AK8963's axes, turning with it); the Earth's field (FIELD 50 uT,
    INCLINATION 60 degrees down) and the temperature (TEMP); each chip's own
    small offsets and noise (property NOISE).
  * The classic MPU-9250 traps, caught and explained: an MPU-6500 (WHO_AM_I
    0x70, no magnetometer) sold as an MPU-9250 (property CHIP), 0x0C called
    while the AK8963 is still behind the MPU (BYPASS_EN = 0), the other MPU
    address (AD0), magnetometer data skipped because the sketch reads slower
    than 100 Hz (DOR - the hideakitai library then drops the reading).
  * The other classic mistakes, each with a clear note: data read in sleep,
    a write to a read-only register, the AK8963's data read without ST2, a
    mode change without power-down, ASA read outside fuse ROM mode, NCS low.
The module is drawn at about three times its real size: the purple GY-9250
with the MPU-9250 (marked "MP92"), its 662K regulator, the pull-ups and the
capacitors, the X / Y / Z marks; the header VCC GND SCL SDA EDA ECL AD0 INT
NCS FSYNC on the left. ON the board, as TEP additions: the SIMPLE / ADVANCE
badge, the PWR, I2C (a transaction) and INT (the INT pin) LEDs and the panel
button. The LEDs, the badge, the button and the panels are TEP additions;
the real module has none of them.

TWO DEVICES IN ONE LIBRARY (search "MPU9250" in Pick Devices):
  Simple    MPU9250TEP      "GY-9250 MPU9250 IMU V1.0 - Simple"
  Advance   MPU9250ADVTEP   (the same, "- Advance")
            (pins VCC GND SCL SDA EDA ECL AD0 INT NCS FSYNC on the left;
            category Sensors > IMU)
  Simple    On-Sheet Panel: the STATUS panel under the module - the banner
            (READ ACC ... g GYRO ... dps MAG ... uT - THE BOARD: YAW, PITCH,
            ROLL / a trap or the latest warning in red / ROTATING or FIGURE 8
            in amber), YAW, PITCH and ROLL (- / + in 15 degree steps), eight
            attitudes (N, E, S, W, FLAT, NOSE UP, ON SIDE, FLIPPED), three
            actions (ROTATE 360, FIGURE 8, MAGNET), ten readouts and the last 4
            events. The red X closes the panel, PANEL: ON / OFF on the board
            opens it.
  Advance   Pop-Up Panel: only the module on the schematic; at Run a TEP
            pop-up window opens - the look of the TEP Serial Monitor. Tabs
            Sensor, Event log and Tests; gear and ? icons for Settings and
            Help; the palette icon switches the theme:
              Sensor     the eight attitudes on the toolbar; THE BOARD (yaw,
                         pitch and roll -15 / -5 / +5 / +15, the Earth's
                         field, ROTATE 360, FIGURE 8, MAGNET); WHAT THE SKETCH
                         READ (an attitude ball and a compass rose - green:
                         the board, amber: from the reading - the three
                         sensors and the pitch, roll and heading from the
                         reading); THE REGISTERS and the chip check; THE LAST
                         I2C TRANSACTION and the ones before it
              Event log  power, the reads and writes, the board, notes,
                         warnings; filters All / I2C / The board / Warnings,
                         Pause, Clear
              Tests      I2C, Readings, Attitude & calibration, Registers
                         (THE TEST TOOLS)
              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
            The OPEN PANEL button on the board opens the window again.
Both devices use one model, TEPMPU9250.DLL.

TEST STATUS
V1.0: verified in Proteus 8.5 on 17 Oct 2026 (the demo project as shipped:
two Arduino UNO V4.0 boards with their built-in monitors; node 1 with the
Simple module facing north, node 2 with the Advance module facing east).
What the runs showed:
  * Each UNO finds its chip - "found the MPU-9250 at 0x68 and its AK8963 -
    the hideakitai library" - and prints the library's angles twice a
    second: "#1  roll -0.3  pitch 1.0  yaw 2.5  25.0 C" on node 1; on node 2
    the Madgwick filter turns from "yaw 25.2" to "yaw 89.4" in 4 s.
  * U2's pop-up and monitor: PITCH +15 twice - "pitch 30.3"; ROLL -15 twice -
    "roll -29.7"; FLAT and RAW - "RAW: acc 0.02 -0.01 1.03 g, gyro 1.3 -0.8
    0.5 dps" and "RAW: mag 262 0 449 mG"; ROTATE 360 - the yaw about 22
    degrees on every line, RAW "gyro 1.4 -0.9 -44.4 dps"; MAGNET - the yaw
    from 89.9 to 105.2 with the board still at east; CALMAG with FIGURE 8 -
    "CALMAG: bias 278 -161 205 mG, scale 1.00 0.99 1.01" and the yaw back to
    about 88 to 90; CALIB - "CALIB: acc 17.4 -12.8 24.8 mg, gyro 1.37 -0.91
    0.64 dps", then "RAW: acc -0.00 -0.00 1.00 g, gyro -0.1 -0.1 -0.2 dps";
    WHO - "WHO: WHO_AM_I 0x71 = MPU-9250" and "WHO: AK8963 WIA 0x48"; the
    Event log and the four tools.
  * Node 1 with the real mouse (3 wheel steps on U1): E - "yaw 90.5"; PITCH +
    twice - "pitch 30.4"; ROTATE 360 with the nose up - RAW "gyro -21.2 -1.0
    -38.4 dps" (the turn shared by X and Z); FLAT, N; U1's red X and PANEL.
  * A second run with U2's CHIP = MPU6500: "I2C ERROR CODE : 2", "setup()
    failed:", "WHO: WHO_AM_I 0x70 = MPU-6500: no magnetometer inside", and
    U2's red banners.
  * 98.9 s of simulation took 314 s - about 0.3 x real time with the pop-up
    and both monitors open (each UNO calls update() about 150 times a second).
  Plus automatic checks on a PC, 0 failed: 89 on the model with the real
  hideakitai MPU9250 library 0.4.8 compiled for the PC (setup(), update()
  and its Madgwick filter at N, E, pitch and roll, the gyro in a step and in
  ROTATE 360, calibrateAccelGyro() through the FIFO and the offset
  registers, calibrateMag() during FIGURE 8 with a magnet, selftest(); an
  MPU-6500 board, 0x0C with BYPASS_EN = 0, the other address, DOR, the data
  without ST2, ASA outside fuse ROM mode, a mode change without power-down,
  the internal I2C master, the FIFO overflow, wake on motion, sleep, the INT
  pin) and 7 on the pop-up; the demo project read back from disk (69
  checks: devices, pins, wires, labels; no wire through a part, no wire
  crossing).

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" (TEPMPU9250.LIB with the two
   parts, 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
   (on some PCs: C:\ProgramData\Labcenter Electronics\Proteus 8 Professional\
   LIBRARY - use the folder that already holds Proteus's own .LIB files).
3. Copy TEPMPU9250.DLL and TEPARDUINO.DLL from "Proteus Model Files" to the
   MODELS folder (...\Proteus 8 Professional\MODELS).
   ArduinoV4TEP.LIB and TEPARDUINO.DLL are the files of our Arduino Library
   V4.0 - if you have it, they are the same.
4. Delete TEPMPU9250.IDX from the LIBRARY folder if it is there (Proteus
   makes a new index).
5. Start Proteus. In Pick Devices (P) search "MPU9250" (or "GY-9250").

RUN THE DEMO
"Proteus Simulation\GY-9250-MPU9250-ArduinoUnoV4.pdsprj" - keep the .hex file
and the two DLLs beside the project.
  ARD1: Arduino UNO V4.0 + U1 = a GY-9250 (Simple), facing north, flat.
  ARD2: Arduino UNO V4.0 + U2 = a GY-9250 (Advance), facing east, flat.
  Both UNOs run GY9250_IMU_Demo.hex (the hideakitai MPU9250 library) and
  each has its serial monitor built in ("TEP Arduino UNO - ARD1" / "- ARD2").
  1. Press Run. Both UNOs' monitor windows open (9600 baud) and so does the
     pop-up of U2 (move it aside - it opens over the schematic).
  2. Each UNO prints that it found the MPU-9250 and its AK8963, then twice a
     second the roll, the pitch and the yaw from the library's Madgwick
     filter, and the chip's temperature.
  3. Turn the board on U1's STATUS panel or in U2's pop-up (YAW / PITCH /
     ROLL - / +, the attitudes): the angles follow within a second. ROTATE
     360 turns it (RAW then shows the gyro's Z at about -45 deg/s); MAGNET
     pulls the yaw off.
  4. Type CALMAG and press FIGURE 8 within 4 seconds: after about 25 s the
     library knows the magnetometer's offsets and the yaw is right again,
     magnet or not. CALIB measures the accelerometer and gyro offsets (keep
     the board still).
  5. RAW shows the nine values; WHO reads WHO_AM_I and the AK8963's WIA;
     DECL sets the magnetic declination.
  6. U1: close its panel with the red X, open it with PANEL on the board.
     U2 (Advance): Sensor, Event log, and Tests - I2C, Readings, Attitude &
     calibration, Registers.
Closed a monitor window? Click the UNO's USB port.

WIRING (the same in Proteus and on a real board)
  Module   Arduino UNO
  VCC      5V (the GY-9250's regulator gives the chip 3.3 V)
  GND      GND
  SCL      A5 (= the SCL pin)
  SDA      A4 (= the SDA pin)
  AD0      open or GND: 0x68 (VCC: 0x69)
  INT      open (or an input: data ready, push-pull, active high)
  NCS      open (I2C; low = SPI, not modelled)
  EDA, ECL, FSYNC   open (the AK8963 is on the chip's own bus)
In the sketch (the hideakitai MPU9250 library):
  MPU9250 mpu;
  Wire.begin();
  mpu.setup(0x68);                       // WHO_AM_I, the settings, BYPASS_EN,
                                         // the AK8963's fuse ROM, 100 Hz
  mpu.setMagneticDeclination(0);         // the library starts at -7.51 (Japan)
  if (mpu.update()) { mpu.getRoll(); mpu.getPitch(); mpu.getYaw(); }
Call update() as often as the loop runs: the AK8963 measures at 100 Hz, and
a reading that finds a skipped sample (DOR) is dropped by the library.
The serial monitor needs no wires: it is built into the Arduino UNO V4.0.
SDA and SCL reach their UNO through net labels - SDA_1 / SCL_1 (node 1),
SDA_2 / SCL_2 (node 2): the same name = connected. VCC and GND are Proteus
power terminals; the UNO's internal pull-ups hold the I2C bus.
REAL HARDWARE:
 * Check the chip before you buy a library: "MP92" is an MPU-9250, "MP65" an
   MPU-6500 (no magnetometer) - or read WHO_AM_I (0x75): 0x71 or 0x70. The
   demo's WHO command does it for you.
 * Keep the module away from magnets, motors, speakers and steel screws, and
   calibrate the magnetometer where it is mounted (CALMAG, a figure eight).
 * Calibrate the accelerometer and the gyro with the board still and flat.
 * Look up your magnetic declination and set it (DECL) for true north.

THE TEST TOOLS (Advance, Tests tab) - what they really measure
Every tool reads the model during the running simulation; each shows one
"Good for:" line and, where it judges, a verdict per row (green = fine, amber
= check, red = wrong).
  I2C           Good for: "Could not connect", a magnetometer that reads 0,
                data that never changes, the wrong chip or address. This
                board and its chip, where the AK8963 is (the bypass), calls
                to 0x0C while it is hidden, the other MPU address, WHO_AM_I
                and WIA reads, the mode and the rate, the data reads, DOR and
                ST2; the library's setup() and update() step by step.
  Readings      Good for: what the sketch writes and reads, in which order,
                and to which chip. The last 24 transactions of both
                addresses with their bytes and meaning.
  Attitude & calibration
                Good for: angles that drift or sit a few degrees off, a yaw
                that is off by tens of degrees, a gyro that never reads 0.
                The pitch and the roll from the accelerometer, the 1 g check,
                the gyro at rest (its bias), the tilt-compensated heading,
                the magnet, the hard-iron offsets since the last turn and the
                heading corrected with them, the ASA values; the attitude
                step by step.
  Registers     Good for: a setting that did not take, the ranges and the
                rate, the status bits, the offsets. The ranges, the rate, the
                FIFO, the offsets, the MPU's main registers and the AK8963's
                19 with their meaning.

THE DEMO SKETCH ON THE SERIAL MONITOR (GY9250_IMU_Demo V1.0)
  RUN        the readings go on (twice a second)
  STOP       no more readings
  RAW        the nine values: acceleration (g), rotation (deg/s), the field
             (mG = milligauss)
  CALIB      the accelerometer and gyro offsets (calibrateAccelGyro(); keep
             the board still and flat)
  CALMAG     the magnetometer's offsets and scale (calibrateMag(); press
             FIGURE 8 within 4 s, it takes about 20 s more)
  DECL 1.5   the magnetic declination in degrees (east +, west -)
  WHO        WHO_AM_I and the AK8963's WIA
  HELP       the command list
Commands are not case-sensitive; type them in the UNO's built-in monitor and
press Enter.

EXPECTED MONITOR OUTPUT (node 1, facing north, flat)
  TEP GY-9250 IMU - demo (MPU-9250 + AK8963)
  SDA on A4, SCL on A5
  found the MPU-9250 at 0x68 and its AK8963 - the hideakitai library
  Commands: RUN | STOP | RAW | CALIB | CALMAG | DECL 1.5 | WHO | HELP
  #1  roll -0.3  pitch 1.0  yaw 2.5  25.0 C
  #2  roll -0.3  pitch 1.0  yaw 3.2  25.0 C
  #3  roll -0.8  pitch 0.7  yaw 2.1  25.0 C
(The last digit moves a little: the noise - property NOISE. The pitch and the
roll sit about a degree off until CALIB: each chip has a small offset. The
yaw is the library's aircraft angle: east is +90, west -90.)

PROPERTIES (double-click the part > Edit Properties)
  CHIP         MPU9250 (default), MPU9255 or MPU6500 - an MPU-6500 has no
               magnetometer (WHO_AM_I 0x70): the trap of boards sold as
               MPU-9250
  YAW          the board's yaw at the start, in degrees from magnetic north,
               clockwise (default 0)
  PITCH        the pitch at the start, nose up positive (default 0)
  ROLL         the roll at the start, the right side down positive (default 0)
  FIELD        the Earth's field in uT (default 50)
  INCLINATION  how far the field points down, in degrees (default 60)
  TEMP         the temperature in degrees C (default 25)
  NOISE        the chips' noise: 1 = the datasheet's (default), 0 = none
  PANEL        Simple only: the STATUS panel at the start, OPEN or CLOSED
Every run starts again from the properties, and the chips from power-on. The
demo's UNOs (ARDUINO UNO V4.0): PROGRAM GY9250_IMU_Demo.hex, MONITOR YES
(the built-in monitor), BAUD 9600, AUTOOPEN YES, BOOTLOADER YES.

LINKS.INI (OPTIONAL)
The Help page cards of the Advance device open web pages. To point them
somewhere else without a new DLL, put a text file named links.ini next to
TEPMPU9250.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
* "Could not connect to MPU9250": no power on VCC / GND, SDA / SCL swapped or
  missing, AD0 high (the MPU is at 0x69), NCS low (SPI mode) - the PWR LED is
  off or the I2C LED never flashes.
* "Could not connect to AK8963" and WHO_AM_I 0x70: an MPU-6500 - no
  magnetometer inside (U2 shows it in red; property CHIP in the model).
* The magnetometer reads 0 or never changes: the sketch calls update() too
  slowly (DOR - read it faster than 100 Hz), or the AK8963 is behind the MPU
  (BYPASS_EN = 0), or its data was read without ST2.
* The yaw is off by tens of degrees: a magnet or steel near the board -
  calibrate (CALMAG while it turns every way); the library's declination
  starts at -7.51 degrees: set yours.
* The angles drift slowly: the gyro's bias - CALIB with the board still.
* The parts are not simulated: TEPMPU9250.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.
* Advance: the pop-up does not appear - click OPEN PANEL on the board, or turn
  "Open the panel at Run" on its Settings page back on.

BUG REPORTS AND FEATURE REQUESTS
Please post them in our forum with a screenshot, the Serial Monitor text, the
simulation log and (Advance) the Copy diagnostics text:
  https://www.theengineeringprojects.com/forum/category/mpu9250-imu-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 MPU-9250 model (TEPMPU9250.DLL), the symbols and artwork 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 model is
  an independent implementation written from the MPU-9250 and AK8963
  datasheets and register maps. The model uses 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 demo sketch uses the MPU9250 library 0.4.8 by hideakitai (MIT licence);
  it is not shipped here - install "MPU9250" by hideakitai from the Library
  Manager of the Arduino IDE. Its source code:
    https://github.com/hideakitai/MPU9250/tree/0.4.8
  The .hex file contains compiled code of it, so its licence:
    MIT License

    Copyright (c) 2018 Hideaki Tai

    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    furnished to do so, subject to the following conditions:

    The above copyright notice and this permission notice shall be included in all
    copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    SOFTWARE.
* The .hex file is built from the demo sketch, this library and the Arduino
  AVR core 1.8.6 (with its Wire and SPI libraries), which includes
  LGPL-licensed code; its source code is available at
  https://github.com/arduino/ArduinoCore-avr/tree/1.8.6
  The demo sketch's source is in "Arduino Code", so the .hex can be rebuilt
  with other versions of these libraries (REBUILDING THE FIRMWARE).
* Proteus is a product of Labcenter Electronics and is not included. Arduino is
  a trademark of Arduino SA. The MPU-9250 is a product of InvenSense (TDK), the
  AK8963 of Asahi Kasei Microdevices (AKM). This library is
  not made or endorsed by InvenSense, TDK, AKM, hideakitai, the makers of the
  GY-9250 module or Labcenter.

REBUILDING THE FIRMWARE (OPTIONAL)
The HEX file is supplied; Arduino IDE is not needed to run the demo. To edit the
sketch, install "MPU9250" by hideakitai from the Library Manager, open
Arduino Code\GY9250_IMU_Demo\GY9250_IMU_Demo.ino in the Arduino IDE, select
Arduino Uno and use Sketch > Export Compiled Binary. Replace the simulation's
.hex with the exported HEX. The sketch needs 29,252 bytes of flash and 1,241
bytes of RAM.

MODEL SCOPE AND LIMITS
Modelled: the MPU's I2C slave at 0x
…
Advertisement

Development1 release

  1. V1.0MPU9250 Library for Proteus V1.0: GY-9250 9-Axis IMU for Arduinothis 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 gy-9250-mpu9250-tep-v1-0-6c7c0d1baa034a6ab5a7035ce0652eb2.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (GY-9250-MPU9250-TEP-v1.0) as it is.

  2. 2

    Copy the library files into Proteus

    Move ArduinoV4TEP.LIB and TEPMPU9250.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 and TEPMPU9250.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 GY9250_IMU_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 GY9250_IMU_Demo.hex and run the simulation. For real hardware, flash the same file with your programmer.

  7. 7

    Open the example simulation

    Open GY-9250-MPU9250-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

    MPU9250 Library for Proteus V1.0: GY-9250 9-Axis IMU for Arduino 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 MPU9250 Library for Proteus V1.0: GY-9250 9-Axis IMU for Arduino?

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?

MPU9250 Library for Proteus V1.0: GY-9250 9-Axis IMU for Arduino comes as a ZIP archive of 10 files (1.3 MB, 2.9 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, ebd59e8776db71295412c3c0a2014e12ec90c3ff1d4fd48d6023ff2105c8a790. In PowerShell run Get-FileHash "gy-9250-mpu9250-tep-v1-0-6c7c0d1baa034a6ab5a7035ce0652eb2.zip"; on macOS or Linux run shasum -a 256 "gy-9250-mpu9250-tep-v1-0-6c7c0d1baa034a6ab5a7035ce0652eb2.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 · gy-9250-mpu9250-tep-v1-0-6c7c0d1baa034a6ab5a7035ce0652eb2.zip
Rating
Your download will be ready shortly
Preparing your download…

Members skip the wait. Log in or join TEP.

  • 8Total downloads
  • 4%Popularity
  • ProteusCategory
  • 0Comments
  • ssyedzainnasirUploaded by
  • 16 Oct 2026Uploaded at
Last 14 days5 downloads
SHA-256 ebd59e8776db71295412c3c0a2014e12ec90c3ff1d4fd48d6023ff2105c8a790
DocumentationMPU9250 Library for Proteus V1.0: GY-9250 9-Axis IMU for Arduino
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.