Google Chat: zj734465502@gmail.com
+86-0755-88291180
sales@spotpear.com
dragon_manager@163.com
tech-support@spotpear.com
zhoujie@spotpear.com
WhatsApp:13246739196
10 DOF ROS IMU (A) is a 10-axis IMU sensor that integrates an ARM 32-bit DSP processor, BLE5.3 Bluetooth, high-precision accelerometer, gyroscope, magnetometer, and temperature and pressure sensor. When used together, it can collect surrounding acceleration, gyroscope, and magnetic field data, and detect the motion attitude of the robot.
| Product | 10 DOF ROS IMU (A) |
| Power supply | 3.3V~5V |
| Baud rate | 115200 |
| Interface package | ZH1.5-4A |
| Communication format | 8 data bits, 1 stop bit, no parity bit |
| Data packet format | Preamble+Start Code+Address+Length+Data Body+Checksum+End Code |
| Data output | Acceleration, angular velocity, magnetic field vector, temperature, atmospheric pressure, Euler angle, quaternion |
| Accelerometer | Range: ±16g Resolution: 0.00048g |
| Gyroscope | Range: ±2000°/s Resolution: 0.061°/s |
| Magnetometer | Range: ±8Guass Resolution: 0.12uT |
| Temperature sensor | Range: -45℃~85℃ Resolution: 0.01℃(onboard temperature) |
| Barometer | Range: 300~1200hPa Resolution: 0.006hPa |
| Pin No. | Identifier | Description |
| 1 | 5V | 3.3V~5.0V power supply |
| 2 | G | Connect to GND, ground pin |
| 3 | Rx | Serial data receive pin |
| 4 | Tx | Serial data transmit pin |
1. Serial port connection, red wire VCC, black wire GND, blue wire TXD, yellow wire RXD
2. This product does not include a USB to UART serial port module

The axial orientation of the 10 DOF ROS IMU (A) is shown in the figure above and conforms to the right-hand coordinate system


pip install pyserial numpy pygame PyOpenGL
python3 imu_init.py
python3 imu_uart.py
ls /dev/tty*
python3 imu_uart.py
python3 imu_uart_gui.py


pip install bleak numpy
sudo apt-get install bluez libbluetooth-dev
pip install gatt
python3 imu_ble.py
python3 imu_ble.py 70:53:B2:02:20:02
Take "/dev/ttyUSB0" as an example
ls /dev/tty*
sudo chmod 666 /dev/ttyUSB0
sudo apt update && sudo apt install ros-noetic-serial ros-noetic-imu-tools
Install the serial port library
cd serial && mkdir build && cd build
cmake .. && make
sudo make installInstall other dependncies
sudo apt update && sudo apt install libserial-dev ros-humble-imu-tools
catkin_make -DCATKIN_WHITELIST_PACKAGES="imu"Update environment variables
source devel/setup.bashcolcon build --packages-select imu
source install/setup.bashroscore
rosrun imu imu_node _port_name:=/dev/ttyUSB0
rostopic echo /imu/dataros2 run imu imu_node --ros-args --param port_name:=/dev/ttyUSB0
ros2 topic echo /imu/dataroslaunch imu imu_view.launch port_name:=/dev/ttyUSB0

ros2 launch imu imu_view.launch.py port_name:=/dev/ttyUSB0

1. Click to download 10_DOF_ROS_IMU_(A) Code
2. Please install the related libraries and then run the demo. For the ROS demo, please compile and use it on the ROS system
Monday-Friday (9:30-6:30) Saturday (9:30-5:30)
Email: services01@spotpear.com