Y-AXIS ACCEL · REGISTER 0x3DZXYHAND TILTMPU-6050SDASCLARDUINOUNOREDGREEN
FIG. 01Schematic of the first controller prototype: the MPU-6050 read by an Arduino Uno over I²C, with red and green tilt LEDs.

01Problem and solution

Problem

Scouting rough paths, or carrying small tools across grass and gravel, while the operator stays on firm ground.

Solution

A glove with a motion sensor that turns hand tilt into steering for a small rover with treaded wheels, linked wirelessly by two ESP32 boards.

02How it works

  1. Glove controller

    An MPU-6050 motion sensor measures hand tilt, and an ESP32 on the glove sends it over ESP-NOW.

  2. Rover

    A second ESP32 receives the tilt and steers through a motor driver, drive motors and treaded wheels, with a rechargeable battery and a small cargo bay on a 3D-printed chassis.

03How I built it

  1. Controller prototype

    Read hand tilt from an MPU-6050 on an Arduino Uno over I²C, with a red or green LED showing which way the hand tilted.

  2. Build the rover and go wireless

    3D-printed the chassis and fitted the motor driver, drive motors, treaded wheels, rechargeable battery and cargo bay. An ESP32 on the glove sends the tilt over ESP-NOW to a second ESP32 on the rover.

  3. Test on rough ground

    Drove the rover with the glove on both grass and gravel.

04Technical details

  • The prototype wakes the MPU-6050 over I²C, checking both of its possible addresses (0x68 and 0x69), and reports clearly if the sensor does not respond.
  • It reads raw Y-axis acceleration directly from the sensor’s registers every 50 ms.

05Engineering areas

Embedded systems

Read motion data, send it between two ESP32 boards over ESP-NOW, and map hand tilt to steering.

Electronics

Sensor wiring, current-limiting resistors, and motor power design.

Mechanical design

3D-printed chassis, wheel traction, and battery and cargo placement.

06Real-world use

Applications

Scout rough paths or carry small tools across grass and gravel while the operator stays on firm ground.

07Code excerpt

MPU.cppArduino C++
bool readAccelerationY(int16_t &ay) {
  if (mpuAddress == 0) return false;

  Wire.beginTransmission(mpuAddress);
  Wire.write(0x3D);  // First byte of Y acceleration
  if (Wire.endTransmission(false) != 0 ||
      Wire.requestFrom(mpuAddress, uint8_t(2)) != 2) {
    return false;
  }

  uint16_t high = Wire.read();
  uint16_t low = Wire.read();
  ay = static_cast<int16_t>((high << 8) | low);
  return true;
}
From the first controller prototype: reading the Y-axis acceleration straight from the MPU-6050’s registers over I²C.