Welcome to 10-axis IMU Navigation Module repository
3.1 Raspberry Pi-USB application
Raspberry Pi-USB application routines
Raspberry Pi-USB application routines1. Hardware connection2. Software programming3. Install the serial port driver library4. Experimental effect
Products that need to be prepared: Win10 computer, IMU module, Type-C data cable, Raspberry Pi development kit.
1. Hardware connection
Use the Type-C data cable to connect the IMU module and the USB port of the Raspberry Pi.

2. Software programming
For specific code, please see the source code in the information.
If more than one USB device is connected, please check and confirm the USB device number of the IMU module, and modify the value of port.
The USB baud rate baud=9600 has been set in the program, and the baud value is modified according to the baud rate of the IMU module.

3. Install the serial port driver library
If the serial serial port driver library is not installed in Python3, please run the following command to install it.
pip3 install pyserial4. Experimental effect
Import the imu_usb.py file into the system, open the terminal, enter the corresponding folder, and then run the following command:
xxxxxxxxxxpython3 imu_usb.pyIt can be seen that the terminal has been printing the data of the IMU module. When the posture of the IMU module is changed, the data will change accordingly.
