WiT WT901B User manual

WT901B | manual v0707 | http://wiki.wit-motion.com/english
- 2 -
Tutorial link
Google Drive
Link to instructions DEMO:
WITMOTION Youtube Channel
WT901B Playlist
If you have technical problems or cannot find the information that you need in the
provided documents, please contact our support team. Our engineering team is
committed to providing the required support necessary to ensure that you are
successful with the operation of our AHRS sensors.
Contact
Technical Support Contact Info
Application
● AGV Truck
● Platform Stability
● Auto Safety System
● 3D Virtual Reality
● Industrial Control
● Robot
● Car Navigation
● UAV
● Truck-mounted Satellite Antenna Equipment

WT901B | manual v0707 | http://wiki.wit-motion.com/english
- 3 -
Contents
Tutorial link.................................................................................................................... - 2 -
Contact............................................................................................................................ - 2 -
Application......................................................................................................................- 2 -
Contents..........................................................................................................................- 3 -
1 Introduction............................................................................................................... - 5 -
1.1 Warning Statement......................................................................................- 6 -
2 Use Instructions with PC...................................................................................... - 7 -
2.1 Connection Method...................................................................................... - 7 -
2.1.1 Serial Connection............................................................................. - 7 -
2.2 Software Introduction.................................................................................- 9 -
2.2.1 Main Menu........................................................................................... - 9 -
2.2.2 Menu of Configuration..................................................................- 11 -
2.3 Calibration.....................................................................................................- 15 -
2.3.1 Accelerometer Calibration.......................................................... - 15 -
2.3.2 Magnetic Field Calibration.......................................................... - 17 -
2.3.3 Gyroscope Automatic Calibration............................................ - 19 -
2.3.4 Reset Z-axis Angle........................................................................ - 20 -
2.3.5 Reset Height to 0........................................................................... - 20 -
2.4 Configuration............................................................................................... - 21 -
2.4.1 Return Content............................................................................... - 21 -
2.4.2 Output Rate......................................................................................- 22 -
2.4.3 Baud Rate..........................................................................................- 23 -
2.4.4 Data Recording............................................................................... - 24 -
2.4.5 Data Playback..................................................................................- 26 -
2.4.6 Standby and Wake Up................................................................. - 28 -
2.4.7 Placement Direction......................................................................- 29 -

WT901B | manual v0707 | http://wiki.wit-motion.com/english
- 4 -
2.4.8 Bandwidth......................................................................................... - 30 -
2.4.9 Restore Factory Setting...............................................................- 32 -
2.4.10 Set IIC Address............................................................................- 33 -
2.4.11 Set Extended Port....................................................................... - 34 -
2.4.12 6-axis/ 9-axis Algorithm...........................................................- 36 -
2.4.13 Set Alarm Status......................................................................... - 37 -
3 Use Instructions with Android Phone............................................................- 38 -
3.1 APP Installation...........................................................................................- 38 -
3.2 Hardware Preparation.............................................................................. - 39 -
3.3 Connection....................................................................................................- 40 -
3.4 Calibration.....................................................................................................- 44 -
3.4.1 Acceleration Calibration...............................................................- 44 -
3.4.2 Magnetic Field Calibration.......................................................... - 45 -
4 MCU Connection.................................................................................................... - 46 -
4.1 Arduino...........................................................................................................- 46 -
4.2 STM32.............................................................................................................- 46 -
4.3 Raspberry pi.................................................................................................- 46 -
4.4 C#.................................................................................................................... - 46 -
4.5 C++................................................................................................................. - 47 -
4.6 Matlab............................................................................................................. - 47 -
5 IIC Connection....................................................................................................... - 48 -

WT901B | manual v0707 | http://wiki.wit-motion.com/english
- 5 -
1 Introduction
The WT901B is a multi-sensor device detecting acceleration, angular velocity,
angle as well as magnetic filed. The small outline makes it perfectly suitable
for industrial retrofit applications such as condition monitoring and predictive
maintenance. Configuring the device enables the customer to address a
broad variety of use cases by interpreting the sensor data by smart
algorithms.
WT901B’s scientific name is AHRS IMU sensor. A sensor measures 3-axis
angle, angular velocity, acceleration, magnetic field. Its strength lies in the
algorithm which can calculate three-axis angle accurately.
WT901B is an CE standard accelerometer. It is employed where the highest
measurement accuracy is required. WT901B offers several advantages over
competing sensor:
• Heated for best data availability: new WITMOTION patented zero-bias
automatic detection calibration algorithm outperforms traditional
accelerometer sensor
• High precision Roll Pitch Yaw (X Y Z axis) Acceleration + Angular Velocity +
Angle + Magnetic Field output
• Low cost of ownership: remote diagnostics and lifetime technical support by
WITMOTION service team
• Developed tutorial: providing manual, datasheet, Demo video, free software
for Windows computer, APP for Android smartphones , and sample code for
MCU integration including 51 serial, STM32, Arduino, Matlab, Raspberry Pi,
communication protocol for project development
• WITMOTION sensors have been praised by thousands of engineers as a
recommended attitude measurement solution

