Arduino UNO and MPU-6050 Based Motion Sensing System with I2C Interface
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an Arduino UNO, an MPU-6050 sensor, a 16x2 LCD, and an I2C module. The circuit is designed to interface the MPU-6050 sensor and the LCD with the Arduino UNO using the I2C protocol.
Component List
Arduino UNO
- Description: A microcontroller board based on the ATmega328P.
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
MPU-6050
- Description: A 6-axis motion tracking device that combines a 3-axis gyroscope and a 3-axis accelerometer.
- Pins: VCC, GND, SCL, SDA, XDA, XCL, AD0, INT
16x2 LCD
- Description: A 16x2 character LCD display.
- Pins: VSS, VDD, V0, RS, RW, E, D1, D0, D2, D3, D4, D6, D5, D7, A, K
I2C Module
- Description: A module that facilitates I2C communication.
- Pins: SCL, SDA, VCC, GND
Wiring Details
Arduino UNO
- 5V: Connected to VCC of MPU-6050 and VCC of I2C module
- GND: Connected to GND of I2C module
- A4: Connected to SDA of I2C module
- A5: Connected to SCL of I2C module
MPU-6050
- VCC: Connected to 5V of Arduino UNO and VCC of I2C module
I2C Module
- VCC: Connected to 5V of Arduino UNO and VCC of MPU-6050
- GND: Connected to GND of Arduino UNO
- SDA: Connected to A4 of Arduino UNO
- SCL: Connected to A5 of Arduino UNO
Documented Code
Arduino UNO Code
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Additional Documentation
This documentation provides a comprehensive overview of the circuit, including the components used, their wiring details, and the code for the Arduino UNO.