Make a Digital Protractor using MPU6050 Gyroscope Module and SG-90 servo Motor - KT579

SKU KT579

In this project, we will build a Digital Protractor using MPU6050 and Arduino. Here a servo motor is used to display the angle on a protractor image.

₹1798.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

DESCRIPTION

In this project, we will build a Digital Protractor using MPU6050 and Arduino. Here a servo motor is used to display the angle on a protractor image. The Servo motor shaft will rotate on a protractor image to indicate the angle which is also displayed on a 16xLCD display.

HARDWARE REQUIRED

Arduino Uno with USB cable-1

MPU6050 Gyroscope Module - 1

16X2 LCD Display -1

SG90-Servo Motor -1

Jumper wires (Male to Male & Male to Female) – 40 pcs each

10K Potentiometer – 1

830 Pt. breadboard – 1

170 pt. breadboard – 1

Single Stand wire 1mt - 1

SOFTWARE REQUIRED

Arduino IDE 1.8.5 (programmable platform for Arduino)

Click To Download: https://www.arduino.cc/en/Main/Software

LIBRARY REQUIRED

Servo

https://drive.google.com/open?id=1XEyFZik_ENYtE4LOf3mOP3kqfqH3FNh2

LCD 16*2 Display

https://drive.google.com/open?id=14CpOZPTgmPcHedB1oDqeTVFI4eMwMcf7

Wire

https://drive.google.com/open?id=1Ej-R75OikJAlHrj275zYvKNzDN3cm0zi

MPU6050

https://drive.google.com/open?id=1LiY4DTqVo6vXTd-re3vsjldu3bjaU3Wd

After downloading these libraries

To install the libraries - Go to sketch -> Include library -> add .zip library

CIRCUIT CONNECTION

Circuit Connections between Arduino UNO and MPU6050:

MPU6050

Arduino UNO

VCC

+5V

GND

GND

SCL

A5

SDA

A4

Circuit Connections between Arduino UNO and Servo Motor:

Servo Motor

Arduino UNO

RED (VCC)

+5V

ORANGE (PWM)

9

BROWN (GND)

GND

Circuit Connections between Arduino UNO and 16x2 LCD:

LCD

Arduino UNO

VSS

GND

VDD

+5V

V0

To Potentiometer Centre PIN

For Controlling the Contrast of the LCD

RS

12

RW

GND

E

11

D4

7

D5

6

D6

5

D7

4

A

+5V

K

GND

CODE

https://drive.google.com/open?id=1rsXReWi1u4AvQrBOCYIx7KVrEVSHnIOC

WORKING AND OUTPUT

Welcome to the Arduino-based project in which we are Making a digital protractor using the servo Motor and MPU6050 Accelerometer module. In the code Formula to calculate the x value in degrees (0 to 360) is given below. Here we convert only x because the servo motor rotation is based on x value movement.

x= RAD_TO_DEG * (atan2(-yAng, -zAng)+PI);

write the angle value to rotate the servo on the protractor image and Print those values on the 16x2 LCD. So, this is how MPU6050 with Arduino can be used to measure the angle.

Here servo motor is connected with Arduino and its shaft is projected on the protractor image indicating the angle of the inclined MPU6050

According to the orientation of the MPU 6050 module, we will see the inclination angle on the LCD as well servo motor along with a protractor image.

Try to move at different angles and check the degree rotation on LCD and Protractor.

More in Arduino Kits

You might also need