Component guide · Beginner · 3 min read
WitMotion JY901S, WT901BLECL Bluetooth, WT9011DCL, WT901WIFI, WT931

and DFRobot Serial 6-Axis Angle Sensors
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
WitMotion modules output ready-calculated angles, so you get roll, pitch and yaw without writing a fusion filter. The JY901S sends them over UART or I2C; the WT901BLECL and WT9011DCL add Bluetooth and a battery; the WT901WIFI sends data over Wi-Fi; and the WT931 is a compact board. DFRobot's serial 6-axis module uses the same protocol. A free PC app shows and records the data.
Key specs at a glance
- Sensors
- Accel, gyro, magnetometer (9-axis) or 6-axis
- Angle accuracy
- About 0.05 to 0.5 degrees static
- Output rate
- Up to 200 Hz
- Interface
- UART (9600 or 115200), I2C, Bluetooth 5.0, Wi-Fi
- Supply
- 3.3 to 5 V (battery on BLE models)
- Frame
- 0x55 + type + 8 bytes + checksum
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1WTMotion JY901S 9-Axis IMU Sensor ±0.5° Angle Accuracy 200Hz – Serial/I2C Interface₹3,039
Option 2WTMotion WT901BLECL High-Precision 9-Axis Gyroscope+Angle Module – Bluetooth 5.0 & UART Interface₹8,199
Option 3WTMotion WT9011DCL 9-Axis BLE Magnetometer Gyroscope IMU Module – USB-C Charging & SD Card Logging₹2,519
Option 4WTMotion WT901WIFI 9-Axis WiFi AHRS Sensor, ±16g Accel, ±2000°/s Gyro, 0.05°/0.1° Accuracy, 3.3~5V, TCP/UDP Output₹2,679
Option 5WTMotion WT931+ Evaluation Board with Separate Pin Headers (Unsoldered) – 9-Axis IMU Module₹4,359
Option 6DFRobot Serial 6-Axis Accelerometer Module for Arduino – 3.3V/5V TTL Interface₹2,889
What the WitMotion JY901S, WT901 and serial angle sensors is
The WitMotion JY901 is a 9-axis IMU module with built-in sensor fusion that outputs angles, gyro, acceleration and magnetic data over UART or I2C.
Each 11-byte frame starts 0x55; the second byte says what it holds (0x51 acceleration, 0x52 angular rate, 0x53 angle, 0x54 magnetic field). Angles are a signed 16-bit value divided by 32768 times 180.
Calibrate the accelerometer flat and the magnetometer by rotating, using the WitMotion app, before you rely on yaw.
WitMotion JY901S, WT901 and serial angle sensors pinout
The pins on the WitMotion JY901S, WT901 and serial angle sensors and what each one does.
| Pin | Function |
|---|---|
| VCC | 3.3 to 5 V |
| GND | Ground |
| TX / RX | UART |
| SDA / SCL | I2C (JY901S) |
- VCC
- 3.3 to 5 V
- GND
- Ground
- TX / RX
- UART
- SDA / SCL
- I2C (JY901S)
Wiring the WitMotion JY901S, WT901 and serial angle sensors
Connect the WitMotion JY901S, WT901 and serial angle sensors like this.
| WitMotion JY901S, WT901 and serial angle sensors pin | Arduino Uno | ESP32 |
|---|---|---|
| VCC | 5 V | 5 V (VIN) or 3.3 V |
| GND | GND | GND |
| Module TX | D10 (SoftwareSerial RX) | GPIO 16 (RX2) |
| Module RX | D11 | GPIO 17 (TX2) |
- VCC
- Arduino Uno:
- 5 V
- ESP32:
- 5 V (VIN) or 3.3 V
- GND
- Arduino Uno:
- GND
- ESP32:
- GND
- Module TX
- Arduino Uno:
- D10 (SoftwareSerial RX)
- ESP32:
- GPIO 16 (RX2)
- Module RX
- Arduino Uno:
- D11
- ESP32:
- GPIO 17 (TX2)
Example code
Change the baud to match your module (set in the WitMotion app).
// WitMotion serial frames: 0x55, type, 8 data bytes, checksum. 0x51 accel, 0x52 gyro, 0x53 angle
void setup() {
Serial.begin(115200);
Serial2.begin(9600, SERIAL_8N1, 16, 17); // many models default to 9600; some to 115200
}
void loop() {
static uint8_t f[11]; static int n = 0;
while (Serial2.available()) {
uint8_t b = Serial2.read();
if (n == 0 && b != 0x55) continue;
f[n++] = b;
if (n < 11) continue;
n = 0;
uint8_t sum = 0; for (int i = 0; i < 10; i++) sum += f[i];
if (sum != f[10]) continue;
if (f[1] == 0x53) {
float roll = (int16_t)(f[3] << 8 | f[2]) / 32768.0 * 180;
float pitch = (int16_t)(f[5] << 8 | f[4]) / 32768.0 * 180;
float yaw = (int16_t)(f[7] << 8 | f[6]) / 32768.0 * 180;
Serial.printf("roll %.1f pitch %.1f yaw %.1f\n", roll, pitch, yaw);
}
}
}Setup and tuning
VCC 3.3 to 5 V, GND, TX and RX (or SDA and SCL).
use WitMotion's PC software to configure and calibrate.
default often 9600; change in the software.
do accelerometer and magnetometer calibration away from metal.
read angle frames and parse per the protocol.
What you need
Shop this list9 of 9 found in our store · ₹28,753
WTMotion JY901S 9-Axis IMU Sensor ±0.5° Angle Accuracy 200Hz – Serial/I2C Interface: the part this guide coversWTMotion JY901S 9-Axis IMU Sensor ±0.5° Angle Accuracy 200Hz – Serial/I2C Interface₹3,039
WTMotion WT901BLECL High-Precision 9-Axis Gyroscope+Angle Module – Bluetooth 5.0 & UART Interface: another version this guide coversWTMotion WT901BLECL High-Precision 9-Axis Gyroscope+Angle Module – Bluetooth 5.0 & UART Interface₹8,199
WTMotion WT9011DCL 9-Axis BLE Magnetometer Gyroscope IMU Module – USB-C Charging & SD Card Logging: another version this guide coversWTMotion WT9011DCL 9-Axis BLE Magnetometer Gyroscope IMU Module – USB-C Charging & SD Card Logging₹2,519
WTMotion WT901WIFI 9-Axis WiFi AHRS Sensor, ±16g Accel, ±2000°/s Gyro, 0.05°/0.1° Accuracy, 3.3~5V, TCP/UDP Output: another version this guide coversWTMotion WT901WIFI 9-Axis WiFi AHRS Sensor, ±16g Accel, ±2000°/s Gyro, 0.05°/0.1° Accuracy, 3.3~5V, TCP/UDP Output₹2,679
WTMotion WT931+ Evaluation Board with Separate Pin Headers (Unsoldered) – 9-Axis IMU Module: another version this guide coversWTMotion WT931+ Evaluation Board with Separate Pin Headers (Unsoldered) – 9-Axis IMU Module₹4,359
DFRobot Serial 6-Axis Accelerometer Module for Arduino – 3.3V/5V TTL Interface: another version this guide coversDFRobot Serial 6-Axis Accelerometer Module for Arduino – 3.3V/5V TTL Interface₹2,889
ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389
USB to TTL serial converter: to talk to the module from a PCUSB to TTL Serial Converter (CH340G / CP2102 / FT232RL / PL2303)₹85Closest match, check the specs
Adafruit BNO055 9-DOF fusion breakout: orientation without your own filterAdafruit BNO055 9-DOF Absolute Orientation IMU Fusion Breakout – STEMMA QT / Qwiic₹4,595Closest match, check the specs
Alternatives and when to choose them
- BNO055: I2C fusion IMU.
- Industrial AHRS: sealed RS485 versions.
- MPU6050: raw data, you do the fusion.
Common mistakes to avoid
- Calibrating near metal.
- Wrong baud rate.
- Mounting loosely.
- Ignoring magnetic interference.
Frequently asked questions
What does the JY901 output?
It outputs angles, acceleration, gyro rates and magnetic field readings.
Why is my heading wrong?
The magnetometer needs calibration away from metal and magnets.
Can I read it with Arduino?
Yes, over UART or I2C using WitMotion's Arduino library.
Why do angles drift?
Missing calibration or magnetic interference makes the angles drift.
Can I change the output rate?
Yes. Change the output rate in WitMotion's configuration software.
Parts for this guide
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.