WT901B | manual v0707 | http://wiki.wit-motion.com/english
- 6 -
1.1 Warning Statement
Putting more than 5 Volt across the sensor wiring of
the main power supply can lead to permanent damage
to the sensor.
VCC cannot connect with GND directly, otherwise it
will lead to the burning of the circuit board.
For proper instrument grounding: use WITMOTION
with its original factory-made cable or accessories.
For secondary developing project or integration:
use WITMOTION with its compiled sample code.

WT901B | manual v0707 | http://wiki.wit-motion.com/english
- 7 -
2 Use Instructions with PC
2.1 Connection Method
PC software is only compatible with Windows system.
Link to WT901B’s demo video
2.1.1 Serial Connection
Step 1. Connect the sensor with a serial converter
PIN Connection:
VCC - 5V
TX - RX
RX - TX
GND - GND
(When connecting with computer, VCC-5V is recommended.)

WT901B | manual v0707 | http://wiki.wit-motion.com/english
- 8 -
Recommended tools:
3 in-1 converter 6-in-1 converter TTL serial cable
Step 2. Unzip the software and install the driver CH340 or CP2102
(Depending on which accessory for usage.)
Link to tutorial of 3-in-1 serial converter/ TTL serial cable (CH340 driver)
Link to tutorial of 6-in-1 serial converter (CP2102 driver)
Step 3. Plugin the converter to computer and confirm the “com port” in device
manager
Step 4. Open the software(Minimu.exe)
Data will appear after auto-search finishes
Notice: If not successful, please operate manually
Choose the com port and baud rate 9600, data will be shown on the software.

WT901B | manual v0707 | http://wiki.wit-motion.com/english
- 9 -
2.2 Software Introduction
Link to download software
2.2.1 Main Menu
Main Menu of software
Button
Function
File
Launch recorded HEX file (Bin format)
Tools
Hide or display tools box on left side
Record
Record function
3D
3D DEMO
Config
Configuration setting
Help
Language
English or Chinese
Bluetooth Set
Binding device or unbind
Firmware update
Option for firmware update
About Minimu
Info about Minimu.exe
Factory test
For manufacturer internal test only
Auto-search
Auto searching the sensor
Port
Com port selection
Baud
Baud rate selection
Type
Fixed setting as Normal for WT901B
Open
Open com port

WT901B | manual v0707 | http://wiki.wit-motion.com/english
- 12 -
Menu of System
Button
Function
Reset
Reset to factory setting
Sleep
Sleep function (not available for Bluetooth
sensor series)
Alarm
Alarm function, not available for Bluetooth
sensor series
Algorithm
6-axis algorithm or 9-axis
Installation Direction
Vertical or horizontal installation
Instruction Start-up
Instructions sending to start-up the sensor
Instruction Start-up:
This function is used to prevent the data sent by the module after connecting to
the computer to conflict with the mouse, causing the mouse to jump. After
checking this function, the function will take effect the next time the module is
used, or it can take effect when the module is powered on again.
Menu of Calibrate
Button
Function
Acceleration
Accelerometer calibration
Magnetic Field
Magnetometer calibration
Reset Height
Reset height data to 0
(only for sensor built-in barometer,
including WT901B, WTGAHRS2, WTHARS1,
HWT901B)
Reset Z-axis Angle
Reset Z-axis angle to 0 degree, not available
for WT901B in 9-axis algorithm
Angle Reference
Setting current angle as 0 degree
Gyro Auto Calibrate
Auto-calibration of gyroscope

WT901B | manual v0707 | http://wiki.wit-motion.com/english
- 13 -
Menu of Range
Button
Function
Acceleration
acceleration measurement range
Gyro
gyroscope measurement range
Band Width
Bandwidth range
GPS Time Zone
GPS positioning of time zone
Menu of Communication
Button
Function
Baud Rate
Baud rate selection (not available for
Bluetooth sensor series)
Output Rate
Return rate selection
Device Address
IIC address
Menu of Content
Button
Function
Time
Time data output
Acceleration
Acceleration data output
Velocity
Angular velocity data output
Angle
Angle data output
Magnetism
Magnetic field data output
Port
Port data output, not available for Bluetooth
sensor series
Pressure
Pressure output, only available with the
sensor built-in barometer like HWT901B,
WTGAHRS2, WT901B, etc
Location
Latitude&Longitude data output, only
available when the sensor connecting with
GPS module, such as WTGAHRS1,
WTGAHRS2 GPS IMU
PDOP
Ground velocity data output, only available
when the sensor connecting with GPS

