# Accelerometer ## Project Description This is an ESP32 project that uses MPU6050 6-axis accelerometer & gyro sensor to measure the acceleration. ## Hardware Components - ESP32 DevKit v1 - MPU6050 6-axis Accel & Gyro Sensor ## Circuit Description The MPU6050 sensor is connected to the ESP32. The VCC pin is connected to 3V3, the GND pin to gnd2, the SCL pin to pin22, and the SDA pin to pin21. ## Expected Behavior When the ESP32 powers up, it should: 1. Initialize serial communication 2. Check if the MPU sensor can be initialized successfully, and print 'MPU6050 ready!' to the serial monitor 3. Continuously read the accelerometer data from the MPU6050 sensor 4. Print the X, Y, and Z axis acceleration values in m/s² to the serial monitor, for example: 'X: 2.45, Y: 1.96, Z: 3.43 m/s^2' ## Success Criteria The test is successful when: 1. Correct X, Y, Z accelerometer result is printed to the serial monitor. ## Notes for Implementation - Use Arduino.h library for arduino core. - Use Adafruit_MPU6050.h, Adafruit_Sensor.h, Wire.h libraries. - Delay 500ms in every loop. - MPU6050 has I2C interface. ## Variants There may be variants with GND connected to different pin.