Virtual Mars Explorer: 6WD Rover With 6DOF Arm & Meta Quest 2 VR Control
by EngBaqir in Circuits > Robots
172 Views, 4 Favorites, 0 Comments
Virtual Mars Explorer: 6WD Rover With 6DOF Arm & Meta Quest 2 VR Control
This advanced Mars Rover project combines a heavy-duty 6WD off-road chassis with a 6DOF (Six Degrees of Freedom) robotic arm, all controlled via an ESP32 microcontroller. The highlight of this project is the immersive control system; we developed a web-based interface that allows users to pilot the rover and operate the arm using a Meta Quest 2 VR headset for a true "mission control" experience.
This project was designed and implemented by students from the Middle Technical University (MTU) in Iraq, Department of Space Engineering.
Supplies
To build this rover, you will need the following components:
- Mechanical Chassis: Black 6WD Car Chassis Damping Off-road.
- Robotic Arm: Aluminium Robot 6DOF Arm Claw Mount Kit.
- Microcontroller: ESP32 DevKit V1.
- Motor Drivers (3x): L298N (to control 6 DC motors).
- Power System: * LiPo Battery (3S 11.1V).
- Buck Converter (Step-down module to 6V).
- Sensors: * Ultrasonic Sensor HC-SR04 (Obstacle avoidance).
- DHT11 (Temperature and Humidity monitoring).
- Control System: Meta Quest 2 VR Headset.
Mechanical Assembly (Chassis & Arm)
We divided the assembly into two main mechanical parts:
- 6WD Chassis: Assemble the six motors onto the damping frame. Ensure the suspension system moves freely to handle rough terrain.
- 6DOF Arm: Assemble the aluminum brackets for the arm. Install the MG996R servos into the joints.
- Final Mounting: Secure the robotic arm base to the front/center of the chassis. This ensures a good range of motion for the claw while maintaining the rover's center of gravity.
Watch the full mechanical assembly video here:
Black 6WD Car Chassis Damping Off-road
Aluminium Robot 6DOF Arm Claw Mount Kit
Electronics and Wiring Diagram
- Component Mounting: Secure the ESP32, L298N drivers, and the Buck Converter inside a protective housing on top of the chassis.
- Wiring: Connect the PWM pins from the ESP32 to the motor drivers and servos according to the diagram.
- Common Ground: Double-check that all components share a single Ground (GND) line to prevent signal interference or erratic motor behavior.
MARS ROVER 6WD - ESP32 WIRING LIST
- MOTOR DRIVER 1 (FRONT)
- Right Motors (IN1): ESP32 GPIO 26
- Right Motors (IN2): ESP32 GPIO 25
- Left Motors (IN3): ESP32 GPIO 33
- Left Motors (IN4): ESP32 GPIO 32
- MOTOR DRIVER 2 (MIDDLE)
- Right Motors (IN1): ESP32 GPIO 14
- Right Motors (IN2): ESP32 GPIO 27
- Left Motors (IN3): ESP32 GPIO 12
- Left Motors (IN4): ESP32 GPIO 13
- MOTOR DRIVER 3 (BACK)
- Right Motors (IN1): ESP32 GPIO 19
- Right Motors (IN2): ESP32 GPIO 18
- Left Motors (IN3): ESP32 GPIO 5
- Left Motors (IN4): ESP32 GPIO 17
- ULTRASONIC SENSOR (HC-SR04)
- VCC: ESP32 5V (or External 5V)
- Trig: ESP32 GPIO 4
- Echo: ESP32 GPIO 16
- GND: ESP32 GND
- TEMP/HUM SENSOR (DHT11)
- VCC: ESP32 3.3V
- Data: ESP32 GPIO 23
- GND: ESP32 GND
- ROBOT ARM CONTROLLER (PCA9685 I2C)
- VCC: ESP32 5V
- GND: ESP32 GND
- SDA: ESP32 GPIO 21
- SCL: ESP32 GPIO 22
- V+ (Terminal): External 5V/6V High Current Battery (for Servos)
Power Management
Managing power is critical for a rover with 6 DC motors and 6 servos.
- Voltage Calibration: Use a multimeter to adjust the Buck Converter output to exactly 6V before connecting it to the ESP32 or servos.
- Current Distribution: The 6V output powers the servos and the ESP32. The L298N motor drivers are connected directly to the 11.1V LiPo battery to provide maximum torque for the 6WD wheels.
- Safety: Ensure a common ground (GND) between the battery, the buck converter, and the ESP32.
Coding and Web Interface (ESP32)
The ESP32 acts as a Web Server, hosting a control dashboard accessible via any browser, including the Meta Quest browser.
Downloads
Step 6: VR Integration (Meta Quest 2)
To experience the rover's mission in VR:
- Connect: Put on your Meta Quest 2 and connect to the WiFi network "MTU_Mars_Rover_VR".
- Launch: Open the Oculus Browser inside the headset and type the IP address: 192.168.4.1.
- Command: The "Mission Control" interface will appear as a massive virtual screen. Use the Quest Touch Controllers to interact with the buttons.
- Telemetry: Monitor temperature and distance data live as you explore your surroundings.
Downloads
Conclusion
This project demonstrates the synergy between space engineering concepts, robotics, and VR technology. Special thanks to our colleagues at the Middle Technical University for their support. This rover is just the beginning of our journey into advanced space exploration robotics!