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.
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
| Pin | Name | Use |
|---|---|---|
| VCC | VCCSupply pin | Supply (see the module: usually 3.3–5 V) |
| GND | GNDGround pin | Ground |
| SCL | SCLInput pin | I²C clock: sensors, displays; pull-up (about 4.7 kΩ) to the supply |
| SDA | SDAI/O pin | I²C data: pull-up (about 4.7 kΩ) to the supply |
Parameters 8
I²C address
addrDefault0x68
0x680x69
Acceleration X
axliveDefault0 g
Acceleration Y
ayliveDefault0 g
Acceleration Z
azliveDefault1 g
Rotation rate X
gxliveDefault0 °/s
Rotation rate Y
gyliveDefault0 °/s
Rotation rate Z
gzliveDefault0 °/s
Temperature
templiveDefault25 °C
PCB
Connector / off-board
PinHeader_1x04_P2.54mm_VerticalMPU-6050 (accelerometer, gyro, I²C) as a module on a 4-pin header (VCC, GND, SCL, SDA) – compare the order with your own module