All components

Wireless & motion · Component reference

MPU-6050 IMU (GY-521)

A six-axis accelerometer and gyroscope module used for tilt, motion and balancing projects.

Pinout

Tested record
PinFunction
vccModule supply
gndGround
sclI2C clock
sdaI2C data
xdaAuxiliary I2C data
xclAuxiliary I2C clock
ad0I2C address select
intInterrupt output

Pin labels describe the simulator's component definition. Physical breakout boards can differ; always check the silkscreen and the module datasheet.

Wiring checklist

  1. 1Connect the GY-521 module's VCC and GND according to its board revision and documentation.
  2. 2Connect SDA and SCL to the microcontroller's I2C bus. The common default address is 0x68 when AD0 is low.
  3. 3Check the breakout's regulator and I2C pull-up voltage. Keep bus logic within the microcontroller's permitted input voltage.

What the simulator models

The repository records MPU-6050 firmware tests on Uno and XIAO RP2040. The simulator provides visual orientation/tilt teaching controls.

Evidence: The model-quality record cites Uno and XIAO RP2040 test builds; this is not part of the seven-part matrix across all 14 runnable boards.

Known limits — read before relying on a simulation

  • The component does not emulate the MPU-6050 I2C register protocol or a time-series accelerometer/gyroscope data stream.
  • The visual tilt controls are teaching aids, not a substitute for validating sensor fusion, calibration or motion algorithms.
  • Header order and breakout circuitry vary; follow the silkscreen on the physical GY-521 board.

Common project ideas

Tilt indicatorBalancing robotMotion logger

Try the component in the workbench

Open the simulator, find this part in the component palette and wire it to your board.

Open simulator