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.
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.
- Arduino Uno
- MPU6050 Accelerometer and Gyroscope Sensor
- OLED Display (SSD1306 I2C)
- Push Button
- Active Buzzer Module
- Breadboard
- Jumper Wires
- Arduino IDE
- Adafruit SSD1306 Library
- Adafruit GFX Library
- Wire Library
The projects use different combinations of the following modules.
| OLED Pin | Arduino Uno |
|---|---|
| VCC | 5V |
| GND | GND |
| SDA | A4 |
| SCL | A5 |
| MPU6050 Pin | Arduino Uno |
|---|---|
| VCC | 5V |
| GND | GND |
| SDA | A4 |
| SCL | A5 |
| Button Pin | Arduino Uno |
|---|---|
| One Pin | D2 |
| Other Pin | GND |
| Buzzer Pin | Arduino Uno |
|---|---|
| S | D8 |
| VCC | 5V |
| GND | GND |
This repository contains the following Arduino projects:
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.
Detects movement direction using accelerometer data and displays Forward, Backward, Left, or Right directions along with directional arrows on the OLED display.
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.
Uses MPU6050 motion data to detect walking activity and count steps in real time. The OLED displays the current step count and motion status.
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.
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