ENGR351 Micro Controllers Homework 6: Accelormeter (MPU 6050) and the I2C protocol
Name: Aaron K. Toledo Email: aktoledo@fortlewis.edu
1. Homework 6: Accelormeter (MPU 6050) and the I2C protocol
2. Introduction
For this assignment we used an Arduino To control LCDs with multiple
temperature sensors.
3. Materials and Methods
- Wire
- Breadboard
- Arduino Uno
- MPU6050 Accelormeter
- Computer
4. Results
Task 1 and Task 2 Accelormeter (Display X, Y, Z)
Gyroscope (Display X, Y, Z)
Figure
1: Code used to complete Task 1.
Figure 2: Acceleration in x.
Figure 3: Acceleration in y. Figure 4: Acceleration in z.
Video 1: Serial plotter, displaying accelormeter data in x, y, and z.
Task 3: Scroll
Figure 5: Code used to control gyroscope.
Figure 6: Orientation in x .
Figure 7: Orientation in y.
Figure 8: Orientation in z.
Video 2: Serial plotter, displaying gyroscope data in x, y, and z.
5. Discussion
Homework 6 completed and video show each task being executed properly.