Unit 2 - Motion
Lab 2D: Accelerometer
UCLA Physics Department
1
University of California, Los Angeles
Department of Physics and Astronomy
Physics 4AL
Outline of Lab 2D
UCLA Physics Department
2
Accelerometer Wiring
UCLA Physics Department
3
How the accelerometer works
UCLA Physics Department
4
Accelerometer Code
UCLA Physics Department
5
MPU-6050 Introduction
UCLA Physics Department
6
Installing Libraries
Installing Libraries
Installing Libraries
Install libraries (Important)
I2Cdev.zip > Open
MPU6050.zip > Open
UCLA Physics Department
10
Adding the Sensor
Accelerometer Calibration
UCLA Physics Department
12
Accelerometer axes
UCLA Physics Department
13
Calibration z axis
UCLA Physics Department
14
Calibration z axis
UCLA Physics Department
15
What do these values mean?
UCLA Physics Department
16
TA Checkpoint 2 - Accelerometer Calibration
UCLA Physics Department
17
y-axis –>
<– x-axis
Post-Lab Requirements for lab 2D