JY-901 MPU6050 Module Quick Start by Elecmaster
JY-901 MPU6050 Module Quick Start by Elecmaster
com/store/1836321
Quick Start
1 Pin Description
Name
Function
VCC
Power3.3V or 5V Input
RX
TX
GND
GND
SCL
SDA
D0
Extended port 0
D1
Extended port 1
D2
Extended port 2
D3
Extended port 3
As shown in the figure above, the coordinates of the module are indicated, and the right is the
X axis, the upper is Y axis, the Z axis is perpendicular to the surface of the paper to yourself. The
direction of rotation is defined by the right hand rule, that is, the thumb of the right hand is pointed
to the axial direction, and the four is the direction of the bending of the right hand.
2 Step
2.1 Connect to PC
USB to TTL tool connect to JY-901 moduleUSB to TTL tool:+5VTXDRXDGND are
respectively connected JY901 module :VCCRXTXGNDNote TXD and RXD should be
crossover
(NoticeThe switch of Six serial interface module needs to be configed as the following
figure when connecting to 6050 module)
- 1-
http://www.aliexpress.com/store/1836321
http://www.aliexpress.com/store/1836321
After you open the serial port, if there was no data of the image, check wiring is correct, then
confirm the baud rate is set correctly, if you forget the module baud rate is the number, you can
click on the menu baud -> Auto. The software will automatically search the baud rate ,
Prerequisite for automatic search module ,the output rate should be greater than 5Hz, if the rate is
too low, the automatic detection module will not work.If it like this, you can try to set the module
to the factory settings.
Click the record button, the software can record data to a text file, click on the record button,
and when finish recording ,need to click the stop , the file will be written to the hard disk, the file
path to the root directory of the PC program of JY-901 module,the file name is the start time.
Click on the language menu, you can switch the language between Chinese and English
Click clear diagram button, you can clear the data displayed in the chart. When collecting this
data with the previous data collection interval for a long time, the chart will update slower, then
you can click on the clear button, It will become faster.
Click the three-dimensional buttons, call up the three-dimensional display screen, displaying
three-dimensional posture of the module. After starting the three-dimensional model, the default
interface is full screen, and to change back to the window mode, you can press the [F] key, if you
can not switch, press ctrl + Space to change the input method to English,then press [F]key.
- 3-
http://www.aliexpress.com/store/1836321
Magnetic field sensor calibration for the removal of bias. Generally there will be magnetic
error in the when manufactured, if not calibration, measurement errors will bring great impact on
angle measurement accuracy. During calibration, first connect the module and the computer, the
module is placed in a place where far away from magnetic interference, then open the PC software.
Click the Settings tab, and enter the settings page. Click on "magnetic" button, rotate around
X-axis 360 several times, and then turn around the Y-axis 360 several times, and then turn
around the Z-axis 360 several times, then freely rotate a few times, when HxOffset, HyOffset,
HzOffset are still, and then click on "normal " button to complete the calibration. Then click the
Save Config button to save the bias data to the module's internal FLASH in order to
power-down save. Thereafter, the angle will be accurate.
Calibration of the magnetic field can also be manually set, after input value, click on the
- 4-
http://www.aliexpress.com/store/1836321
button on HxOffset to set the X axis magnetic bias, empathy click HyOffset can set the Y-axis
magnetic bias.
Zero height is the height of module which can be setted to 0. JY-901B type has the
function .The height of the output is calculated based on the pressure,so it is only for reference.
height set to 0 operation is the current barometric pressure value as a zero height calculation.
Instruction method : JY-901 module connected to a PC via USB-TTL module , click the
Settings tab, click Recovery. After restore the factory settings ,need to restart the module again.
(This method requires advance knowledge to know baud rate of the module, if the baud rate does
not match the command will not take effect, try using a short-circuit recovery method)
- 5-