Isis Proteus Model Library Gy 521 Mpu6050l | Upd |top|

The model is typically distributed as one or more .IDX and .LIB files that you copy into Proteus’s LIBRARY folder. After restarting Proteus, the component appears in the device selector under a category such as “Sensors” or “Motion”.

+-------------------+ +-------------------+ | Arduino Uno | | GY-521 MPU6050 | | (Microcontroller) | (Sensor) | | | | | | Analog A5 --+------------>+-- SCL | | Analog A4 --+------------>+-- SDA | | Digital D2<-+-------------+-- INT | | 5V ---+------------>+-- VCC | | GND ---+------------>+-- GND | +-------------------+ +-------------------+ Isis Proteus Model Library Gy 521 Mpu6050l UPD

Here is a simple example using Arduino:

Open the schematic capture window (ISIS), press P on your keyboard to open the pick device menu, and type MPU6050 or GY-521 . Double-click to add it to your workbench. Wire the I2C Bus: The model is typically distributed as one or more

void loop() int16_t ax, ay, az, gx, gy, gz; mpu.getMotion6(&ax, &ay, &az, &gx, &gy, &gz); Serial.print("A: "); Serial.print(ax); Serial.print(", "); Serial.print(ay); Serial.print(", "); Serial.println(az); delay(500); Double-click to add it to your workbench