MPU6050 Motion Sensing Pack

← All projects

Five builds on a six-axis accelerometer and gyroscope: a digital spirit level, a direction detector, a step counter, a fall-detection alarm and a multi-page sensor dashboard. This is the sensor behind most of our assistive wearables.

Assistive & MotionArduino UnoIntermediate5 builds in this pack
MPU6050 Motion Sensing Pack

What is inside

MPU6050 Bubble Level

Pitch and roll turned into a moving bubble, exactly like a physical spirit level.

Motion Direction Detector

Reads the accelerometer and calls the movement Forward, Backward, Left or Right with arrows on screen.

Fall Detection System

Watches for the sudden acceleration signature of a fall, sounds the alarm and keeps a fall counter.

Step Counter

Detects the walking rhythm in the motion data and counts steps in real time.

Sensor Dashboard

Acceleration, tilt angles, activity state, step count and fall count across pages you switch with a button.

Circuit connections

ConnectionArduino pin
MPU6050 SDA / SCLA4 / A5
OLED SDA / SCLA4 / A5
Push buttonD2 to GND
Buzzer SD8
Module power5V + GND

Bench note: Both the MPU6050 and the OLED sit on the same two I2C wires. That is normal — they have different addresses, so A4 and A5 are shared, not duplicated.

Libraries used

Wire.hAdafruit_GFX.hAdafruit_SSD1306.h

Get the parts

Two ways to build this, and you can choose either. Take the complete kit in one box, or buy only the individual components you are missing. Both use the normal shop cart.

Option 1 — Complete kit

₹5,499

eARgle Assistive Technology Kit — everything needed, boxed, with the quick-start card and reference sketches.

Add kit to cart

Option 2 — Individual components

₹1,173

The full parts list is ₹1,173 for all 7 items. Add them all at once, or pick single items from the list below.

Already own the board or the display? Skip them — the sketches do not care where the parts came from.

From the bench

MPU6050 Motion Sensing Pack build photoMPU6050 Motion Sensing Pack build photoMPU6050 Motion Sensing Pack build photoMPU6050 Motion Sensing Pack build photoMPU6050 Motion Sensing Pack build photo

Source code

Every sketch on this page is open source. Clone it, change it, break it, tell us what you learned.

View the code on GitHub

Want to be taught this, not just handed the code?

We run this as a mentor-led session for schools, colleges and individual learners, online or at our centre. Tell us what you want to build.

Contact us about teaching