Professional Documents
Culture Documents
Presentation MEMS
Presentation MEMS
Presentation MEMS
Submitted To:
Dr. Farooq Ahmad
Submitted By:
Hamza. 2022-MSEE-04
Naeem 2022-MSEE-08
Farooq 2022-MSEE-13
Zeeshan 2022-MSEE-50
Arduino
Arduino is an open-source hardware and software platform.
The Arduino platform includes:-
Microcontroller board
Integrated development Environment (IDE) for programming the board
What is IMU
An Inertial Measurement Unit (IMU)
A device that can measure and report specific gravity and angular rate of
an object to which it is attached.
mpu.getMotion6(&ax, &ay,
&az, &gx, &gy, &gz);
data.X = map(ax, -17000, // X axis data
17000, 0, 255 );
data.Y = map(ay, -17000,
17000, 0, 255);
data.Z = map(az, -
17000, 17000, 0, 255); // Y axis data
Code – (Main Loop and print the data)
float ax_g = ax / 16384.0; //Main Loop to run the program
float ay_g = ay / 16384.0; logic