WiT WT901B User Manual Download Page 48

WT901B | manual v0707 | http://wiki.wit-motion.com/english

- 48 -

5 IIC Connection

The WT901B module can be connected to the MCU through the IIC interface.
The connection method is shown in the figure below.

Note:
1. In order to connect multiple modules on the IIC bus, the IIC bus of the
module is an open-drain output. When the MCU is connected to the module, the
IIC bus needs to be pulled up to VCC through a 4.7K resistor.

2. VCC is 3.3V, it must be connected to the power supply. Directly using the
power supply on the module may cause a voltage drop, so that the actual
voltage of the module is not 3.3 ~ 5V.

1. The internal pull-up of the MCU is a weak pull-up, the driving capacity is
limited, and an external pull-up on the hardware is required.

Summary of Contents for WT901B

Page 1: ...WT901B manual v0707 http wiki wit motion com english 1 USER MANUAL WT901B Inclinometer Sensor...

Page 2: ...u 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 o...

Page 3: ...are 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...

Page 4: ...xis 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...

Page 5: ...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 pa...

Page 6: ...ower 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 wit...

Page 7: ...ith 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...

Page 8: ...sage 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 por...

Page 9: ...ls 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 Ab...

Page 10: ...WT901B manual v0707 http wiki wit motion com english 10 Close Close com port...

Page 11: ...om english 11 2 2 2 Menu of Configuration Menu of Configuration Button Function Read Config Reading the current configuration Lock Lock the sensor Unlock Unlock the sensor Calibrate Time Calibration t...

Page 12: ...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 c...

Page 13: ...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 out...

Page 14: ...te 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 connect...

Page 15: ...er 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 measure...

Page 16: ...ere 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 No...

Page 17: ...sor 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 he...

Page 18: ...WT901B manual v0707 http wiki wit motion com english 18 Step 3 Slowly rotate the module 360 around X Y Z 3 axis accordingly...

Page 19: ...ot 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 t...

Page 20: ...owered 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 yo...

Page 21: ...t of the data return can be set according to user needs click the configuration option bar and check the data content to be output Taking WT901B as an example the default output of the module is accel...

Page 22: ...turn rate supports 200Hz 10Hz refers to 10 packets returned every second There contain 33bytes in a data packet in default Reminder If there being many types of return data and low baud rate of commun...

Page 23: ...ule you need to select the baud rate to be changed in the communication rate drop down box in the configuration bar based on the correct connection between the software and the module Note After the c...

Page 24: ...WT901B manual v0707 http wiki wit motion com english 24 2 4 4 Data Recording Method are as follows Step 1 Click Record and Begin Step 2 Click Stop...

Page 25: ...the data as txt file Notice If there is repeated TIME of data that s caused by low resolution of the Windows system s time The changes in other data is correct It is highly recommended that data can...

Page 26: ...ecorded file each time there will a BIN file created in the folder of record file in path of installed software meanwhile Recorded data playback method Step 1 Disconnect the sensor Step 2 Click File B...

Page 27: ...WT901B manual v0707 http wiki wit motion com english 27 Step 4 Click Run and the Binary file will be playback When playback the rate can be editable...

Page 28: ...used working and entered the standby mode Power consumption is reduced after sleeping Wake up The module enters the working state from the standby state The module defaults to a working state in the C...

Page 29: ...nstallation direction of the module is horizontal When the module needs to be installed vertically the vertical installation can be set Step 1 Rotate the module 90 degrees around the X axis Step 2 Pla...

Page 30: ...Default bandwidth is 20Hz Function 1 The higher rate of bandwidth setting will lead to the higher fluctuation in data waveform Conversely the lower rate of bandwidth data will become more fluent For e...

Page 31: ...veform will show more fluctuation 2 The higher rate of bandwidth will solve the data repeating problem For example if the bandwidth setting is 20Hz retrieval rate as 100Hz there will be 5 repeating da...

Page 32: ...of the module is on continuously for about 2 seconds The LED is off and the factory reset operation is completed Command method connect the WT901B module and the computer through the USB TTL module c...

Page 33: ...x50 which can be changed by software Change the IIC address only when the module connect to PC program successfully and enter the new 16 hexadecimal IIC address and click the change button Reminder Th...

Page 34: ...extended port In different modes the port state data DxStatus has the following meanings Mode Implication Analog input mode Analog voltage Digital input mode Port high and low level state Digital hig...

Page 35: ...lse DxStatus 0 For digital output mode Voltage is high DxStatus 1 Voltage is low DxStatus 0 PWM output mode is used for the output of the PWM wave the cycle and the high level width can be adjusted th...

Page 36: ...alculated and analyzed based on the magnetic field Z axis angle will have few drift The default algorithm of WT901B is 9 axis If there is magnetic field interference around installed environment it is...

Page 37: ...t as the alarm status output port Take the following settings as an example Normally the four ports output low level 0V and when the X axis angle value is greater than 10 or less than 10 the correspon...

Page 38: ...on com english 38 3 Use Instructions with Android Phone For APP configuration introduction please referring to the Chapter 2 2 3 1 APP Installation Install the APK file give permission of Location and...

Page 39: ...B manual v0707 http wiki wit motion com english 39 3 2 Hardware Preparation Connecting with Android smartphone requires a serial cable and a Type C converter or OTG converter according to phone s inte...

Page 40: ...able Then connect the cable with type c converter Plug in the device type c converter to the phone Notice 1 After successful connection there will be a notification reminding that Choose an APP for th...

Page 41: ...WT901B manual v0707 http wiki wit motion com english 41 Step 3 Open APP and choose 9 axis Series as sensor series...

Page 42: ...WT901B manual v0707 http wiki wit motion com english 42 Step 4 Select the baud rate 9600...

Page 43: ...WT901B manual v0707 http wiki wit motion com english 43 After selection and wait for a few seconds the data will show automatically...

Page 44: ...tion WT901B Playlist 3 4 1 Acceleration Calibration Step 1 Keep the module horizontally stationary Step 2 Click the Calibration menu Step 3 Click the Acceleration Calibration and wait for 3 seconds St...

Page 45: ...k the Magnetic calibration button Step 3 Slowly rotate the module 360 around X Y Z 3 axis accordingly Step 4 After rotation click Magnetic Calibration Finish Check the result The Z axis angle will hav...

Page 46: ...n Link to download all sample code Link to sample code instructions demo Notice There is no sample code provided for Linux or Python system at present 4 1 Arduino Download link Arduino UNO3 Demo Link...

Page 47: ...WT901B manual v0707 http wiki wit motion com english 47 4 5 C DEMO link 4 6 Matlab Receive Sample Code Dataplot DEMO...

Page 48: ...bus of the module is an open drain output When the MCU is connected to the module the IIC bus needs to be pulled up to VCC through a 4 7K resistor 2 VCC is 3 3V it must be connected to the power suppl...

Reviews: