Skip to content

About

A collection of Arduino Uno projects using the MPU6050 motion sensor and OLED display, featuring tilt measurement, motion direction detection, step counting, fall detection, and a multi-page sensor dashboard for real-time motion monitoring and visualization.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Arduino-MPU6050-Projects

Arduino Uno projects using the MPU6050 Accelerometer and Gyroscope Sensor along with OLED Displays, Push Buttons, and Buzzers for motion sensing, orientation detection, activity monitoring, and real-time visualization applications.

1. Objective

The objective of this repository is to develop practical Arduino-based motion sensing and monitoring applications using the MPU6050 sensor and OLED display. These projects demonstrate tilt measurement, motion direction detection, fall detection, step counting, and real-time sensor dashboards using embedded systems and motion tracking technologies.


2. Components Used

Hardware Components

  • Arduino Uno
  • MPU6050 Accelerometer and Gyroscope Sensor
  • OLED Display (SSD1306 I2C)
  • Push Button
  • Active Buzzer Module
  • Breadboard
  • Jumper Wires

Software Components

  • Arduino IDE
  • Adafruit SSD1306 Library
  • Adafruit GFX Library
  • Wire Library

3. Circuit Diagram

The projects use different combinations of the following modules.

OLED Display

OLED Pin Arduino Uno
VCC 5V
GND GND
SDA A4
SCL A5

MPU6050 Sensor

MPU6050 Pin Arduino Uno
VCC 5V
GND GND
SDA A4
SCL A5

Push Button

Button Pin Arduino Uno
One Pin D2
Other Pin GND

Buzzer Module

Buzzer Pin Arduino Uno
S D8
VCC 5V
GND GND

4. Code Explanation

This repository contains the following Arduino projects:

MPU6050 Bubble Level

Uses tilt angle measurements from the MPU6050 to create a digital spirit level. The OLED displays pitch and roll information along with a moving bubble animation similar to a physical spirit level.

MPU6050 Motion Direction Detector

Detects movement direction using accelerometer data and displays Forward, Backward, Left, or Right directions along with directional arrows on the OLED display.

MPU6050 Fall Detection System

Monitors acceleration values continuously to detect sudden changes that indicate a fall. A buzzer alarm is activated and the OLED displays a fall warning message while maintaining a fall counter.

MPU6050 Step Counter

Uses MPU6050 motion data to detect walking activity and count steps in real time. The OLED displays the current step count and motion status.

MPU6050 Sensor Dashboard

A professional multi-page dashboard that displays acceleration values, tilt angles, activity status, step count, and fall count. A push button is used to switch between dashboard pages.


5. Output Images

MPU6050 Bubble Level

WhatsApp Image 2026-06-21 at 7 08 47 AM WhatsApp Image 2026-06-21 at 7 08 47 AM (1)

MPU6050 Motion Direction Detector

WhatsApp Image 2026-06-21 at 7 08 48 AM WhatsApp Image 2026-06-21 at 7 08 47 AM

MPU6050 Fall Detection System

WhatsApp Image 2026-06-21 at 7 08 48 AM

MPU6050 Step Counter

WhatsApp Image 2026-06-21 at 7 08 48 AM (2) WhatsApp Image 2026-06-21 at 7 08 48 AM (1)

MPU6050 Sensor Dashboard

WhatsApp Image 2026-06-21 at 7 08 50 AM (2) WhatsApp Image 2026-06-21 at 7 08 50 AM (1) WhatsApp Image 2026-06-21 at 7 08 50 AM WhatsApp Image 2026-06-21 at 7 08 49 AM

6. Learning Outcome

After completing these projects, learners will be able to:

  • Interface the MPU6050 sensor with Arduino Uno using I2C communication.
  • Read accelerometer and gyroscope data from the MPU6050.
  • Calculate pitch and roll angles for orientation detection.
  • Develop digital spirit level applications.
  • Detect movement direction using sensor data.
  • Implement step counting algorithms using motion sensing.
  • Design fall detection and alert systems.
  • Create real-time OLED dashboards for sensor visualization.
  • Develop motion monitoring and activity tracking applications.
  • Apply embedded systems concepts to practical motion sensing projects.

Arun Roshan

About

A collection of Arduino Uno projects using the MPU6050 motion sensor and OLED display, featuring tilt measurement, motion direction detection, step counting, fall detection, and a multi-page sensor dashboard for real-time motion monitoring and visualization.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages