- The IMUs are navigational electronic devices comprising of accelerometers, gyroscopes, and sometimes magnetometers. wikipedia
- Spacecrafts
- Airplanes
- Submarines
- Satellites
- UAVs
- Smartphones (e.g changing screen orientation by tilting the phone)
Working Mechanism - (https://www.arrow.com/)
IMUs can measure a variety of factors, including speed, direction, acceleration, specific force, angular rate, and (in the presence of a magnetometer), magnetic fields surrounding the device.
-
- measures velocity and acceleration
-
- measures rotation and rotational rate
-
- establishes cardinal direction (directional heading)
IMUs combine input from several different sensor types in order to accurately output movement.
void setup() {
//put your CSV headers here, so they are written once.
// example: timestamp, x, y, z
}
void loop() {
// create a comma-separated string with x, y, and z acceleration values in m/s2 and use the built-in millis() function as a timestamp
}Then copy the output of the serial monitor to a file and save the file with a .csv extension. Then load the csv file into excel and plot the data.