Robot Operating System (ROS) makes integration of sensors such as the SparkFun 9DoF Razor IMU M0 straightforward.
About the SparkFun 9DoF Razor IMU M0
The SparkFun 9DoF Razor IMU M0 combines a SAMD21 microprocessor with an MPU-9250 9DoF (9 Degrees of Freedom) sensor to create a tiny, reprogrammable, multipurpose IMU (Inertial Measurement Unit). It can be programmed to monitor and log motion, transmit Euler angles over a serial port or even act as a step-counting pedometer.
The 9DoF Razor’s MPU-9250 features three 3-axis sensors—an accelerometer, gyroscope and magnetometer—that give it the ability to sense linear acceleration, angular rotation velocity and magnetic field vectors. The onboard microprocessor, Atmel’s SAMD21, is an Arduino-compatible, 32-bit ARM Cortex-M0+ microcontroller also featured on the Arduino Zero and SAMD21 Mini Breakout boards.
In addition to a pair of ICs, the 9DoF Razor IMU includes a µSD card socket, LiPo battery charger, power-control switch, and a host of I/O breakouts for project expansion. It comes preprogrammed with example firmware and an Arduino-compatible bootloader, so you can customize the firmware and flash new code over a USB connection.
When building a robot, designing, planning and selecting sensors and parts for the build are crucial to success of the overall project. In the Valify robot project, one of the sensors that is needed is an Inertial Measurement Unit (IMU) which will be used for different things on this robot, For example it will be used as a tilt-sensor on all axis. Making it possible to now how much the robot are tilting on different axis.