WT901B | manual v0707 | http://wiki.wit-motion.com/english
- 14 -
module, such as WTGAHRS1, WTGAHRS2
GPS IMU
Quaternion
Quaternion data output
Positioning Accuracy
Option for GPS positioning accuracy output,
including Satellite quantity, PDOP, HDOP,
VDOP data, only available when the sensor
connecting with GPS module, such as
WTGAHRS1, WTGAHRS2 GPS IMU
GPS Original
Only output GPS raw data, only available
when the sensor connecting with GPS
module, such as WTGAHRS1, WTGAHRS2
Menu of Port
D0 Model
Extended port D0
D1 Model
Extended port D1
D2 Model
Extended port D2
D3 Model
Extended port D3
Pulse width
Pulse width of PWM
Cycle
Cycle of PWM

WT901B | manual v0707 | http://wiki.wit-motion.com/english
- 15 -
2.3 Calibration
Preparation:
Make sure the sensor is “Online”.
Calibration on PC software:
It is required to calibrate for the first time usage.
2.3.1 Accelerometer Calibration
Purpose:
The accelerometer calibration is used to remove the zero bias of the
accelerometer. Before calibration, there will be different degrees of bias error.
After calibration, the measurement will be accurate.
Methods:
Step 1. Keep the module horizontally stationary
Step 2. Click the accelerometer calibration
Step 3. Click the “Start calibration”and wait for 3 seconds
Step 4. Click “Complete Calibration”

WT901B | manual v0707 | http://wiki.wit-motion.com/english
- 16 -
Step 5. Judge the result--confirm if there is 1g on Z-axis acceleration
After1 ~ 2 seconds, the three axial acceleration value of the module is about
0, 0,1, the X and Y axis Angle is around 0°. After calibration, the X,Y axis
Angle is accurate.
Note: When putting the module horizontal, there is 1g of gravitational
acceleration on the Z-axis.

WT901B | manual v0707 | http://wiki.wit-motion.com/english
- 17 -
2.3.2 Magnetic Field Calibration
Purpose:
Magnetic calibration is used to remove the zero bias of the magnetic field
sensor. Usually, the magnetic field sensor will have a large zero error when it is
manufactured. If it is not calibrated, it will bring a large measurement error,
which will affect the accuracy of the measurement of the z-axis Angle of the
heading Angle.
Preparation:
Sensors should be 20CM away from magnetic and iron and other materials
Methods:
Step 1. Open the Config menu
Step 2. Click the magnetic field calibration button. click the “Start calibration”

WT901B | manual v0707 | http://wiki.wit-motion.com/english
- 19 -
Step 4. After rotation, click “End calibration”
Successful result:
Most of data dots will be within the ellipse.
If not successful, please stay away from the objective that can create magnetic
field interference.
2.3.3 Gyroscope Automatic Calibration
The gyroscope calibration is to calibrate the angular velocity, and the sensor
will calibrate automatically.
It is recommended that the automatic calibration of gyroscopes can be
inactivated only if the module rotates at a constant speed.

WT901B | manual v0707 | http://wiki.wit-motion.com/english
- 20 -
2.3.4 Reset Z-axis Angle
Note:
If you want to avoid magnetic interference, you can change the algorithm
to Axis 6,then you can use reset function of “ Reset Z-axis angle”.
The z-axis angle is an absolute angle, and it takes the northeast sky as the
coordinate system can not be relative to 0 degree.
Z axis to 0 is to make the initial angle of the z axis angle is relative 0 degree.
When the module is used before and z - axis drift is large, the z - axis can be
calibrated, When the module is powered on, the Z axis will automatically return
to 0.
Calibration methods as follow: firstly keep the module static, click the “Config”
open the configuration bar and then click “Reset Z-axis Angle” option, you will
see the the angle of the Z axis backs to 0 degree in the module data bar.
2.3.5 Reset Height to 0
The zero setting is to reset the height of the module output to zero. The altitude
output of the module is calculated according to the air pressure. The operation
of returning to altitude is to calculate the current air pressure value as the zero
altitude position. The operation method is to click the "Reset Height" option in
the configuration bar.
Only available for the module built-in barometer like WT901B, HWT901B,
WTGAHRS1, WTGAHRS2
Table of contents
Other WiT Accessories manuals
Popular Accessories manuals by other brands

Vega
Vega VEGAPULS 6X operating instructions

Festo
Festo SOPA Series operating instructions

Doran
Doran GuardianXL Installation and instruction manual

Serene House
Serene House Serene Pod Arc instruction manual

Parallax
Parallax 28036 manual

Amphenol
Amphenol Temposonics V EtherNet/IP R Series Operation manual