GY-521 MPU6050L (Exclusive Model) – ISIS Proteus Library Component
Via virtual terminal or graph plotter:
Example plot data stream:
Time(ms) AccX(g) AccY(g) AccZ(g) GyrX(°/s) GyrY(°/s) GyrZ(°/s) Temp(°C)
0 0.00 0.00 1.00 0.00 0.00 0.00 25.0
100 0.01 0.02 0.98 0.50 0.30 0.10 25.1
| Feature | Description |
|---------|-------------|
| Full I2C Register Map | All user-accessible registers are implemented, including PWR_MGMT_1, ACCEL_CONFIG, GYRO_CONFIG, and FIFO_EN. |
| Real-time Motion Control | In simulation, you get a pop-up panel with 3D sliders to tilt/rotate the virtual GY-521. Accelerometer and gyro outputs update instantly. |
| Interrupt Support | The INT pin triggers on data ready, motion detection, or free-fall—perfect for testing event-driven firmware. |
| Configurable Address | Toggle AD0 to switch between 0x68 and 0x69. |
| Noise Simulation | Optional Gaussian noise on sensor outputs to mimic real-world imperfections. |
| DMP Emulation (Partial) | Simulates basic quaternion output for advanced users. |
This model allows you to write, debug, and perfect your MPU6050 driver without ever soldering a pin. isis proteus model library gy 521 mpu6050l upd exclusive
| Label | Actual IC | Interface | Features | |----------------|----------------|-----------|-----------------------------------| | GY-521 | MPU6050 | I²C | 3‑axis accelerometer + 3‑axis gyro | | MPU6050L | MPU6050 (low voltage version) | I²C | Same as MPU6050, VCC = 2.375–3.46V | | “Proteus model” | A simulation component for Proteus ISIS | - | For virtual testing before hardware |
Note: No official MPU6050 model exists in standard Proteus libraries. Third‑party models are available (see Section 2).
The model outputs processed quaternions. You must write to SMPLRT_DIV, CONFIG, GYRO_CONFIG, ACCEL_CONFIG, then INT_ENABLE to enable DMP ready. Inside the UPD model properties, you can set the output rate. This is identical to the real MPU6050.
This code reads accelerometer & gyro data from a real MPU6050 (works also in Proteus if model supports register reads). GY-521 MPU6050L (Exclusive Model) – ISIS Proteus Library
#include <Wire.h> #include <MPU6050.h> // Install via Library Manager (by Electronic Cats)MPU6050 mpu;
void setup() Serial.begin(115200); Wire.begin(); if (!mpu.begin()) Serial.println("MPU6050 not found"); while (1); mpu.setAccelerometerRange(MPU6050_RANGE_2_G); mpu.setGyroRange(MPU6050_RANGE_250_DEG);
void loop() Gyro X: "); Serial.print(g.gyro.x); Serial.print(" Y: "); Serial.print(g.gyro.y); Serial.print(" Z: "); Serial.println(g.gyro.z); delay(500);
For Proteus simulation – If your model does not support the MPU6050 library, write direct I²C read:
#include <Wire.h> #define MPU_ADDR 0x68void setup() Serial.begin(115200); Wire.begin(); Wire.beginTransmission(MPU_ADDR); Wire.write(0x6B); // PWR_MGMT_1 register Wire.write(0x00); // wake up Wire.endTransmission();
void loop() Wire.read(); int16_t ay = Wire.read() << 8