An Arduino embedded robotics system where a wearable MPU6050 glove drives a physical articulated robotic arm over nRF24L01 telemetry.
Physical Actuation Video · Hardware Bench · Glove Wiring · Arm Wiring
Wearable motion → IMU orientation → RF command → bounded motion control → physical arm actuation
The complete system combines an Arduino Nano based glove transmitter, MPU6050 sensing, nRF24L01 radio telemetry, an Arduino Uno receiver, PCA9685 PWM generation, and SG90 / MG996R servo actuation.
Important
Evidence boundary: physical arm actuation, hardware bench photography, and a continuous 22 second demonstration are committed in this repository. Quantitative end to end control latency and repeatability measurements are still open and are not inferred from the video.
The looping demonstration shows the wearable controller driving the physical arm in real time.
Full continuous take: physical_actuation_evidence.mp4
The full video is a continuous uncut hardware demonstration showing live glove input, RF control, and arm response.
| Surface | Evidence | Status |
|---|---|---|
| Physical arm actuation | GIF, continuous video, bench photography | ✅ Verified |
| Wearable control path | MPU6050 transmitter firmware and hardware | ✅ Implemented |
| RF telemetry | nRF24L01 transmitter and receiver path | ✅ Implemented |
| Servo motion control | PCA9685 output with bounded joint commands | ✅ Implemented |
| Joint safety limits | Explicit base, shoulder, elbow, and gripper bounds | ✅ Implemented |
| Lost link behavior | 1 second watchdog with failsafe park target | ✅ Implemented |
| Motion smoothing | Per joint velocity limits and exponential approach | ✅ Implemented |
| IK helper | Two link planar inverse kinematics with workspace rejection | ✅ Implemented |
| Firmware verification suite | Velocity, watchdog, clamping, deadband, and IK test coverage | ✅ Present |
| End to end latency | Instrumented measurement | ◐ Pending |
| Physical repeatability | Repeated measured endpoint behavior | ◐ Pending |
Wearable glove movement
│
▼
MPU6050
accelerometer + gyroscope
│
▼
Complementary filter
alpha = 0.96
│
▼
Pitch / roll mapping
with ±3 degree dead zone
│
▼
nRF24L01 transmitter
│
│ 2.4 GHz command stream
▼
nRF24L01 receiver
│
▼
Joint bounds + motion profile
│
├── velocity limits
├── deadband
├── watchdog
└── failsafe park
│
▼
PCA9685 at 50 Hz
│
▼
Base · Shoulder · Elbow · Gripper
The control loop runs at 50 Hz on both the transmitter and receiver side.
The glove reads accelerometer and gyroscope data from the MPU6050 and combines them with a complementary filter:
COMP_FILTER_ALPHA = 0.96
A configurable ±3 degree dead zone suppresses small hand tremors around the neutral orientation.
The receiver clamps every incoming joint target to explicit software bounds before commanding the servos.
| Joint | Allowed range |
|---|---|
| Base | 0° to 180° |
| Shoulder | 30° to 150° |
| Elbow | 0° to 160° |
| Gripper | 30° open to 120° closed |
The receiver limits joint movement on each 20 ms control tick.
| Joint | Maximum configured rate |
|---|---|
| Base | 100°/s |
| Shoulder | 90°/s |
| Elbow | 110°/s |
| Gripper | 200°/s |
An exponential approach factor of 0.22 slows the command near the target and reduces abrupt motion.
If no valid radio packet is received for 1000 ms, the receiver enters a lost link state and moves the arm toward configured home coordinates using a reduced failsafe park rate.
A two link planar inverse kinematics helper is available for Cartesian positioning.
Configured link lengths:
L1 = 120 mm
L2 = 100 mm
Targets outside the reachable workspace are rejected instead of producing an invalid solution.
src/transmitter/transmitter.ino
Responsibilities:
- read MPU6050 accelerometer and gyroscope data
- estimate pitch and roll
- apply dead zone filtering
- map orientation into control commands
- transmit a compact packet over nRF24L01
- report transmission telemetry over Serial
Configuration:
Responsibilities:
- receive RF control packets
- enforce mechanical joint bounds
- smooth target motion
- drive the PCA9685 servo controller
- enter failsafe park behavior after radio timeout
- expose joint diagnostics
- provide the planar IK helper
Configuration:
The physical arm uses a 3D printed parallel linkage frame with a base turntable, servo driven joints, and an end effector gripper.
The wearable side combines the Arduino Nano, MPU6050, and nRF24L01 radio.
| Component | Purpose | Qty |
|---|---|---|
| Arduino Uno | Arm receiver and controller | 1 |
| Arduino Nano | Wearable transmitter | 1 |
| MPU6050 | Six axis orientation sensing | 1 |
| nRF24L01 | 2.4 GHz radio telemetry | 2 |
| PCA9685 | 16 channel PWM servo control | 1 |
| SG90 / MG996R | Base, shoulder, elbow, gripper actuation | 4 |
| 3D printed arm | Parallel linkage mechanical frame | 1 |
| 5 V bench supply | Dedicated servo power rail | 1 |
| 470 µF + 100 µF capacitors | Servo rail decoupling | 2 |
| Wearable glove | Sensor mounting platform | 1 |
The servo rail is powered from a dedicated external 5 V supply rather than from the microcontroller regulator.
All control electronics share a common ground.
This matters because servo reversals and startup current can cause voltage sag severe enough to reset a microcontroller if actuator power is not separated properly.
The committed bench design includes rail decoupling and a dedicated actuator supply.
tests/test_firmware_motion_engine.py mirrors critical receiver behavior in Python and covers:
- strict velocity limiting
- deceleration behavior near the target
- radio timeout and failsafe state transition
- joint angle clamping
- reachable and unreachable IK workspace cases
This suite validates software behavior. It is not treated as a substitute for physical measurement.
Use:
Power the PCA9685 servo rail from a dedicated 5 V supply and connect the grounds between the servo supply and control electronics.
The transmitter and receiver both use:
#define RF_CHANNEL 100The transmitter filter configuration includes:
#define COMP_FILTER_ALPHA 0.96f
#define DEAD_ZONE_PITCH 3.0f
#define DEAD_ZONE_ROLL 3.0fFlash:
src/transmitter/transmitter.inoto the Arduino Nanosrc/receiver/receiver.inoto the Arduino Uno
Open the serial monitor to inspect radio and joint telemetry.
gesture-controlled-robotic-arm/
├── src/
│ ├── transmitter/
│ │ ├── transmitter.ino
│ │ └── config.h
│ └── receiver/
│ ├── receiver.ino
│ └── config.h
├── tests/
│ └── test_firmware_motion_engine.py
├── docs/
│ ├── wiring/
│ │ ├── transmitter-wiring.md
│ │ └── receiver-wiring.md
│ ├── images/
│ │ ├── robotic_arm_hardware_bench.jpg
│ │ ├── gesture-glove.png
│ │ ├── arm-and-glove.png
│ │ ├── electronics-overview.jpg
│ │ └── robotic-arm-assembly.jpg
│ └── media/
│ ├── gesture_arm_demo.gif
│ └── physical_actuation_evidence.mp4
├── CONTRIBUTING.md
├── RELEASE_READINESS.md
├── RELEASE_NOTES_DRAFT.md
├── LICENSE
└── README.md
- instrument and publish end to end glove to actuator latency
- measure joint and endpoint repeatability across repeated commands
- publish calibrated servo error measurements
- extend physical failsafe validation under controlled radio loss
- preserve reproducible hardware evidence for future firmware changes
Contributions are useful in:
- firmware and motion control
- reproducible RF and latency benchmarking
- servo calibration
- safety and watchdog behavior
- wiring documentation
- physical measurement tooling
- automated verification
See CONTRIBUTING.md.
The repository includes RELEASE_READINESS.md and RELEASE_NOTES_DRAFT.md.
Any release should preserve the same evidence boundary used throughout the project. Physical actuation may be claimed from the committed hardware evidence. Quantitative latency, accuracy, and repeatability should remain excluded until measured.
MIT. See LICENSE.
Built by Vivek Vala
Physical robotics · Embedded control · Evidence driven engineering




