10 DOF IMU Sensor (D) User Manual
3
/
5
DEMO CODES
We provide three demo code for this module, which used for STM32, Raspberry Pi
and Arduino UNO separately.
STM32
The development board used herein is Waveshare Open103V.
1.
Download demo code to Open103V
(
keil project
)
2.
Connect UART module to Open103V and connect to PC, connect 10 DOF IMU
Sensor (D) to I2C-2 interface of Open103V(Note that Vcc to 3.3V, GND to GNDm
SCL to PB10, SDA to PA11 and FSYNC to NC).
3.
Serial port setting:
波特率
115200
数据位
8
停止位
1
奇偶校
验
无
After running the codes, data are printed to serial as below:
Unit of paratemeters: