Bringup
Open the editor
Behavioural mixed-signal modelGY-521mpu6050

MPU-6050 (accelerometer, gyro, I²C)

6-axis motion sensor on the GY-521 module (3.3 V regulator, pull-ups): acceleration (±2…16 g), rotation rate (±250…2000 °/s), temperature via I²C (0x68, AD0 high: 0x69). Orientation and rotation rate adjustable in the inspector, also during simulation. Drive with Adafruit_MPU6050.

VCCGNDSCLSDAGY-521
Schematic symbol

Key data

Category
Modules
Simulation model
Behavioural mixed-signal model
Manufacturer part number
GY-521
Reference prefix
U
Pins
4
Land pattern
PinHeader_1x04_P2.54mm_Vertical

Simulation model

A behavioural model implements the interface of the chip (registers, protocol, timing) at its pins. The pins are connected to the analog circuit like CMOS pins.

Model
mpu6050
Supply pins
VCC / GND

Pins 4

PinNameUse
VCCVCCSupply pinSupply (see the module: usually 3.3–5 V)
GNDGNDGround pinGround
SCLSCLInput pinI²C clock: sensors, displays; pull-up (about 4.7 kΩ) to the supply
SDASDAI/O pinI²C data: pull-up (about 4.7 kΩ) to the supply

Parameters 8

I²C addressaddr
Default0x68
0x680x69
Acceleration Xaxlive
Default0 g
Acceleration Yaylive
Default0 g
Acceleration Zazlive
Default1 g
Rotation rate Xgxlive
Default0 °/s
Rotation rate Ygylive
Default0 °/s
Rotation rate Zgzlive
Default0 °/s
Temperaturetemplive
Default25 °C

PCB

Connector / off-boardPinHeader_1x04_P2.54mm_Vertical

MPU-6050 (accelerometer, gyro, I²C) as a module on a 4-pin header (VCC, GND, SCL, SDA) – compare the order with your own module