open-audiovisual
Search GitHub

sensor

MPU-6050 on a GY-521 module

MPU-6050 on a GY-521 module (sensor) from the electronics library of @openav/hw: its pins, the voltages it takes and gives, its current, each number from its datasheet. Hw.check() reads the same entry when it checks a wiring.

Also called: MPU-6050 六軸(GY-521 模組) · sensor

  • electronics library
  • not checked on a unit yet
Kind
sensor
Protocols
I²C
Licence
MIT
Verified
not checked on a unit yet

Facts

What MPU-6050 on a GY-521 module is

Every number is read from the datasheets and product pages listed under Sources. A value nobody could confirm says so (待查) and is listed under “To be confirmed”, not guessed.

Supply
to be confirmed (待查)–to be confirmed (待查) V (nominal 5 V)
Logic level
to be confirmed (待查) V (high at least to be confirmed (待查) V)
5 V tolerant
to be confirmed (待查)
Current
typical 3.9 mA, max to be confirmed (待查) mA
I²C address
0x68, 0x69
Connector
8 pin 排針

Pins

Every pin of MPU-6050 on a GY-521 module

PinKindLabelVoltsCurrentAlso calledNote
VCCpower inVCC
GNDgroundGND
SCLI²C SCLSCL
SDAI²C SDASDA
XDAI/OXDA
XCLI/OXCL
AD0data inAD0
INTdata outINT

Notes

The library writes its notes in Chinese; they are shown as written.

Use it

MPU-6050 on a GY-521 module in your code

Paste it into a <script type="module"> on any page: it loads @openav/devices from this site and prints the library entry Hw.check() reads.

javascript
import { device } from 'https://openaudiovisual.com/packages/devices/index.js';

const part = await device('mpu6050-gy521');   // MPU-6050 on a GY-521 module
console.log(JSON.stringify(part.part.supply), Object.keys(part.part.pins).join(' '));
// → {"min":null,"max":null,"nominal":5} VCC GND SCL SDA XDA XCL AD0 INT

What reaches it

Files

Take it with you

The part as JSON: the library entry (pins, supply, logic levels, current, notes) and its record, as Hw.check() and device() read them.

Status

How sure this page is

Not checked on a unit yet: every value is as its source says. Only a person with the unit can change that.

To be confirmed

Sources

GitHub

Wrong data?

Every value on this page comes from one file in the repository. Open an issue that says which value and where you read the right one, or change the file in a pull request.

Next step

Where it goes next

The handbook chapter on the collection, and the package that drives MPU-6050 on a GY-521 module.