Skip to content

nusrobomaster/uart_tutorial

Repository files navigation

Instructions

  • raw_imu_data.hex contains the raw bytes read from the IMU sensor over serial port.
  • Implement CJY901::CopeSerialData to parse the bytes, according to the pdf datasheet given.

Save Raw Bytes from /dev/USB0 to file

stty -F /dev/ttyUSB0 raw # Set to read raw bytes without manipulation
cat /dev/ttyUSB0 > raw_imu_data.hex # dump to file

About

Practice to Parse Raw UART Data Robustly, using JY901 IMU Sensor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published