Skip to content

Latest commit

 

History

History

Accelerometer

Project: GY-521 uses in Arduino

This program is simple illustration of GY-521 accelerometer and gyroscope module. It takes input form wire library and shows in serial moniter.

Step 1: Installation

To use this pice of code, download Arduino software and run this code. My code is tested on Arduino Uno and Mega.

install MPU6050_tockn by going sketch > Include Library > Manage Library

Step 2: Assemble the circuit

Assemble the circuit as given below

Circuit Diagram

Step 3: Load the code

Upload the code contained in this sketch on to your board

Folder structure

 Accelerometer                => Arduino sketch folder
  ├── Accelerometer.ino       => main Arduino file
  ├── layout.png              => Circuit Diagram
  └── README.adoc             => this file

License

This project is released under a License given in root directory. If you want to use any piece of code please cite me as given below

Note
P. K. Prasad, "Arduino Peripherals," 03-Feb-2019. [Online]. Available: https://github.com/Krprashant94/Arduino-Peripherals. [Accessed: 04-Feb-2019]

Contributing

To contribute this project please contact krprashant94 https://id.arduino.cc/krprashant94 or krprashant94 https://github.com/Krprashant94

BOM

Bill of the materials need for this project.

SL

Part name

Model

Quantity

1

acceleromete

GY-521

1

2

Arduino UNO

R3

1

3

Programming Cable

USB 2.0

1

Help

Fell free to contact me for help