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.
What is inside
Pitch and roll turned into a moving bubble, exactly like a physical spirit level.
Reads the accelerometer and calls the movement Forward, Backward, Left or Right with arrows on screen.
Watches for the sudden acceleration signature of a fall, sounds the alarm and keeps a fall counter.
Detects the walking rhythm in the motion data and counts steps in real time.
Acceleration, tilt angles, activity state, step count and fall count across pages you switch with a button.
Circuit connections
| Connection | Arduino pin |
|---|---|
| MPU6050 SDA / SCL | A4 / A5 |
| OLED SDA / SCL | A4 / A5 |
| Push button | D2 to GND |
| Buzzer S | D8 |
| Module power | 5V + 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.hGet 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,499eARgle Assistive Technology Kit — everything needed, boxed, with the quick-start card and reference sketches.
Add kit to cartOption 2 — Individual components
₹1,173The full parts list is ₹1,173 for all 7 items. Add them all at once, or pick single items from the list below.
- Arduino Uno R3 Compatible Board with USB CableCB-UNO-R3₹499Add to cart
- MPU6050 Six-Axis Gyroscope and AccelerometerCS-MPU6050₹149Add to cart
- 0.96 inch OLED Display 128×64 I2C (SSD1306)CD-OLED-096₹199Add to cart
- Tactile Push Button Pack with Caps (25 Pieces)CA-BTN-PACK₹69Add to cart
- Active and Passive Buzzer PairCA-BUZZ₹49Add to cart
- 400 Point Solderless BreadboardCA-BB-400₹59Add to cart
- Jumper Wire Set 120 Pieces (M-M, M-F, F-F)CA-JUMPER-120₹149Add to cart
Already own the board or the display? Skip them — the sketches do not care where the parts came from.
From the bench
Source code
Every sketch on this page is open source. Clone it, change it, break it, tell us what you learned.
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.