Parts Sensors and input

The Accelerometer + Gyro (MPU-6050) as drawn on the PinBench canvas.

Accelerometer + Gyro (MPU-6050)

A 6-axis motion sensor on the GY-521 module, over I²C.

Category
Sensors and input
Interface
I²C, 0x68 or 0x69
Size
20.3 × 15.2 mm

Pins

PinRole
VCCPower
GNDGround
SCLInput
SDASignal
XDASignal
XCLSignal
AD0Input
INTOutput

Settings

Change these in the part's properties on the canvas.

Acceleration X
0 g
Acceleration Y
0 g
Acceleration Z
1 g
Rotation X
0 °/s
Rotation Y
0 °/s
Rotation Z
0 °/s
Die temperature
25 °C

How PinBench simulates it

  • Like the chip, it boots asleep: a sketch that never clears the sleep bit reads zeros.
  • Readings scale to the range the sketch selects. Set the tilt and rotation you want it to feel; at rest and level that is 1 g on Z.
  • AD0 low or unconnected puts it at 0x68, tied high at 0x69. XDA, XCL and INT are on the module but not modelled.