How to use GY-521 3-Axis Acceleration gyroscope Module using Arduino Uno - KT985

SKU KT985

Arduino IDE 1.8.5 (programmable platform for Arduino) This simple module contains everything required to interface to the Arduino and other controllers via I2C (use the Wire

₹1498.50

18% GST added at checkout

In stock

₹150 flat shipping, free over ₹3000

  • Pay by UPI: GPay, PhonePe, Paytm & BHIM (no gateway fees)
  • GST invoice on every order
  • Payment confirmed by us before dispatch (no auto-charge)
  • Dispatched in 2–4 working days from Agra, Uttar Pradesh.

Buying for a school or in bulk? Ask us for institutional pricing. Get a quote

About this product

KIT INCLUDED:

Arduino Uno with USB Cable - 1

GY-521 3 axis acceleration Gyroscope 6DOF Module- 1

Breadboard 400 points – 1

Jumper wires (male to male) – 40 pcs

9v Battery - 1

Snapper with DC jack - 1

HARDWARE REQUIRED

Arduino Uno with USB Cable - 1

GY-521 3 axis acceleration Gyroscope 6DOF Module- 1

Breadboard 400 points – 1

Jumper wires (male to male) – 40 pcs

9v Battery - 1

Snapper with DC jack - 1

SOFTWARE REQUIRED Arduino IDE 1.8.5 (programmable platform for Arduino) Click To Download :https://www.arduino.cc/en/Main/Software

SPECIFICATIONS GY-521 3-AXIS ACCELERATION GYROSCOPE MODULE

Accelerometer ranges: ±2, ±4, ±8, ±16g

Gyroscope ranges: ± 250, 500, 1000, 2000 °/s

Voltage range: 3.3V - 5V (the module include a low drop-out voltage regulator)

This simple module contains everything required to interface to the Arduino and other controllers via I2C (use the Wire Arduino library) and give motion sensing information for 3 axes - X, Y and Z.

PIN DESCRIPTION GY-521 3-AXIS ACCELERATION GYROSCOPE MODULE

With this module, you can measure:

acceleration (= speed of movements) in three directions x, y, z;

a rotation or an angles (in three directions);

orientation

VCC (The breakout board has a voltage regulator. Therefore, you can connect the board to 3.3V and 5V sources.)

GND

SCL (Serial Clock Line of the I2C protocol.)

SDA (Serial Data Line of the I2C protocol.)

XDA (Auxiliary data => I2C master serial data for connecting the module to external sensors.)

XCL (Auxiliary clock => I2C master serial clock for connecting the module to external sensors.)

AD0 (If this pin is LOW, the I2C address of the board will be 0x68. Otherwise, if the pin is HIGH, the address will be 0x69.)

INT (Interrupt digital output)

CIRCUIT CONNECTION The accelerometer measures the acceleration along one direction, while the gyroscope measures the angular acceleration on one axis. Connections:

VCC -> 3.3 V / 5 V (better)

GND -> GND

SCL -> A5

SDA -> A4

XDA -> NC

XCL -> NC

ADO -> NC

INT -> NC

LIBRARIES REQUIRED I2Cdev wire

Click to download https://drive.google.com/open?id=1V2hVX9eyigevA7h-loAFQ7-FQQ1EaFFP Or you can install it from IDE Sketch -> Include Library -> Manage Library -> Search for Wire

MPU6050

https://drive.google.com/open?id=1s7HN8meiyiXsmQlC9P-Sj97hO21Nk8jh Or you can install it from IDE Sketch -> Include Library -> Manage Library -> Search for MPU6050

CODE Click to see the code: https://drive.google.com/open?id=1TejkQKfUZGZMpTocmAMuy5Jk5KXFSOf2aYPkEIYZkUY

WORKING Welcome to the Arduino Based Project which includes GY-521 MPU6050. The analogic pins are not set on INPUT because it's their default setting. The values read by the analogic pins will be sent to the serial port. Now, to view the output open the Serial Monitor, move the sensor and try to see how the values change. Accelerometers can be used for fun projects, for example to realize a game controller and many more applications.

More in Arduino Boards

You might also need