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
| Pin | Kind | Label | Volts | Current | Also called | Note |
|---|---|---|---|---|---|---|
VCC | power in | VCC | ||||
GND | ground | GND | ||||
SCL | I²C SCL | SCL | ||||
SDA | I²C SDA | SDA | ||||
XDA | I/O | XDA | ||||
XCL | I/O | XCL | ||||
AD0 | data in | AD0 | ||||
INT | data out | INT |
Notes
The library writes its notes in Chinese; they are shown as written.
- 晶片 VDD 2.375–3.46 V;GY-521 板上有穩壓器,Arduino Playground 建議 VCC 給 5 V。
- I²C 上拉電阻在模組上(各批 10K 或 2.2K)。
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.
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 INTWhat reaches it
@openav/hw·HwHw.check({ board, parts: { x: { part: 'mpu6050-gy521' } }, wires })Listed in a spec's parts, it is checked with the rest of the wiring: voltages, pins, current.
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
- GY-521 的穩壓器型號、VCC 範圍、尺寸、腳位(沒有原廠文件)。
- 模組上的 I²C 上拉與邏輯電壓(VLOGIC)接到哪個電壓。
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.